Bitcoin Stack Alternate is a query and reply web site for Bitcoin crypto-currency lovers. It solely takes a minute to enroll.
Anyone can ask a query
Anyone can reply
The perfect solutions are voted up and rise to the highest
Requested
Seen
21 occasions
Having a transaction from particular person A to B and one other transaction from particular person C to D that each befell in kind of the identical time I assume that there is likely to be a state of affairs during which totally different nodes will obtain these transactions in several order. Each transactions are legitimate however the order during which they are going to be included into the block will probably be totally different for mining nodes and subsequently they are going to produce totally different hash / nonce / Proof of Work.
Is my assumption right and if that’s the case then does it even matter? Or it’s a pure factor that blocks produced by totally different nodes will probably be fully totally different by way of order of the transactions (and possibly by way of variety of transactions contained in them) and the one factor that issues is right nonce wanted for proof of labor (and if it is being discovered then the block will probably be accepted by different nodes).
I’m glad to listen to if reply to my query can be totally different in case of different initiatives (e.g. Ethereum or Cardano).
Two or extra miners may produce a brand new block on the similar time with totally different transactions or transactions in a special order.
There can solely be one block accepted at any particular block top. Which implies just one block with a particular dad or mum (earlier) block.
Each node independently chooses which of a number of competing blocks it accepts in its dwell blockchain. Since all nodes use the identical guidelines, all of them find yourself selecting the identical block finally.
Because of this finally, all nodes have equivalent blocks (although most likely not saved in the identical order on disk)
The order that two impartial transactions seem in a block doesn’t matter. It has an impact on the block hash, however so too do many different issues. As a final resort, miners could select to reorder the transactions of their block with the intention to obtain a special hash, however there are far simpler issues to do first.
Nevertheless miners that use the block meeting algorithm carried out in Bitcoin Core are more likely to end in blocks which have transactions in the identical order. This algorithm doesn’t consider the time {that a} transaction was acquired because it’s irrelevant. What it does account for are dependencies and price charge (particularly ancestor set price charge). Transactions with a better ancestor price charge will probably be included first, so two nodes setting up the identical block can have the same transaction order. That being stated, there’s nonetheless some randomness within the ordering when transactions have the identical ancestor price charge because the order at that time will not be outlined.
2