]> Untitled Git - bdk/commit
feat(chain)!: Implement `ConfirmationBlockTime`
authorWei Chen <wzc110@gmail.com>
Mon, 1 Jul 2024 05:40:26 +0000 (13:40 +0800)
committerWei Chen <wzc110@gmail.com>
Mon, 8 Jul 2024 16:23:02 +0000 (00:23 +0800)
commit1a62488abfd6213c2780c1465aebe01dfbb6b20a
tree364358531da3118fe09986658fdace3bad997fe2
parente761adf48178e2688a817a2b7466b0ebf7902eeb
feat(chain)!: Implement `ConfirmationBlockTime`

Both `bdk_electrum` and `bdk_esplora` now report the exact block
that the transaction is in, which removes the need for having the
old `ConfirmationTimeHeightAnchor` and `ConfirmationHeightAnchor`.
This PR introduces a new, simpler anchor type that can be modified
to support additional data in the future.
17 files changed:
crates/chain/src/chain_data.rs
crates/chain/src/spk_client.rs
crates/chain/src/tx_data_traits.rs
crates/chain/tests/test_indexed_tx_graph.rs
crates/chain/tests/test_tx_graph.rs
crates/electrum/src/bdk_electrum_client.rs
crates/electrum/tests/test_electrum.rs
crates/esplora/src/async_ext.rs
crates/esplora/src/blocking_ext.rs
crates/esplora/src/lib.rs
crates/sqlite/src/store.rs
crates/wallet/src/wallet/export.rs
crates/wallet/src/wallet/mod.rs
crates/wallet/tests/common.rs
example-crates/example_bitcoind_rpc_polling/src/main.rs
example-crates/example_electrum/src/main.rs
example-crates/example_esplora/src/main.rs