mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
RPC: add getbestblockhash, to return tip of best chain
This commit is contained in:
parent
6e802ac85d
commit
091aa8dae9
3 changed files with 11 additions and 0 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue