mintlayer-core icon indicating copy to clipboard operation
mintlayer-core copied to clipboard

Fees of time-locked transactions should not be included in transaction score

Open TheQuantumPhysicist opened this issue 2 years ago • 1 comments

(Created on Aug 30, 2023 by @iljakuklic)

Mempool builds a transaction graph and assigns each transaction a score. The score is used to pick the best transactions to be included in a block. The score is determined by the feerate of a transaction and its descendants (for chaild-pays-for-parent). However, transactions that are locked should not contribute to the score. Otherwise, we get less fee-efficient blocks.

TheQuantumPhysicist avatar Sep 18 '23 14:09 TheQuantumPhysicist

Keep in mind that currently we account for fees that are locked to not more than the maturity period of un-staking delegations or decommissioning a pool. This same rule should go into the mempool.

TheQuantumPhysicist avatar Jan 02 '24 14:01 TheQuantumPhysicist