mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 00:34:01 +02:00
policy: don't CheckEphemeralSpends on reorg
This commit is contained in:
@@ -41,13 +41,13 @@ class TxValidationState;
|
||||
|
||||
/* All the following checks are only called if standardness rules are being applied. */
|
||||
|
||||
/** Must be called for each transaction once transaction fees are known.
|
||||
/** Called for each transaction once transaction fees are known.
|
||||
* Does context-less checks about a single transaction.
|
||||
* @returns false if the fee is non-zero and dust exists, populating state. True otherwise.
|
||||
*/
|
||||
bool PreCheckEphemeralTx(const CTransaction& tx, CFeeRate dust_relay_rate, CAmount base_fee, CAmount mod_fee, TxValidationState& state);
|
||||
|
||||
/** Must be called for each transaction(package) if any dust is in the package.
|
||||
/** Called for each transaction(package) if any dust is in the package.
|
||||
* Checks that each transaction's parents have their dust spent by the child,
|
||||
* where parents are either in the mempool or in the package itself.
|
||||
* Sets out_child_state and out_child_wtxid on failure.
|
||||
|
||||
Reference in New Issue
Block a user