Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,062 Lines • ▼ Show 20 Lines | struct ScanResult { | ||||
Optional<int> last_scanned_height; | Optional<int> last_scanned_height; | ||||
//! Hash of the most recent block that could not be scanned due to | //! Hash of the most recent block that could not be scanned due to | ||||
//! read errors or pruning. Will be set if status is FAILURE, unset if | //! read errors or pruning. Will be set if status is FAILURE, unset if | ||||
//! status is SUCCESS, and may or may not be set if status is | //! status is SUCCESS, and may or may not be set if status is | ||||
//! USER_ABORT. | //! USER_ABORT. | ||||
BlockHash last_failed_block; | BlockHash last_failed_block; | ||||
}; | }; | ||||
ScanResult ScanForWalletTransactions(const BlockHash &first_block, | ScanResult ScanForWalletTransactions(const BlockHash &start_block, | ||||
int start_height, | |||||
Optional<int> max_height, | Optional<int> max_height, | ||||
const WalletRescanReserver &reserver, | const WalletRescanReserver &reserver, | ||||
bool fUpdate); | bool fUpdate); | ||||
void TransactionRemovedFromMempool(const CTransactionRef &ptx) override; | void TransactionRemovedFromMempool(const CTransactionRef &ptx) override; | ||||
void ReacceptWalletTransactions() EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | void ReacceptWalletTransactions() EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
void ResendWalletTransactions(); | void ResendWalletTransactions(); | ||||
struct Balance { | struct Balance { | ||||
//! Trusted, at depth=GetBalance.min_depth or more | //! Trusted, at depth=GetBalance.min_depth or more | ||||
▲ Show 20 Lines • Show All 445 Lines • Show Last 20 Lines |