diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-05-06 16:34:31 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-05-06 16:36:55 +0200 |
| commit | acc2d2ca5f7dadcf9807ed1bfcac6c010fe3649d (patch) | |
| tree | 0a60cf794c0f9568b9ced1797c137b2878819c51 /src/rpcserver.cpp | |
| parent | qt: periodic translations update (diff) | |
| parent | rpc: add `getblockchaininfo` and `getnetworkinfo` (diff) | |
| download | discoin-acc2d2ca5f7dadcf9807ed1bfcac6c010fe3649d.tar.xz discoin-acc2d2ca5f7dadcf9807ed1bfcac6c010fe3649d.zip | |
Merge pull request #4127
d387b8e rpc: add `getblockchaininfo` and `getnetworkinfo` (Wladimir J. van der Laan)
Diffstat (limited to 'src/rpcserver.cpp')
| -rw-r--r-- | src/rpcserver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index d771a4242..f78cb420f 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -228,6 +228,7 @@ static const CRPCCommand vRPCCommands[] = { "stop", &stop, true, true, false }, /* P2P networking */ + { "getnetworkinfo", &getnetworkinfo, true, false, false }, { "addnode", &addnode, true, true, false }, { "getaddednodeinfo", &getaddednodeinfo, true, true, false }, { "getconnectioncount", &getconnectioncount, true, false, false }, @@ -236,6 +237,7 @@ static const CRPCCommand vRPCCommands[] = { "ping", &ping, true, false, false }, /* Block chain and UTXO */ + { "getblockchaininfo", &getblockchaininfo, true, false, false }, { "getbestblockhash", &getbestblockhash, true, false, false }, { "getblockcount", &getblockcount, true, false, false }, { "getblock", &getblock, false, false, false }, |