Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,046 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Increment the next transaction order id | * Increment the next transaction order id | ||||
* @return next transaction order id | * @return next transaction order id | ||||
*/ | */ | ||||
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(); | ||||
bool GetLabelDestination(CTxDestination &dest, const std::string &label, | |||||
bool bForceNew = false) | |||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | |||||
void MarkDirty(); | void MarkDirty(); | ||||
bool AddToWallet(const CWalletTx &wtxIn, bool fFlushOnClose = true); | bool AddToWallet(const CWalletTx &wtxIn, bool fFlushOnClose = true); | ||||
void LoadToWallet(const CWalletTx &wtxIn) | void LoadToWallet(const CWalletTx &wtxIn) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
void TransactionAddedToMempool(const CTransactionRef &tx) override; | void TransactionAddedToMempool(const CTransactionRef &tx) override; | ||||
void | void | ||||
BlockConnected(const std::shared_ptr<const CBlock> &pblock, | BlockConnected(const std::shared_ptr<const CBlock> &pblock, | ||||
▲ Show 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | public: | ||||
} | } | ||||
std::set<std::set<CTxDestination>> GetAddressGroupings() | std::set<std::set<CTxDestination>> GetAddressGroupings() | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
std::map<CTxDestination, Amount> | std::map<CTxDestination, Amount> | ||||
GetAddressBalances(interfaces::Chain::Lock &locked_chain); | GetAddressBalances(interfaces::Chain::Lock &locked_chain); | ||||
std::set<CTxDestination> GetLabelAddresses(const std::string &label) const; | std::set<CTxDestination> GetLabelAddresses(const std::string &label) const; | ||||
void DeleteLabel(const std::string &label); | |||||
isminetype IsMine(const CTxIn &txin) const; | isminetype IsMine(const CTxIn &txin) const; | ||||
/** | /** | ||||
* Returns amount of debit if the input matches the filter, otherwise | * Returns amount of debit if the input matches the filter, otherwise | ||||
* returns 0 | * returns 0 | ||||
*/ | */ | ||||
Amount GetDebit(const CTxIn &txin, const isminefilter &filter) const; | Amount GetDebit(const CTxIn &txin, const isminefilter &filter) const; | ||||
isminetype IsMine(const CTxOut &txout) const; | isminetype IsMine(const CTxOut &txout) const; | ||||
▲ Show 20 Lines • Show All 335 Lines • Show Last 20 Lines |