diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2017-01-06 17:53:06 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2017-02-27 20:45:18 +0000 |
commit | a4356328e00155796cd7aa188e96c51c09562423 (patch) | |
tree | 4519a608a1a5eb62017c5dd454eed9351bdddbe4 /src/rpc/server.h | |
parent | ad1573472e3eff7378f9e28e0d267f919c368907 (diff) | |
download | bitcoin-a4356328e00155796cd7aa188e96c51c09562423.tar.xz |
Move wallet RPC declarations to rpcwallet.h
Diffstat (limited to 'src/rpc/server.h')
-rw-r--r-- | src/rpc/server.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h index 0850f68f10..68d8a6ec96 100644 --- a/src/rpc/server.h +++ b/src/rpc/server.h @@ -196,17 +196,6 @@ extern double GetDifficulty(const CBlockIndex* blockindex = NULL); extern std::string HelpExampleCli(const std::string& methodname, const std::string& args); extern std::string HelpExampleRpc(const std::string& methodname, const std::string& args); -// Needed even with !ENABLE_WALLET, to pass (ignored) pointers around -class CWallet; - -#ifdef ENABLE_WALLET -// New code should accessing the wallet should be under the ../wallet/ directory -CWallet *GetWalletForJSONRPCRequest(const JSONRPCRequest&); -std::string HelpRequiringPassphrase(CWallet *); -void EnsureWalletIsUnlocked(CWallet *); -bool EnsureWalletIsAvailable(CWallet *, bool avoidException); -#endif - bool StartRPC(); void InterruptRPC(); void StopRPC(); |