diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-13 16:18:00 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-13 16:34:57 +0100 |
commit | 452955f5be9dbd4397ca6425150923521cbee4ae (patch) | |
tree | 39e0e07f97f6818b4deb0fc466c1025b30ca2060 /src/rpcserver.cpp | |
parent | cd7fa8bb437267db2502415e4fb035d60bda860c (diff) |
Move `validateaddress` from rpcwallet to rpcmisc
Enables it in --disable-wallet compiles.
Delimit wallet-using part using #ifdef ENABLE_WALLET.
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r-- | src/rpcserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index 49a61d10d2..9de84fccd8 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -252,6 +252,7 @@ static const CRPCCommand vRPCCommands[] = { "getmininginfo", &getmininginfo, true, false, false }, { "getblocktemplate", &getblocktemplate, true, false, false }, { "submitblock", &submitblock, false, false, false }, + { "validateaddress", &validateaddress, true, false, false }, #ifdef ENABLE_WALLET /* Wallet */ @@ -272,7 +273,6 @@ static const CRPCCommand vRPCCommands[] = { "walletpassphrasechange", &walletpassphrasechange, false, false, true }, { "walletlock", &walletlock, true, false, true }, { "encryptwallet", &encryptwallet, false, false, true }, - { "validateaddress", &validateaddress, true, false, false }, { "getbalance", &getbalance, false, false, true }, { "move", &movecmd, false, false, true }, { "sendfrom", &sendfrom, false, false, true }, |