]> Untitled Git - bdk/commit
feat(chain)!: add `take` convenience method to `Append` trait
author志宇 <hello@evanlinjin.me>
Fri, 14 Jun 2024 15:21:19 +0000 (23:21 +0800)
committer志宇 <hello@evanlinjin.me>
Fri, 14 Jun 2024 16:52:23 +0000 (00:52 +0800)
commitfeb27df180938759670afd2c9cd15529a22c4772
tree2a27c5d657488e5a73a154d8b0bdc045daea25d8
parent1eca568be5bb0c234fa1cea2eb7f9424f60974eb
feat(chain)!: add `take` convenience method to `Append` trait

This is useful if the caller wishes to use the type as a staging area.

This is breaking as `Append` has a `Default` bound now.
crates/chain/src/tx_data_traits.rs
crates/wallet/src/wallet/mod.rs
example-crates/example_bitcoind_rpc_polling/src/main.rs