how does a miner choose which transactions go into the next block?

2

how does a miner choose which transactions go into the next block? do all transactions go through or is there a lottery process? I understand transactions with higher fees are given priority.

john martin

Posted 2018-12-05T16:48:56.110

Reputation: 21

Answers

2

A miner can choose whichever (valid) transactions they’d like to include in a block, for any reason they’d like.

I understand transactions with higher fees are given priority.

Generally, yes, we would assume a rational miner would maximize the amount of fees they can possibly obtain. But this is not mandatory.

chytrik

Posted 2018-12-05T16:48:56.110

Reputation: 10 276