Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 978 Lines • ▼ Show 20 Lines | public: | ||||
int64_t IncOrderPosNext(WalletBatch *batch = nullptr) | int64_t IncOrderPosNext(WalletBatch *batch = nullptr) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
DBErrors ReorderTransactions(); | DBErrors ReorderTransactions(); | ||||
void MarkDirty(); | void MarkDirty(); | ||||
bool AddToWallet(const CWalletTx &wtxIn, bool fFlushOnClose = true); | bool AddToWallet(const CWalletTx &wtxIn, bool fFlushOnClose = true); | ||||
void LoadToWallet(CWalletTx &wtxIn) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | void LoadToWallet(CWalletTx &wtxIn) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
void TransactionAddedToMempool(const CTransactionRef &tx) override; | void TransactionAddedToMempool(const CTransactionRef &tx) override; | ||||
void | void BlockConnected(const CBlock &block, | ||||
BlockConnected(const CBlock &block, | const std::vector<CTransactionRef> &vtxConflicted, | ||||
const std::vector<CTransactionRef> &vtxConflicted) override; | int height) override; | ||||
void BlockDisconnected(const CBlock &block) override; | void BlockDisconnected(const CBlock &block, int height) override; | ||||
void UpdatedBlockTip() override; | void UpdatedBlockTip() override; | ||||
int64_t RescanFromTime(int64_t startTime, | int64_t RescanFromTime(int64_t startTime, | ||||
const WalletRescanReserver &reserver, bool update); | const WalletRescanReserver &reserver, bool update); | ||||
struct ScanResult { | struct ScanResult { | ||||
enum { SUCCESS, FAILURE, USER_ABORT } status = SUCCESS; | enum { SUCCESS, FAILURE, USER_ABORT } status = SUCCESS; | ||||
//! Hash and height of most recent block that was successfully scanned. | //! Hash and height of most recent block that was successfully scanned. | ||||
▲ Show 20 Lines • Show All 425 Lines • Show Last 20 Lines |