diff options
| author | Matt Corallo <[email protected]> | 2015-07-09 22:47:36 -0700 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2015-07-20 16:01:37 -0700 |
| commit | a1d7df32360605724d8f0ea4b7aebfa7aea24c97 (patch) | |
| tree | e14b0b053ea51dc07324671cc5c1d20b5abb9866 /src/rpcserver.cpp | |
| parent | Add p2sh option to importaddress to import redeemScripts (diff) | |
| download | discoin-a1d7df32360605724d8f0ea4b7aebfa7aea24c97.tar.xz discoin-a1d7df32360605724d8f0ea4b7aebfa7aea24c97.zip | |
Add importpubkey method to import a watch-only pubkey
Diffstat (limited to 'src/rpcserver.cpp')
| -rw-r--r-- | src/rpcserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index bcad06a0c..158603b14 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 }, |