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

@@ -238,6 +238,7 @@ extern UniValue getinfo(const UniValue& params, bool fHelp);
extern UniValue getwalletinfo(const UniValue& params, bool fHelp);
extern UniValue getblockchaininfo(const UniValue& params, bool fHelp);
extern UniValue getnetworkinfo(const UniValue& params, bool fHelp);
extern UniValue getdeprecationinfo(const UniValue& params, bool fHelp);
extern UniValue setmocktime(const UniValue& params, bool fHelp);
extern UniValue resendwallettransactions(const UniValue& params, bool fHelp);
extern UniValue zc_benchmark(const UniValue& params, bool fHelp);