From 290f3c56d9dd8a519920939a4fc440da832c1c63 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Mon, 28 Aug 2017 13:33:59 -0400 Subject: [wallet] Add RegisterWalletRPC() function to wallet/init.cpp --- src/wallet/init.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wallet/init.h') 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 +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). -- cgit v1.2.3