From 6b4f231f5f0f88690488c4da20ea1c180dbc4b19 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Fri, 9 Jun 2017 22:38:06 -0700 Subject: Move transaction combining from signrawtransaction to new RPC Create a combinerawtransaction RPC which accepts a json array of hex raw transactions to combine them into one transaction. Signrawtransaction is changed to no longer combine transactions and only accept one transaction at a time. --- src/rpc/client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rpc/client.cpp') diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 775ad4b6c9..d82e85f825 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -95,6 +95,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "signrawtransaction", 1, "prevtxs" }, { "signrawtransaction", 2, "privkeys" }, { "sendrawtransaction", 1, "allowhighfees" }, + { "combinerawtransaction", 0, "txs" }, { "fundrawtransaction", 1, "options" }, { "gettxout", 1, "n" }, { "gettxout", 2, "include_mempool" }, -- cgit v1.2.3