-
Notifications
You must be signed in to change notification settings - Fork 438
Introduce redesigned bdk_chain structures
#926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
danielabrozzoni
merged 48 commits into
bitcoindevkit:master
from
evanlinjin:chain_redesign_tx_graph_anchor
Apr 28, 2023
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
5ae5fe3
[bdk_chain_redesign] Introduce `BlockAnchor` trait
evanlinjin 61a8606
[bdk_chain_redesign] Introduce `ChainOracle` and `TxIndex` traits
evanlinjin 43b648f
[bdk_chain_redesign] Add `..in_chain` methods
evanlinjin 784cd34
[bdk_chain_redesign] List chain data methods can be try/non-try
evanlinjin 6cbb18d
[bdk_chain_redesign] MOVE: `IndexedTxGraph` into submodule
evanlinjin d0a2aa8
[bdk_chain_redesign] Add `apply_additions` to `IndexedTxGraph`
evanlinjin db7883d
[bdk_chain_redesign] Add balance methods to `IndexedTxGraph`
evanlinjin 313965d
[bdk_chain_redesign] `mut_index` should be `index_mut`
evanlinjin e902c10
[bdk_chain_redesign] Fix `apply_additions` logic for `IndexedTxGraph`.
evanlinjin 236c50f
[bdk_chain_redesign] `IndexedTxGraph` keeps track of the last synced …
evanlinjin 3440a05
[bdk_chain_redesign] Add docs
evanlinjin 34d0277
[bdk_chain_redesign] Rm anchor type param for structs that don't use it
evanlinjin 468701a
[bdk_chain_redesign] Initial work on `LocalChain`.
evanlinjin 8c90617
[bdk_chain_redesign] Make default anchor for `TxGraph` as `()`
evanlinjin a1172de
[bdk_chain_redesign] Revert some API changes
evanlinjin a63ffe9
[bdk_chain_redesign] Simplify `TxIndex`
evanlinjin 7810059
[bdk_chain_redesign] `TxGraph` tweaks
evanlinjin c09cd2a
[bdk_chain_redesign] Added methods to `LocalChain`
evanlinjin a7eaebb
[bdk_chain_redesign] Add serde support for `IndexedAdditions`
evanlinjin 6e59dce
[bdk_chain_redesign] `chain_oracle::Cache`
evanlinjin 89cfa4d
[bdk_chain_redesign] Better names, comments and generic bounds
evanlinjin da4cef0
[bdk_chain_redesign] Introduce `Append` trait for additions
evanlinjin ddd5e95
[bdk_chain_redesign] Modify signature of `TxIndex`
evanlinjin 24cd8c5
[bdk_chain_redesign] More tweaks and renamings
evanlinjin bff80ec
[bdk_chain_redesign] Improve `BlockAnchor` docs
evanlinjin 611d2e3
[bdk_chain_redesign] Consistent `ChainOracle`
evanlinjin ee1060f
[bdk_chain_redesign] Simplify `LocalChain`
evanlinjin a7fbe0a
[bdk_chain_redesign] Documentation improvements
evanlinjin 7d92337
[bdk_chain_redesign] Remove `IndexedTxGraph::last_height`
evanlinjin 10ab77c
[bdk_chain_redesign] MOVE `TxIndex` into `indexed_chain_graph.rs`
evanlinjin 001efdd
Include tests for new updates of TxGraph
rajarshimaitra 81436fc
[bdk_chain_redesign] Fix `Anchor` definition + docs
evanlinjin 8e36a2e
[bdk_chain_redesign] Remove incomplete logic
evanlinjin 7175a82
[bdk_chain_redesign] Add tests for `TxGraph::relevant_heights`
evanlinjin 1003fe2
[bdk_chain_redesign] Test `LocalChain`
evanlinjin 6c49570
[bdk_chain_redesign] Rm `HashSet` from `TxGraph::relevant_heights`
evanlinjin 34a7bf5
[bdk_chain_redesign] Rm unnecessary code and premature optimisation
evanlinjin 03c1283
[bdk_chain_redesign] Revert changes to `SparseChain`
evanlinjin f3e7b67
[bdk_chain_redesign] Various tweaks and fixes
evanlinjin 165b874
[bdk_chain_redesign] Add test for `insert_relevant_txs`
evanlinjin ac336aa
[bdk_chain_redesign] Make `insert_relevant_txs` topologically-agnostic
evanlinjin ecc74ce
[bdk_chain_redesign] Docs for `is_mature` and `is_confirmed_and_spend…
evanlinjin 1b15264
[bdk_chain_redesign] Change `insert_relevant_txs` method
evanlinjin f101dde
[bdk_chain_redesign] Fix `tx_graph::Additions::append` logic
evanlinjin e536307
[bdk_chain_redesign] Fix `tx_graph::Additions::append` logic
evanlinjin 911af34
[bdk_chain_redesign] Fix calculation bugs.
rajarshimaitra 8cd0328
[bdk_chain_redesign] Implement `OwnedIndexer` for indexers
rajarshimaitra b799a57
[bdk_chain_redesign] Add tests for `IndexedTxGraph` with `LocalChain`
rajarshimaitra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.