January 2019
Beginner to intermediate
372 pages
11h 17m
English
Just like any full node in the Bitcoin network, a miner accumulates all the transactions it receives and adds them to the local memory pool. A miner will start constructing a candidate block that could be inserted into the blockchain by including a set of transactions in the block. The node will make sure that any time a new block arrives during the block construction process, all the transactions in the newly-arrived block should be omitted from the candidate block because this would create duplicate transactions.
Once all the metadata of the block and transactions are created for the block, the miner solves the hash puzzle by performing Proof of Work. The block is broadcasted to the Bitcoin network ...