aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/server.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2016-10-25 07:45:57 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2017-02-27 20:45:17 +0000
commitd77ad6d41666b4c41abe1ba3b63300df1903643e (patch)
tree31d9201a04fbab8321c3fa109b9674b12fdd5457 /src/rpc/server.h
parenteca550f2501f3f2bbe682bdc3cb8b90c90c90275 (diff)
downloadbitcoin-d77ad6d41666b4c41abe1ba3b63300df1903643e.tar.xz
RPC: Do all wallet access through new GetWalletForJSONRPCRequest
Diffstat (limited to 'src/rpc/server.h')
-rw-r--r--src/rpc/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h
index b32eaaa133..b8f0373acc 100644
--- a/src/rpc/server.h
+++ b/src/rpc/server.h
@@ -202,6 +202,7 @@ 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);