RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module

This commit is contained in:
Jeff Garzik
2012-08-21 11:03:38 -04:00
committed by Jeff Garzik
parent e3bc569865
commit c625ae04d2
11 changed files with 215 additions and 197 deletions

View File

@@ -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)
{