aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/init.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-08-28 13:33:59 -0400
committerJohn Newbery <john@johnnewbery.com>2017-09-07 16:21:26 -0700
commit290f3c56d9dd8a519920939a4fc440da832c1c63 (patch)
treec6a33d86aa941f6f3a7f6b17821ecf7d8464ccc6 /src/wallet/init.h
parent062d63102eb1e90168d28589de8bf182e9a6a7d3 (diff)
downloadbitcoin-290f3c56d9dd8a519920939a4fc440da832c1c63.tar.xz
[wallet] Add RegisterWalletRPC() function to wallet/init.cpp
Diffstat (limited to 'src/wallet/init.h')
-rw-r--r--src/wallet/init.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/init.h b/src/wallet/init.h
index 1be2ef9273..588357119c 100644
--- a/src/wallet/init.h
+++ b/src/wallet/init.h
@@ -8,12 +8,17 @@
#include <string>
+class CRPCTable;
+
//! Return the wallets help message.
std::string GetWalletHelpString(bool showDebug);
//! Wallets parameter interaction
bool WalletParameterInteraction();
+//! Register wallet RPCs.
+void RegisterWalletRPC(CRPCTable &tableRPC);
+
//! Responsible for reading and validating the -wallet arguments and verifying the wallet database.
// This function will perform salvage on the wallet if requested, as long as only one wallet is
// being loaded (CWallet::ParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).