Add getdeprecationinfo rpc call to return current version and deprecation block height.

This commit is contained in:
Jay Graber
2017-12-27 12:58:42 -08:00
parent 3092ba0a42
commit 9d2974ed5b
3 changed files with 30 additions and 0 deletions

View File

@@ -265,6 +265,7 @@ static const CRPCCommand vRPCCommands[] =
/* P2P networking */
{ "network", "getnetworkinfo", &getnetworkinfo, true },
{ "network", "getdeprecationinfo", &getdeprecationinfo, true },
{ "network", "addnode", &addnode, true },
{ "network", "disconnectnode", &disconnectnode, true },
{ "network", "getaddednodeinfo", &getaddednodeinfo, true },