I’m new on this world and I’m attempting to know some easy idea of Blockchain and the propagation of transaction.
Let say {that a} transaction x is made so from what i perceive till now this transaction might be propagate within the community and specifically within the “pool transaction” of the miners. The miners than will take a bunch of transaction, put them in a block and mine the block, than the block is confirmed and propagated to all nodes.
My query is:
there are 2 miners A and B that each obtain the x transaction of their swimming pools.
Now, miner A determine to place in a block transaction: “w r t x” and begin to mine the block.
Miner B determine to place in his block transaction: “okay y x l”, and begin to mine the block.
Each reach mining the block appropriately on the identical time, however the blocks can’t be each confirmed and added to the blockchain since they comprise a typical transaction.
1)How is this example handle by the blockchain?
2)Who performs the examine to keep away from that two blocks comprise completely totally different transaction?
3)What occurs to the transaction that had been put within the block that won’t be added to the blockchain? If the block is totally wasted it appears to me that lots of vitality was consumed to mine a block that isn’t validate because of a one transaction over probably a whole bunch or 1000’s and that’s fairly irritating.