diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-12-13 16:18:00 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-12-13 16:34:57 +0100 |
| commit | 452955f5be9dbd4397ca6425150923521cbee4ae (patch) | |
| tree | 39e0e07f97f6818b4deb0fc466c1025b30ca2060 /src/rpcserver.cpp | |
| parent | Move `nTransactionFee` from main.cpp to wallet.cpp (diff) | |
| download | discoin-452955f5be9dbd4397ca6425150923521cbee4ae.tar.xz discoin-452955f5be9dbd4397ca6425150923521cbee4ae.zip | |
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 49a61d10d..9de84fccd 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 }, |