From 8723debb3d1f281f26bdc456868f3daaf7c6aa5a Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Tue, 11 Dec 2018 12:06:38 -0500 Subject: [PATCH] RPC support for signed blocks, compact blocks infrastructure --- src/rpc/client.cpp | 1 + src/rpc/mining.cpp | 398 +++++++++++++++++++++++++++++++++++++-- src/wallet/rpcwallet.cpp | 75 ++++++++ 3 files changed, 462 insertions(+), 12 deletions(-) diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index c7f3e38ac0..9e37aee7f6 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -172,6 +172,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "rescanblockchain", 0, "start_height"}, { "rescanblockchain", 1, "stop_height"}, { "createwallet", 1, "disable_private_keys"}, + { "combineblocksigs", 1, "signatures"}, }; class CRPCConvertTable diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index cf5ef51b9f..30a9f256c5 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -27,6 +27,12 @@ #include #include +#include // CheckProof +#include // combineblocksigs +#include