A hash enables the Bitcoin network to instantly ascertain the validity of a block by checking for the previous block’s hash in a new block. The hash must be below a certain target, making it difficult and time-consuming for bad actors to spam the network and pass off fraudulent transactions a few blocks in the chain.
Categories