Hot answers tagged


Block mining process in general looks like this: Miner picks transactions to be included into the block and validates them Miner organizes transactions, their receipts, resulting blockchain state into Merkle trees and calculates root hashes of them Miner chooses random nonce value Miner constructs block header from various information that, among other ...


The transactions to mine are selected given a process that is absolutely specific to each client but even more to each miner. Indeed the transaction (tx) selection and sorting process is not part of Ethereum protocol. That is, miners can decide to select and sort transactions the way they prefer. However, miners are mainly incentivised by earning money (...


Yes, miners include transactions in blocks from the most rewarded to the least rewarded. But after the transactions are selected, the entire process for mining the block remains the same(i.e choose a random nonce value and calculate the hash repetitively until the hash is good enough) no matter which transactions you include. So even if you configure your ...


Miners have compete latitude to include or ignore any transactions they like, in almost any order. The only invariant is that transactions emitted from a given EOA must be mined in account once order. Miners will probably select transactions with the highest gas price and pack blocks with the most gas allowed. That usually happens. Hope it helps.


The answer is whatever one the miner wants first. A miner could choose a tx with a gasPrice of 0.5 Gwei and not include either of the 1 Gwei transactions. Most mining clients will optimize for profit (highest gasPrice). In the case of two transactions with identical profit, the client will likely choose the transaction that was broadcast first.


I am thinking if I could setup a miner client to mine ONLY very low-valued blocks, because, I hope, there is less people trying to solve them. Every miner is always trying to solve a different block. If two miners are not coordinated, they are each trying to mine blocks that reward them and not the other miner. So miners who aren't coordinating are trying ...

Only top voted, non community-wiki answers of a minimum length are eligible