-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[local_chain] API improvements and simplifications
Thank you to @LLFourn for the suggestions. * `LocalChain::update` is now renamed back to `LocalChain::apply_update` and takes in a new struct `local_chain::Update` that combines a `CheckPoint` tip and a `introduce_older_blocks: bool`. This is because the boolean argument is determined by the chain source and not by the caller/user. * We've removed the premature optimization in `local_chain::merge_chains`. * Deriving `PartialEq`, `Eq`, `PartialOrd`, `Ord` for `CheckPoint` does not make much sense. They are removed for now. * Fix: bitcoind_rpc Cargo.toml: wrong bdk_chain version
- Loading branch information
1 parent
61e47a2
commit 25a9879
Showing
14 changed files
with
120 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.