[RPC, Wallet] Move RPC dispatch table registration to wallet/ code

Allow extending the rpc dispatch table by appending commands when server is not running.
This commit is contained in:
Jonas Schnelli
2016-01-07 08:33:49 +01:00
committed by Jack Grigg
parent aad4b86e95
commit 34aca1b03c
9 changed files with 141 additions and 129 deletions

10
src/wallet/rpcwallet.h Normal file
View File

@@ -0,0 +1,10 @@
// Copyright (c) 2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_WALLET_RPCWALLET_H
#define BITCOIN_WALLET_RPCWALLET_H
void walletRegisterRPCCommands();
#endif //BITCOIN_WALLET_RPCWALLET_H