Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 484 Lines • ▼ Show 20 Lines | bool IsFromMe(const isminefilter &filter) const { | ||||
return GetDebit(filter) > Amount::zero(); | return GetDebit(filter) > Amount::zero(); | ||||
} | } | ||||
// True if only scriptSigs are different | // True if only scriptSigs are different | ||||
bool IsEquivalentTo(const CWalletTx &tx) const; | bool IsEquivalentTo(const CWalletTx &tx) const; | ||||
bool InMempool() const; | bool InMempool() const; | ||||
bool IsTrusted(interfaces::Chain::Lock &locked_chain) const; | bool IsTrusted(interfaces::Chain::Lock &locked_chain) const; | ||||
bool IsTrusted(interfaces::Chain::Lock &locked_chain, | |||||
std::set<TxId> &trusted_parents) const; | |||||
int64_t GetTxTime() const; | int64_t GetTxTime() const; | ||||
// Pass this transaction to node for mempool insertion and relay to peers if | // Pass this transaction to node for mempool insertion and relay to peers if | ||||
// flag set to true | // flag set to true | ||||
bool SubmitMemoryPoolAndRelay(std::string &err_string, bool relay); | bool SubmitMemoryPoolAndRelay(std::string &err_string, bool relay); | ||||
// TODO: Remove "NO_THREAD_SAFETY_ANALYSIS" and replace it with the correct | // TODO: Remove "NO_THREAD_SAFETY_ANALYSIS" and replace it with the correct | ||||
▲ Show 20 Lines • Show All 951 Lines • Show Last 20 Lines |