2 ms·
The point is that it does not matter which one is included, only that it's only one of the choices that all agree on. Which one that is is not relevant, there i
by nosianu 4y ago
The point is that it does not matter which one is included, only that it's only one of the choices that all agree on. Which one that is is not relevant, there is no part of the algorithm that determines one transaction to be "more valid" than another one. There is no ranking of transactions, one of them has to be picked but which one it is can be random, as long as there is agreement.
Also see the response from and sub-thread from uncletammy.
- mhluongo 4y agoThere are certainly tx validity rules, though, and when presented with a set of equally valid txs, miners will likely choose the one that is best for them (called "MEV", miner extractable value).
- nosianu 4y agoNeither the OP or me said there are no rules and they have to use an RNG to make a decision, only that it does not matter. That they then go and use an algorithm that maximizes their profits is only to be expected and the rational outcome from the fact that there is no other constraint from the technical algorithm.
- mhluongo 4y agoJust sharing for general interest / awareness, not as a "gotcha". Though I will point out... > only that it does not matter ... that this isn't true! MEV can destabilize consensus. There's been research around this in the Bitcoin/Lightning ecosystem, and it's been an active discussion in Ethereum for quite a while.