5 #ifndef BITCOIN_POLICY_EPHEMERAL_POLICY_H 6 #define BITCOIN_POLICY_EPHEMERAL_POLICY_H 58 #endif // BITCOIN_POLICY_EPHEMERAL_POLICY_H
std::vector< CTransactionRef > Package
A package is an ordered list of transactions.
int64_t CAmount
Amount in satoshis (Can be negative)
bool PreCheckEphemeralTx(const CTransaction &tx, CFeeRate dust_relay_rate, CAmount base_fee, CAmount mod_fee, TxValidationState &state)
These utility functions ensure that ephemeral dust is safely created and spent without unduly risking...
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
Fee rate in satoshis per kilovirtualbyte: CAmount / kvB.
bool CheckEphemeralSpends(const Package &package, CFeeRate dust_relay_rate, const CTxMemPool &tx_pool, TxValidationState &out_child_state, Wtxid &out_child_wtxid)
Must be called for each transaction(package) if any dust is in the package.
The basic transaction that is broadcasted on the network and contained in blocks. ...
transaction_identifier represents the two canonical transaction identifier types (txid, wtxid).