Move wallet RPC declarations to rpcwallet.h

This commit is contained in:
Luke Dashjr
2017-01-06 17:53:06 +00:00
parent ad1573472e
commit a4356328e0
5 changed files with 20 additions and 11 deletions

View File

@@ -14,6 +14,7 @@
#include "util.h"
#include "utilstrencodings.h"
#ifdef ENABLE_WALLET
#include "wallet/rpcwallet.h"
#include "wallet/wallet.h"
#include "wallet/walletdb.h"
#endif
@@ -234,6 +235,9 @@ UniValue validateaddress(const JSONRPCRequest& request)
return ret;
}
// Needed even with !ENABLE_WALLET, to pass (ignored) pointers around
class CWallet;
/**
* Used by addmultisigaddress / createmultisig:
*/