How do miners pick transactions

Bitcoin Questions and AnswersCategory: General questionsHow do miners pick transactions

John Fullerton asked 2 years ago

You wrote:
So you need to wait for a certain amount of time until a miner decided to pick your transaction out of all of those sitting around in the mempool.
How do miners actually decide and pick? Do they browse through the mempool online and pick transactions they like, or is it done automatically by an algorithm.

1 Answers
Ofir Beigel answered 2 years ago

Hey John, great question!
I actually don’t know the answer to this…I’m assuming this would be done in some automatic way as each block contains thousands of transactions and needs to be set up fairly quickly to start the “mining competition” after the previous block was mined.
I assume that the pool manager decides on the rules for this (i.e. which transactions to pick).
I’ll try to find out the answer for this but in the meantime perhaps you can ask on Bitcointalk’s mining forum perhaps they will have more info. If you do find out the answer I’d appreciate if you could share it.

Bitcoin Video Crash Course 

Dummy-proof explainer videos enjoyed by over 100,000 students. One email a day for 7 days, short and educational, guaranteed.

We hate spam as much as you do. You can unsubscribe with one click.