Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 945 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 TxId &txid, unsigned int n) const | bool IsSpentKey(const TxId &txid, unsigned int n) const | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
void SetUsedDestinationState(WalletBatch &batch, const TxId &txid, | void SetSpentKeyState(WalletBatch &batch, const TxId &txid, unsigned int n, | ||||
unsigned int n, bool used, | bool used, std::set<CTxDestination> &tx_destinations) | ||||
std::set<CTxDestination> &tx_destinations) | |||||
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, | bool single_coin, | ||||
const size_t max_ancestors) const; | const size_t max_ancestors) const; | ||||
bool IsLockedCoin(const COutPoint &outpoint) const | bool IsLockedCoin(const COutPoint &outpoint) const | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
▲ Show 20 Lines • Show All 632 Lines • Show Last 20 Lines |