Add importpubkey method to import a watch-only pubkey

This commit is contained in:
Matt Corallo
2015-07-09 22:47:36 -07:00
parent 907a425aa5
commit a1d7df3236
4 changed files with 60 additions and 0 deletions

View File

@@ -359,6 +359,7 @@ static const CRPCCommand vRPCCommands[] =
{ "wallet", "importprivkey", &importprivkey, true },
{ "wallet", "importwallet", &importwallet, true },
{ "wallet", "importaddress", &importaddress, true },
{ "wallet", "importpubkey", &importpubkey, true },
{ "wallet", "keypoolrefill", &keypoolrefill, true },
{ "wallet", "listaccounts", &listaccounts, false },
{ "wallet", "listaddressgroupings", &listaddressgroupings, false },