diff options
| author | Luke Dashjr <[email protected]> | 2016-10-25 07:45:57 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2017-02-27 20:45:17 +0000 |
| commit | d77ad6d41666b4c41abe1ba3b63300df1903643e (patch) | |
| tree | 31d9201a04fbab8321c3fa109b9674b12fdd5457 /src/rpc/server.h | |
| parent | RPC/Wallet: Pass CWallet as pointer to helper functions (diff) | |
| download | discoin-d77ad6d41666b4c41abe1ba3b63300df1903643e.tar.xz discoin-d77ad6d41666b4c41abe1ba3b63300df1903643e.zip | |
RPC: Do all wallet access through new GetWalletForJSONRPCRequest
Diffstat (limited to 'src/rpc/server.h')
| -rw-r--r-- | src/rpc/server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h index b32eaaa13..b8f0373ac 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); |