aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2013-01-23 11:45:00 -0500
committerMatt Corallo <git@bluematt.me>2013-01-27 03:03:04 -0500
commit72a348fd9a7015aa039f9cbdc9166f388f4725e0 (patch)
treeac3b1167ed8737ec0709600834a6379571abbcf2 /src/bitcoinrpc.cpp
parentf339e9e3391465de4921aea3194f3021016f07d1 (diff)
Add addnode RPC command.
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index a1e39d7506..910d52a9fe 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -201,6 +201,7 @@ static const CRPCCommand vRPCCommands[] =
{ "getblockcount", &getblockcount, true, false },
{ "getconnectioncount", &getconnectioncount, true, false },
{ "getpeerinfo", &getpeerinfo, true, false },
+ { "addnode", &addnode, true, true },
{ "getdifficulty", &getdifficulty, true, false },
{ "getgenerate", &getgenerate, true, false },
{ "setgenerate", &setgenerate, true, false },