]> Untitled Git - bdk/commit
fix: remove deprecated `max_satisfaction_weight
authorJose Storopoli <jose@storopoli.io>
Sun, 10 Sep 2023 09:53:56 +0000 (05:53 -0400)
committerJose Storopoli <jose@storopoli.io>
Fri, 29 Mar 2024 09:27:39 +0000 (06:27 -0300)
commit798ed8ced25156049126645435127a22245e916f
tree3ca358078a4b14497af8acf41e2893c607fcbc33
parentb5557dce70495adfd8e0951a35509f48724dfa81
fix: remove deprecated `max_satisfaction_weight

- Change deprecated `max_satisfaction_weight` to `max_weight_to_satisfy`
- Remove `#[allow(deprecated)]` flags
- updates the calculations in TXIN_BASE_WEIGHT and P2WPKH_SATISFACTION_SIZE

Update crates/bdk/src/wallet/coin_selection.rs

Co-authored-by: ValuedMammal <valuedmammal@protonmail.com>
crates/bdk/src/wallet/coin_selection.rs
crates/bdk/src/wallet/mod.rs
crates/bdk/src/wallet/tx_builder.rs
crates/bdk/tests/wallet.rs