aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2015-04-24 18:27:30 -0700
committerMatt Corallo <git@bluematt.me>2015-06-11 01:03:23 -0700
commit21bbd920e5cc02dae5e75795c1f0bbfba9a41b53 (patch)
tree0d19c14fe84346df6c0aef5169bec725cd71552e /src/rpcserver.cpp
parent1e0d1a2ff02982d6ffe61e70b027c56f3bf22d0b (diff)
Add fundrawtransaction RPC method
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index 3894dd08bb..011cfcb34e 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -316,6 +316,9 @@ static const CRPCCommand vRPCCommands[] =
{ "rawtransactions", "getrawtransaction", &getrawtransaction, true },
{ "rawtransactions", "sendrawtransaction", &sendrawtransaction, false },
{ "rawtransactions", "signrawtransaction", &signrawtransaction, false }, /* uses wallet if enabled */
+#ifdef ENABLE_WALLET
+ { "rawtransactions", "fundrawtransaction", &fundrawtransaction, false },
+#endif
/* Utility functions */
{ "util", "createmultisig", &createmultisig, true },