In a Proof of WorkOldest consensus algorithm, on which Bitcoin is based. On public blockchains, the consensus algorithm choses the block that is added to the blockchain at a given time and the “truth” system, miners contribute to determine the blockchainA blockchain is a type of distributed ledger technology. It is a huge database formed by blocks,cryptographically linked to each other, containing information such as transactions. These blocks are addedfollowing consensusTruth admitted by all system participants. This doesn’t imply that it is the absolute truth or that it’sindisputable, it is the truth participants agree on. In crypto, algorithms beginning with, respecting the block
creation protocol by being the first one to complete the current difficulty level and submitting a block that has been
validated by the majority of the network’s nodes.