From f4e86d6421f20f0f147fb0708665869b6ebb8b60 Mon Sep 17 00:00:00 2001 From: billymcbip <245003547+billymcbip@users.noreply.github.com> Date: Mon, 29 Dec 2025 17:59:10 +0100 Subject: [PATCH] consensus: Verify OP_CHECKCONSOLIDATION (draft) --- src/script/interpreter.cpp | 36 +++++- src/script/interpreter.h | 18 +++ src/script/script.cpp | 5 +- src/script/script.h | 5 +- src/script/sign.cpp | 1 + src/test/CMakeLists.txt | 1 + src/test/consolidation_tests.cpp | 186 +++++++++++++++++++++++++++++++ 7 files changed, 249 insertions(+), 3 deletions(-) create mode 100644 src/test/consolidation_tests.cpp diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index ca405c25da20..a00de5daf948 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -3,6 +3,7 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#include #include