Merge pull request #1693 from jgarzik/rpcwallet

Move code to new modules rpcwallet.cpp, rpcblockchain.cpp
This commit is contained in:
Jeff Garzik
2012-08-21 08:44:21 -07:00
11 changed files with 1704 additions and 1634 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)
{