aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
authormrbandrews <[email protected]>2016-12-09 13:45:27 -0500
committerRussell Yanofsky <[email protected]>2017-01-19 11:29:29 -0500
commitcc0243ad32cee1cc9faab317364b889beaf07647 (patch)
tree4b2bf04e18d2900823c5c9d1d779410eb08d8f0b /src/rpc/client.cpp
parent[wallet] Add include_unsafe argument to listunspent RPC (diff)
downloaddiscoin-cc0243ad32cee1cc9faab317364b889beaf07647.tar.xz
discoin-cc0243ad32cee1cc9faab317364b889beaf07647.zip
[RPC] bumpfee
This command allows a user to increase the fee on a wallet transaction T, creating a "bumper" transaction B. T must signal that it is BIP-125 replaceable. T's change output is decremented to pay the additional fee. (B will not add inputs to T.) T cannot have any descendant transactions. Once B bumps T, neither T nor B's outputs can be spent until either T or (more likely) B is mined. Includes code by @jonasschnelli and @ryanofsky
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 422d005f0..28d24b84f 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -116,6 +116,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "setnetworkactive", 0, "state" },
{ "getmempoolancestors", 1, "verbose" },
{ "getmempooldescendants", 1, "verbose" },
+ { "bumpfee", 1, "options" },
// Echo with conversion (For testing only)
{ "echojson", 0, "arg0" },
{ "echojson", 1, "arg1" },