-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin/bitcoin#31112: Improve parallel script validation error…
… debug logging 492e1f0 [validation] merge all ConnectBlock debug logging code paths (Pieter Wuille) b49df70 [validation] include all logged information in BlockValidationState (Pieter Wuille) 7b267c0 [validation] Add detailed txin/txout information for script error messages (Pieter Wuille) 146a3d5 [validation] Make script error messages uniform for parallel/single validation (Pieter Wuille) 1ac1c33 [checkqueue] support user-defined return type through std::optional (Pieter Wuille) Pull request description: ~~Builds on top of #31097~~ (now merged). Fixes #30960. So far, detailed information about script validation failures is only reported when running with `-par=1`, due to a lack of ability to transfer information from the script validation threads to the validation thread. Fix this by extending the `CCheckQueue` functionality to pass more results through than just success/failure, and use this to report the exact Script error, as well as the transaction input in which it occurred. ACKs for top commit: achow101: ACK 492e1f0 furszy: Code review ACK 492e1f0 maflcko: re-ACK 492e1f0 🍈 dergoegge: ACK 492e1f0 instagibbs: ACK 492e1f0 mzumsande: Code Review ACK 492e1f0 Tree-SHA512: 234f2e7dfd03bdcd2a56200875fe370962f211ea7ed334038a6a9279a758030bf94bb6246f60d06dd0473dac4b9dbf050d9a32ecaa4176f7727eff63572bf4fd
- Loading branch information
Showing
16 changed files
with
140 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.