16 for (
auto& txin : tx1.
vin) {
18 txin.scriptWitness.SetNull();
20 for (
auto& txin : tx2.
vin) {
22 txin.scriptWitness.SetNull();
53 lookup_block(conf->confirmed_block_hash, conf->confirmed_block_height,
m_state);
55 lookup_block(conf->conflicting_block_hash, conf->conflicting_block_height,
m_state);
Serialized script, used inside transaction inputs and outputs.
The basic transaction that is broadcasted on the network and contained in blocks.
virtual bool findBlock(const uint256 &hash, const FoundBlock &block={})=0
bool IsEquivalentTo(const CWalletTx &tx) const
True if only scriptSigs are different.
void updateState(interfaces::Chain &chain)
void CopyFrom(const CWalletTx &)
unsigned int nTimeReceived
time received by this node
int64_t GetTxTime() const
CWalletTx(CTransactionRef tx, const TxState &state)
unsigned int nTimeSmart
Stable timestamp that never changes, and reflects the order a transaction was added to the wallet.
std::variant< TxStateConfirmed, TxStateInMempool, TxStateBlockConflicted, TxStateInactive, TxStateUnrecognized > TxState
All possible CWalletTx states.
A mutable version of CTransaction.