mirror of https://github.com/bitcoin/bitcoin
Merge bitcoin/bitcoin#31097: validation: Improve input script check error reporting
pull/31126/head86e2a6b749
[test] A non-standard transaction which is also consensus-invalid should return the consensus error (Antoine Poinsot)f859ff8a4e
[validation] Improve script check error reporting (dergoegge) Pull request description: An input script might be invalid for multiple reasons. For example, it might fail both a standardness check and a consensus check, which can lead to a `mandatory-script-verify-flag-failed` error being reported that includes the script error string from the standardness failure (e.g. `mandatory-script-verify-flag-failed (Using OP_CODESEPARATOR in non-witness script)`), which is confusing. ACKs for top commit: darosior: re-ACK86e2a6b749
ariard: Re-Code Review ACK86e2a6b7
instagibbs: ACK86e2a6b749
Tree-SHA512: 053939107c0bcd6643e9006b2518ddc3a6de47d2c6c66af71a04e8af5cf9ec207f19e54583b7a056efd77571edf5fd4f36c31ebe80d1f0777219c756c055eb42
commit
d9f8dc6453
Loading…
Reference in new issue