Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 860 Lines • ▼ Show 20 Lines | public: | ||||
bool IsLocked() const override; | bool IsLocked() const override; | ||||
bool Lock(); | bool Lock(); | ||||
/** Interface to assert chain access and if successful lock it */ | /** Interface to assert chain access and if successful lock it */ | ||||
std::unique_ptr<interfaces::Chain::Lock> LockChain() { | std::unique_ptr<interfaces::Chain::Lock> LockChain() { | ||||
return m_chain ? m_chain->lock() : nullptr; | return m_chain ? m_chain->lock() : nullptr; | ||||
} | } | ||||
/** Interface to assert chain access */ | |||||
bool HaveChain() const { return m_chain ? true : false; } | |||||
std::map<TxId, CWalletTx> mapWallet GUARDED_BY(cs_wallet); | std::map<TxId, CWalletTx> mapWallet GUARDED_BY(cs_wallet); | ||||
typedef std::multimap<int64_t, CWalletTx *> TxItems; | typedef std::multimap<int64_t, CWalletTx *> TxItems; | ||||
TxItems wtxOrdered; | TxItems wtxOrdered; | ||||
int64_t nOrderPosNext GUARDED_BY(cs_wallet) = 0; | int64_t nOrderPosNext GUARDED_BY(cs_wallet) = 0; | ||||
uint64_t nAccountingEntryNumber = 0; | uint64_t nAccountingEntryNumber = 0; | ||||
▲ Show 20 Lines • Show All 652 Lines • Show Last 20 Lines |