fix(database): do not prune spent UTxOs in API storage mode
Signed-off-by: cryptodj413 <[email protected]>
Signed-off-by: cryptodj413 <[email protected]>
added: * github:input-output-hk/mithril/43ceb402b1f66fbf4e95f50cc0d5473cbfae09a3#mithril-client-cli * github:input-output-hk/mithril/43ceb402b1f66fbf4e95f50cc0d5473cbfae09a3#mithril-signer removed: * github:input-output-hk/mithril/7e5acd5a9758bbd46c3c8520be2f90fdfa246b8c#mithril-client-cli * github:input-output-hk/mithril/7e5acd5a9758bbd46c3c8520be2f90fdfa246b8c#mithril-signer
Signed-off-by: Chris Gianelloni <[email protected]>
Bumps [github.com/btcsuite/btcd/btcutil](https://github.com/btcsuite/btcd) from 1.1.6 to 1.2.0. - [Release notes](https://github.com/btcsuite/btcd/releases) - [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES) - [Commits](https://github.com/btcsuite/btcd/compare/btcutil/v1.1.6...btcutil/v1.2.0) --- updated-dependencies: - dependency-name: github.com/btcsuite/btcd/btcutil dependency-version: 1.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/blinklabs-io/plutigo](https://github.com/blinklabs-io/plutigo) from 0.1.11 to 0.1.13. - [Release notes](https://github.com/blinklabs-io/plutigo/releases) - [Changelog](https://github.com/blinklabs-io/plutigo/blob/main/RELEASE_NOTES.md) - [Commits](https://github.com/blinklabs-io/plutigo/compare/v0.1.11...v0.1.13) --- updated-dependencies: - dependency-name: github.com/blinklabs-io/plutigo dependency-version: 0.1.13 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [andrewslotin/go-proxy-pull-action](https://github.com/andrewslotin/go-proxy-pull-action) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/andrewslotin/go-proxy-pull-action/releases) - [Commits](https://github.com/andrewslotin/go-proxy-pull-action/compare/e5aea3b8b3478fc5b76befda4390513868ed2dc8...00af8a5a49c844d6dde0bbbc116b72d8fd7ae97c) --- updated-dependencies: - dependency-name: andrewslotin/go-proxy-pull-action dependency-version: 1.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/blinklabs-io/gouroboros](https://github.com/blinklabs-io/gouroboros) from 0.168.0 to 0.170.1. - [Release notes](https://github.com/blinklabs-io/gouroboros/releases) - [Changelog](https://github.com/blinklabs-io/gouroboros/blob/main/RELEASE_NOTES.md) - [Commits](https://github.com/blinklabs-io/gouroboros/compare/v0.168.0...v0.170.1) --- updated-dependencies: - dependency-name: github.com/blinklabs-io/gouroboros dependency-version: 0.170.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Chris Gianelloni <[email protected]>
Five derivable_impls: OutboundDecision, BehaviourSpec, BehaviourOutcome<E>, DecisionOutcome<T>, RbProductionStrategy all had manual Default impls picking a unit variant — replaced with #[derive(Default)] + #[default]. One type_complexity: Behaviour::decide_vote took and returned `Result<(bool, Option<Vec<u8>>), NoVoteReason>`, repeated four times across the trait, CompositeBehaviour, LazyVoter, and a test stub. Promoted to a public `VoteDecision` type alias next to NoVoteReason in leios.rs and updated every callsite. `cargo clippy -p shared-consensus --all-targets -- -D warnings` is now clean; 270 unit tests pass; net-rs still builds. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Mix of stale renames, unqualified type references inside nested modules, and one private-item link. cargo doc -p shared-consensus --no-deps is now warning-free. - praos.rs: parent_announced_eb → parent_announced_eb_for_cert (renamed at some point); qualify equivocating_rb_slots and note_header_first_seen with PraosState::; drop the link to the private LeiosState::decide_vote and point at the public ChainTipContext::equivocating_slots that actually carries the data. - leios.rs: [`EmitVote`] → [`LeiosEffect::EmitVote`]. - mempool.rs: [`get_body_by_id`] → [`MempoolState::get_body_by_id`]. - chain_tree.rs: [`select_chain_once`](super::consensus::praos) was wrong on both ends — fix to the real path crate::praos::PraosState::select_chain_once. - behaviour/mod.rs: inside `mod behaviours`, [`Behaviour`] resolves to nothing — use [`super::Behaviour`]; same for the [`decide_body_path`] cross-method link (use [`Self::decide_body_path`]); drop the redundant explicit link target on [`registry::build`]. - behaviour/behaviours/lazy_voter.rs: [`LeiosEffect::NoVote`] → [`crate::leios::LeiosEffect::NoVote`]. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
* feat(database): Made changes to optimize sqlite backfill address key lookup Signed-off-by: Akhil Repala <[email protected]> * feat(database): Added description for the tests Signed-off-by: Akhil Repala <[email protected]> * feat(database): Made changes to make sure it is consistent with SetTransactionBatched indexing of reference inputs for address_transaction Signed-off-by: Akhil Repala <[email protected]> --------- Signed-off-by: Akhil Repala <[email protected]>
README adds module entries for lottery / bitmap / fetch / mempool / production / behaviour, four flow-specific sequence diagrams (transactions, RBs, EBs, votes), an events-and-effects graph for MempoolState, and summary sections for the Behaviour and Fetch subsystems. CLAUDE picks up the new modules in the map and adds a Behaviours section pointing contributors at the subsystem README. src/behaviour/README.md is new: hook taxonomy (reactive / decision / strategy / notification), outcome enums, BehaviourHandle ownership, composition rules, registry shape (BehaviourSpec, build, swap_handle), outbound transforms, DelayQueue, shipped behaviours, and the recipe for adding a new one — all under the same determinism contract. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>