Add addnode RPC command.

This commit is contained in:
Matt Corallo
2013-01-23 11:45:00 -05:00
parent f339e9e339
commit 72a348fd9a
3 changed files with 44 additions and 0 deletions

View File

@@ -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 },