Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 898 Lines • ▼ Show 20 Lines | bool SelectCoinsMinConf(const Amount nTargetValue, | ||||
Amount &nValueRet, | Amount &nValueRet, | ||||
const CoinSelectionParams &coin_selection_params, | const CoinSelectionParams &coin_selection_params, | ||||
bool &bnb_used) const; | bool &bnb_used) const; | ||||
bool IsSpent(const COutPoint &outpoint) const | bool IsSpent(const COutPoint &outpoint) const | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
// Whether this or any UTXO with the same CTxDestination has been spent. | // Whether this or any UTXO with the same CTxDestination has been spent. | ||||
bool IsUsedDestination(const CTxDestination &dst) const; | bool IsUsedDestination(const TxId &txid, unsigned int n) const | ||||
bool IsUsedDestination(const TxId &txid, unsigned int n) const; | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
void SetUsedDestinationState(WalletBatch &batch, const TxId &txid, | void SetUsedDestinationState(WalletBatch &batch, const TxId &txid, | ||||
unsigned int n, bool used) | unsigned int n, bool used) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
std::vector<OutputGroup> GroupOutputs(const std::vector<COutput> &outputs, | std::vector<OutputGroup> GroupOutputs(const std::vector<COutput> &outputs, | ||||
bool single_coin) const; | bool single_coin) const; | ||||
bool IsLockedCoin(const COutPoint &outpoint) const | bool IsLockedCoin(const COutPoint &outpoint) const | ||||
▲ Show 20 Lines • Show All 530 Lines • Show Last 20 Lines |