Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,080 Lines • ▼ Show 20 Lines | struct ScanResult { | ||||
//! USER_ABORT. | //! USER_ABORT. | ||||
BlockHash last_failed_block; | BlockHash last_failed_block; | ||||
}; | }; | ||||
ScanResult ScanForWalletTransactions(const BlockHash &start_block, | ScanResult ScanForWalletTransactions(const BlockHash &start_block, | ||||
int start_height, | int start_height, | ||||
std::optional<int> max_height, | std::optional<int> max_height, | ||||
const WalletRescanReserver &reserver, | const WalletRescanReserver &reserver, | ||||
bool fUpdate); | bool fUpdate); | ||||
void transactionRemovedFromMempool(const CTransactionRef &ptx, | void transactionRemovedFromMempool(const CTransactionRef &tx, | ||||
MemPoolRemovalReason reason) override; | MemPoolRemovalReason reason) 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 | ||||
Amount m_mine_trusted{Amount::zero()}; | Amount m_mine_trusted{Amount::zero()}; | ||||
//! Untrusted, but in mempool (pending) | //! Untrusted, but in mempool (pending) | ||||
Amount m_mine_untrusted_pending{Amount::zero()}; | Amount m_mine_untrusted_pending{Amount::zero()}; | ||||
▲ Show 20 Lines • Show All 528 Lines • Show Last 20 Lines |