bdk
bdk copied to clipboard
Rename `is_coin_base` to `is_coinbase`
rust-bitcoin v0.31.1 has deprecated is_coin_base and renamed to is_coinbase in https://github.com/rust-bitcoin/rust-bitcoin/pull/1796.
The functionality seems the same.
We are using the deprecated one in
https://github.com/bitcoindevkit/bdk/blob/3569acca0b3f3540e1f1a2278794eac4642a05e4/crates/chain/src/tx_graph.rs#L260-L262
https://github.com/bitcoindevkit/bdk/blob/3569acca0b3f3540e1f1a2278794eac4642a05e4/crates/bdk/src/wallet/mod.rs#L1695
Good suggestion!
A small change but I think we should push to 2.0 milestone.