Summary
This release introduces a block-by-block API to bdk::Wallet and adds a RPC wallet example, improves performance of bdk_file_store::EntryIter, and simplifies Esplora::update_local_chain with additional tests. See release notes for all the details.
Changelog
Fixed
InsertTxError
now implementsstd::error::Error
. #1172- Simplified
EsploraExt::update_local_chain
logic. #1267
Changed
EntryIter
performance is improved by reducing syscalls. #1270- Changed to implement
ElectrumExt
for all that implementsElectrumApi
. #1306
Added
Wallet
methods to apply full blocks (apply_block
andapply_block_connected_to
) and a method to apply a batch of unconfirmed transactions (apply_unconfirmed_txs
). #1172CheckPoint::from_block_ids
convenience method. #1172LocalChain
methods to apply a block header (apply_header
andapply_header_connected_to
). #1172- Test to show that
LocalChain
can apply updates that are shorter than original. This will happen during reorgs if we sync wallet withbdk_bitcoind_rpc::Emitter
. #1172
What's Changed
- Introduce block-by-block API to
bdk::Wallet
and add RPC wallet example by @vladimirfomene in #1172 - fix(store): Remove lifetime by @LLFourn in #1292
- doc(wallet): improve docs for
Wallet::sent_and_received
by @ValuedMammal in #1285 - doc(esplora): fix broken link in README by @ValuedMammal in #1288
- doc(chain,esplora): minor documentation improvements by @ValuedMammal in #1291
- doc(electrum_ext): fix docs for `RelevantTxids::into_confirmation_tim… by @ValuedMammal in #1289
- fix(readme): update examples by @storopoli in #1277
- Remove deprecated checksum routines by @theStack in #1253
- Expose
SpkIterator::new_with_range
by @evanlinjin in #1294 - Improve performance of
bdk_file_store::EntryIter
by @evanlinjin in #1270 - chain: set
DEFAULT_LOOKAHEAD
to 25 by @yukibtc in #1296 - Fix
ConfirmationTime
conversion fromChainPosition
by @evanlinjin in #1301 - fix(file_store): rm lifetime from
FileError
by @evanlinjin in #1299 - doc(example_cli): add missing cli docs by @ValuedMammal in #1290
- doc(store): update doc for
Store::aggregate_changesets
by @ValuedMammal in #1287 - Filter duplicate coins before coin selection by @evanlinjin in #1279
- Simplify
Esplora::update_local_chain
and add tests by @evanlinjin in #1267 - Implement
ElectrumExt
for all that implementsElectrumApi
by @evanlinjin in #1306 - Bump version to 1.0.0-alpha.5 by @notmandatory in #1307
New Contributors
Full Changelog: v1.0.0-alpha.4...v1.0.0-alpha.5