mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-26 15:01:05 +02:00
Merge bitcoin/bitcoin#33183: validation: rename block script verification error from "mandatory" to "block"
c0d91fc69c
Add release note for #33050 and #33183 error string changes (Antoine Poinsot)b3f781a0ef
contrib: adapt max reject string size in tracing demo (Antoine Poinsot)9a04635432
scripted-diff: validation: rename mandatory errors into block errors (Antoine Poinsot) Pull request description: This is a followup to #33050 now that it's merged. Using "block"/"mempool" as the error reason is clearer to a user than "mandatory"/"non-mandatory". The "non-mandatory" errors got renamed to "mempool" in #33050 (see https://github.com/bitcoin/bitcoin/pull/33050#discussion_r2230103371). This takes care of the second part of the renaming. ACKs for top commit: fjahr: utACKc0d91fc69c
davidgumberg: lgtm ACKc0d91fc69c
ajtowns: utACKc0d91fc69c
Crypt-iQ: utACKc0d91fc69c
janb84: utACKc0d91fc69c
instagibbs: ACKc0d91fc69c
Tree-SHA512: b463e633c57dd1eae7c49d23239a59066a672f355142ec194982eddc927a7646bc5cde583dc8d6f45075bf5cbb96dbe73f7e339e728929b0eff356b674d1b68c
This commit is contained in:
7
doc/release-notes-33183.md
Normal file
7
doc/release-notes-33183.md
Normal file
@@ -0,0 +1,7 @@
|
||||
Updated RPCs
|
||||
------------
|
||||
|
||||
Transaction Script validation errors used to return the reason for the error prefixed by either
|
||||
"mandatory-script-verify-flag-failed" if it was a consensus error, or "non-mandatory-script-verify-flag"
|
||||
(without "-failed") if it was a standardness error. This has been changed to "block-script-verify-flag-failed"
|
||||
and "mempool-script-verify-flag-failed" for all block and mempool errors respectively.
|
Reference in New Issue
Block a user