add rpc to return pubkey

This commit is contained in:
blackjok3r
2018-10-24 12:12:18 +08:00
parent 5a363fdffc
commit c4ee47ec36
4 changed files with 36 additions and 15 deletions

View File

@@ -264,6 +264,7 @@ static const CRPCCommand vRPCCommands[] =
{ "control", "getinfo", &getinfo, true }, /* uses wallet if enabled */
{ "control", "help", &help, true },
{ "control", "stop", &stop, true },
{ "control", "getpubkey", &getpubkey, true },
/* P2P networking */
{ "network", "getnetworkinfo", &getnetworkinfo, true },