![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include "base58.h"
#include "chain.h"
#include "rpc/server.h"
#include "init.h"
#include "validation.h"
#include "script/script.h"
#include "script/standard.h"
#include "sync.h"
#include "util.h"
#include "utiltime.h"
#include "wallet.h"
#include <fstream>
#include <stdint.h>
#include <boost/algorithm/string.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <univalue.h>
#include <boost/foreach.hpp>
Go to the source code of this file.
Functions | |
void | EnsureWalletIsUnlocked () |
bool | EnsureWalletIsAvailable (bool avoidException) |
static std::string | EncodeDumpTime (int64_t nTime) |
static int64_t | DecodeDumpTime (const std::string &str) |
static std::string | EncodeDumpString (const std::string &str) |
std::string | DecodeDumpString (const std::string &str) |
UniValue | importprivkey (const UniValue ¶ms, bool fHelp) |
void | ImportAddress (const CBitcoinAddress &address, const string &strLabel) |
void | ImportScript (const CScript &script, const string &strLabel, bool isRedeemScript) |
UniValue | importaddress (const UniValue ¶ms, bool fHelp) |
UniValue | importpubkey (const UniValue ¶ms, bool fHelp) |
UniValue | importwallet (const UniValue ¶ms, bool fHelp) |
UniValue | importelectrumwallet (const UniValue ¶ms, bool fHelp) |
UniValue | dumpprivkey (const UniValue ¶ms, bool fHelp) |
UniValue | dumphdinfo (const UniValue ¶ms, bool fHelp) |
UniValue | dumpwallet (const UniValue ¶ms, bool fHelp) |
std::string DecodeDumpString | ( | const std::string & | str | ) |
Definition at line 62 of file rpcdump.cpp.
Referenced by importwallet().
|
static |
Definition at line 37 of file rpcdump.cpp.
Referenced by importwallet().
Definition at line 583 of file rpcdump.cpp.
Definition at line 546 of file rpcdump.cpp.
Referenced by wallet-hd.WalletHDTest::run_test(), and wallet.WalletTest::run_test().
Definition at line 629 of file rpcdump.cpp.
Referenced by walletbackup.WalletBackupTest::run_test().
|
static |
Definition at line 50 of file rpcdump.cpp.
Referenced by dumpwallet().
|
static |
Definition at line 33 of file rpcdump.cpp.
Referenced by dumpwallet().
bool EnsureWalletIsAvailable | ( | bool | avoidException | ) |
Definition at line 42 of file rpcwallet.cpp.
Referenced by abandontransaction(), addmultisigaddress(), backupwallet(), dumphdinfo(), dumpprivkey(), dumpwallet(), encryptwallet(), fundrawtransaction(), getaccount(), getaccountaddress(), getaddressesbyaccount(), getbalance(), getnewaddress(), getrawchangeaddress(), getreceivedbyaccount(), getreceivedbyaddress(), gettransaction(), getunconfirmedbalance(), getwalletinfo(), importaddress(), importelectrumwallet(), importprivkey(), importpubkey(), importwallet(), instantsendtoaddress(), keypoolrefill(), listaccounts(), listaddressgroupings(), listlockunspent(), listreceivedbyaccount(), listreceivedbyaddress(), listsinceblock(), listtransactions(), listunspent(), lockunspent(), movecmd(), resendwallettransactions(), sendfrom(), sendmany(), sendtoaddress(), setaccount(), settxfee(), signmessage(), walletlock(), walletpassphrase(), and walletpassphrasechange().
void EnsureWalletIsUnlocked | ( | ) |
Definition at line 54 of file rpcwallet.cpp.
Referenced by dumphdinfo(), dumpprivkey(), dumpwallet(), importelectrumwallet(), importprivkey(), importwallet(), instantsendtoaddress(), keypoolrefill(), sendfrom(), sendmany(), sendtoaddress(), and signmessage().
void ImportAddress | ( | const CBitcoinAddress & | address, |
const string & | strLabel | ||
) |
Definition at line 172 of file rpcdump.cpp.
Referenced by importaddress(), importpubkey(), and ImportScript().
Definition at line 181 of file rpcdump.cpp.
Referenced by listtransactions.ListTransactionsTest::run_test(), and wallet.WalletTest::run_test().
Definition at line 412 of file rpcdump.cpp.
Definition at line 76 of file rpcdump.cpp.
Referenced by wallet-hd.WalletHDTest::run_test(), wallet.WalletTest::run_test(), addressindex.AddressIndexTest::run_test(), and spentindex.SpentIndexTest::run_test().
Definition at line 247 of file rpcdump.cpp.
Referenced by fundrawtransaction-hd.RawTransactionsTest::run_test(), and fundrawtransaction.RawTransactionsTest::run_test().
void ImportScript | ( | const CScript & | script, |
const string & | strLabel, | ||
bool | isRedeemScript | ||
) |
Definition at line 155 of file rpcdump.cpp.
Referenced by ImportAddress(), importaddress(), and importpubkey().
Definition at line 305 of file rpcdump.cpp.
Referenced by walletbackup.WalletBackupTest::run_test().