]> Untitled Git - bdk/commit
feat(chain)!: rm `local_chain::Update`
author志宇 <hello@evanlinjin.me>
Wed, 17 Apr 2024 02:02:12 +0000 (10:02 +0800)
committer志宇 <hello@evanlinjin.me>
Wed, 17 Apr 2024 02:57:50 +0000 (10:57 +0800)
commit77d35954c1f3a18f767267e9097f63ca11c709ec
tree8e72889422f70fcf18f421f3690f9c32f737705b
parent1269b0610efb7bd86d92a909800f9330568c797a
feat(chain)!: rm `local_chain::Update`

The intention is to remove the `Update::introduce_older_blocks`
parameter and update the local chain directly with `CheckPoint`.

This simplifies the API and there is a way to do this efficiently.
12 files changed:
crates/bdk/src/wallet/mod.rs
crates/bitcoind_rpc/tests/test_emitter.rs
crates/chain/src/local_chain.rs
crates/chain/tests/common/mod.rs
crates/chain/tests/test_local_chain.rs
crates/electrum/src/electrum_ext.rs
crates/esplora/src/async_ext.rs
crates/esplora/src/blocking_ext.rs
crates/esplora/src/lib.rs
crates/esplora/tests/async_ext.rs
crates/esplora/tests/blocking_ext.rs
example-crates/example_bitcoind_rpc_polling/src/main.rs