Auto merge of #2839 - arcalinea:add_deprecation_alert, r=bitcartel
Add getdeprecationinfo RPC method to return deprecation block height Closes #2828 Returns: ``` { "version": xxxxx, (numeric) the server version "subversion": "/MagicBean:x.y.z[-v]/", (string) the server subversion string "deprecationheight": xxxxx, (numeric) the deprecation block height } ```
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user