mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module
This commit is contained in:
@@ -18,13 +18,6 @@ using namespace boost;
|
||||
using namespace boost::assign;
|
||||
using namespace json_spirit;
|
||||
|
||||
// These are all in bitcoinrpc.cpp:
|
||||
extern Object JSONRPCError(int code, const string& message);
|
||||
extern int64 AmountFromValue(const Value& value);
|
||||
extern Value ValueFromAmount(int64 amount);
|
||||
extern std::string HelpRequiringPassphrase();
|
||||
extern void EnsureWalletIsUnlocked();
|
||||
|
||||
void
|
||||
ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user