mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module
This commit is contained in:
parent
e3bc569865
commit
c625ae04d2
11 changed files with 215 additions and 197 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue