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 #473: Fix max_satisfaction_weight calculations for taproot.
8834b7f Fix `max_satisfaction_weight` calculations for taproot (志宇)
Pull request description:
* Key spend path should take into consideration the scriptSigLen, stackLen and itemLen (for the one and only stack item).
* Script spend path should consider `control_block` and `script` to be items on the stack.
I also restructured the function to improve readability.
ACKs for top commit:
sanket1729:
utACK 8834b7f. Thanks for the significant code improvement.
LLFourn:
ACK 8834b7f
apoelstra:
ACK 8834b7f
Tree-SHA512: e2f7c893bf9f9d13deae047b1d341fef513c8b1e4e0d4285684c5c420baabc89ae84033162534ee1dfd0c98e39bef01451a0e75e400cece37ec9218b2881a16f
0 commit comments