aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2015-07-09 22:47:36 -0700
committerMatt Corallo <git@bluematt.me>2015-07-20 16:01:37 -0700
commita1d7df32360605724d8f0ea4b7aebfa7aea24c97 (patch)
treee14b0b053ea51dc07324671cc5c1d20b5abb9866 /src/rpcserver.cpp
parent907a425aa5b8fd90cf1d28215712a309e934b364 (diff)
Add importpubkey method to import a watch-only pubkey
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index bcad06a0c1..158603b140 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -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 },