Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show All 12 Lines | |||||
#include "tinyformat.h" | #include "tinyformat.h" | ||||
#include "ui_interface.h" | #include "ui_interface.h" | ||||
#include "utilstrencodings.h" | #include "utilstrencodings.h" | ||||
#include "validationinterface.h" | #include "validationinterface.h" | ||||
#include "wallet/crypter.h" | #include "wallet/crypter.h" | ||||
#include "wallet/rpcwallet.h" | #include "wallet/rpcwallet.h" | ||||
#include "wallet/walletdb.h" | #include "wallet/walletdb.h" | ||||
#include <boost/thread.hpp> | |||||
#include <algorithm> | #include <algorithm> | ||||
#include <atomic> | #include <atomic> | ||||
#include <cstdint> | #include <cstdint> | ||||
#include <map> | #include <map> | ||||
#include <set> | #include <set> | ||||
#include <stdexcept> | #include <stdexcept> | ||||
#include <string> | #include <string> | ||||
#include <utility> | #include <utility> | ||||
#include <vector> | #include <vector> | ||||
#include <boost/thread.hpp> | |||||
extern CWallet *pwalletMain; | extern CWallet *pwalletMain; | ||||
/** | /** | ||||
* Settings | * Settings | ||||
*/ | */ | ||||
extern CFeeRate payTxFee; | extern CFeeRate payTxFee; | ||||
extern unsigned int nTxConfirmTarget; | extern unsigned int nTxConfirmTarget; | ||||
extern bool bSpendZeroConfChange; | extern bool bSpendZeroConfChange; | ||||
▲ Show 20 Lines • Show All 1,032 Lines • ▼ Show 20 Lines | CReserveKey(CWallet *pwalletIn) { | ||||
pwallet = pwalletIn; | pwallet = pwalletIn; | ||||
} | } | ||||
~CReserveKey() { ReturnKey(); } | ~CReserveKey() { ReturnKey(); } | ||||
void ReturnKey(); | void ReturnKey(); | ||||
bool GetReservedKey(CPubKey &pubkey); | bool GetReservedKey(CPubKey &pubkey); | ||||
void KeepKey(); | void KeepKey(); | ||||
void KeepScript() { KeepKey(); } | void KeepScript() override { KeepKey(); } | ||||
}; | }; | ||||
/** | /** | ||||
* Account information. | * Account information. | ||||
* Stored in wallet with key "acc"+string account name. | * Stored in wallet with key "acc"+string account name. | ||||
*/ | */ | ||||
class CAccount { | class CAccount { | ||||
public: | public: | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |