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
Merge #638: Deprecate across the board max_satisfaction_weight
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
note = "Use max_weight_to_satisfy instead. The method to count bytes was redesigned and the results will differ from max_weight_to_satisfy. For more details check rust-bitcoin/rust-miniscript#476."
/// Assumes all ec-signatures are 73 bytes, including push opcode and
254
257
/// sighash suffix. Includes the weight of the VarInts encoding the
255
258
/// scriptSig and witness stack length.
259
+
#[deprecated(
260
+
since = "10.0.0",
261
+
note = "Use max_weight_to_satisfy instead. The method to count bytes was redesigned and the results will differ from max_weight_to_satisfy. For more details check rust-bitcoin/rust-miniscript#476."
note = "Use max_weight_to_satisfy instead. The method to count bytes was redesigned and the results will differ from max_weight_to_satisfy. For more details check rust-bitcoin/rust-miniscript#476."
note = "Use max_weight_to_satisfy instead. The method to count bytes was redesigned and the results will differ from max_weight_to_satisfy. For more details check rust-bitcoin/rust-miniscript#476."
/// Assumes all ec-signatures are 73 bytes, including push opcode and
361
364
/// sighash suffix. Includes the weight of the VarInts encoding the
362
365
/// scriptSig and witness stack length.
366
+
#[deprecated(
367
+
since = "10.0.0",
368
+
note = "Use max_weight_to_satisfy instead. The method to count bytes was redesigned and the results will differ from max_weight_to_satisfy. For more details check rust-bitcoin/rust-miniscript#476."
note = "Use max_weight_to_satisfy instead. The method to count bytes was redesigned and the results will differ from max_weight_to_satisfy. For more details check rust-bitcoin/rust-miniscript#476."
note = "Use max_weight_to_satisfy instead. The method to count bytes was redesigned and the results will differ from max_weight_to_satisfy. For more details check rust-bitcoin/rust-miniscript#476."
0 commit comments