You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deprecation notice should link to discussion in Another attempt at max_satisfaction_weight fixes #476 and explain that we redefined what bytes are counted by the method and that the new one will return a different value.
We should add a since=10.0.0 field to all the deprecations.
7fc7661 Deprecate across the board max_satisfaction_weight (Jose Storopoli)
Pull request description:
Adds a `since=10.0.0` to all `max_satisfaction_weight` deprecations. Adds a note telling users to check #476 for more details.
Closes#637.
ACKs for top commit:
apoelstra:
ACK 7fc7661
tcharding:
ACK 7fc7661
Tree-SHA512: 90a75bd44d5b0bec5044fc58186323f6c992e43958a912d9d36a1bda411ef6156076ac2125ee6dc8806a742b0aef046ae1f540911301972c8c2f95bb02ec8980
Currently
max_satisfaction_weight
is deprecated only for:Descriptor
rust-miniscript/src/descriptor/mod.rs
Lines 344 to 346 in 469c113
Bare
rust-miniscript/src/descriptor/bare.rs
Lines 86 to 87 in 469c113
Sh
rust-miniscript/src/descriptor/sh.rs
Lines 235 to 237 in 469c113
Wsh
rust-miniscript/src/descriptor/segwitv0.rs
Lines 104 to 105 in 469c113
tr
rust-miniscript/src/descriptor/tr.rs
Lines 312 to 313 in 469c113
but not for:
Pkh
:rust-miniscript/src/descriptor/bare.rs
Lines 250 to 256 in 469c113
Wpkh
:rust-miniscript/src/descriptor/segwitv0.rs
Lines 357 to 363 in 469c113
Is this the intended behavior?
If not, I can easily (and gladly) open a PR to add deprecation notices to
Pkh
andWpkh
.Cc @evanlinjin who originally deprecated these.
Related bitcoindevkit/bdk#1036
The text was updated successfully, but these errors were encountered: