From e848990e005f3fbdd254f9988540659dd43f6d1f Mon Sep 17 00:00:00 2001 From: JBetz Date: Wed, 28 Feb 2024 20:46:58 +0100 Subject: [PATCH 1/3] Add compile-time switch for Sequentia RPC definitions --- src/Makefile.am | 1 + src/rpc/rawtransaction.cpp | 9 ++- src/sequentia/rpc/rawtransaction.cpp | 115 +++++++++++++++++++++++++++ src/sequentia/rpc/rawtransaction.h | 8 ++ 4 files changed, 132 insertions(+), 1 deletion(-) create mode 100644 src/sequentia/rpc/rawtransaction.cpp create mode 100644 src/sequentia/rpc/rawtransaction.h diff --git a/src/Makefile.am b/src/Makefile.am index 7a8e53cc34..a7fa283cf7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -238,6 +238,7 @@ BITCOIN_CORE_H = \ script/sign.h \ script/signingprovider.h \ script/standard.h \ + sequentia/rpc/rawtransaction.cpp \ shutdown.h \ signet.h \ streams.h \ diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 1881bb12f7..0428d55bfe 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -3,6 +3,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#define __SEQUENTIA__ 1 + #include #include #include @@ -39,6 +41,7 @@ #include