1

If there are too many transactions in the mempool to be included in a single block, and assuming they all have the same transaction fee per kB, will the older transactions be mined first?

2 Answers 2

2

As you said, the primary sorting criterion is fee/byte. The secondary sorting priority is transaction age in the monerod source. Of course, any code creating a block is free to make its own selection/priority choices, so this only applies to monerod.

2

It's up to the miner which transactions will be chosen to be included in a block, so a miner might optimise his selection to fill as much as possible of the available block size limit.

1
  • Do you know what the default algorithm does?
    – assylias
    Commented Dec 20, 2017 at 19:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.