mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-31 02:46:01 +02:00
[validation] Add detailed txin/txout information for script error messages
Don't just report which script error occurred, but which in which input of which transaction, and which UTXO was being spent.
This commit is contained in:
@@ -347,7 +347,7 @@ public:
|
||||
CScriptCheck(CScriptCheck&&) = default;
|
||||
CScriptCheck& operator=(CScriptCheck&&) = default;
|
||||
|
||||
std::optional<ScriptError> operator()();
|
||||
std::optional<std::pair<ScriptError, std::string>> operator()();
|
||||
};
|
||||
|
||||
// CScriptCheck is used a lot in std::vector, make sure that's efficient
|
||||
|
||||
Reference in New Issue
Block a user