mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
RPC: add getbestblockhash, to return tip of best chain
This commit is contained in:
@@ -195,6 +195,7 @@ static const CRPCCommand vRPCCommands[] =
|
||||
{ "help", &help, true, true },
|
||||
{ "stop", &stop, true, true },
|
||||
{ "getblockcount", &getblockcount, true, false },
|
||||
{ "getbestblockhash", &getbestblockhash, true, false },
|
||||
{ "getconnectioncount", &getconnectioncount, true, false },
|
||||
{ "getpeerinfo", &getpeerinfo, true, false },
|
||||
{ "addnode", &addnode, true, true },
|
||||
|
||||
Reference in New Issue
Block a user