aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2013-01-23 11:45:00 -0500
committerMatt Corallo <[email protected]>2013-01-27 03:03:04 -0500
commit72a348fd9a7015aa039f9cbdc9166f388f4725e0 (patch)
treeac3b1167ed8737ec0709600834a6379571abbcf2 /src/bitcoinrpc.cpp
parentMake ThreadOpenAddedConnections2 exit quicker if(GetNameProxy()). (diff)
downloaddiscoin-72a348fd9a7015aa039f9cbdc9166f388f4725e0.tar.xz
discoin-72a348fd9a7015aa039f9cbdc9166f388f4725e0.zip
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 a1e39d750..910d52a9f 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 },