Bifalgorithm post · Crystal · Building the Blockchain

How does proof of work seal a new block?

How does proof of work seal a new block? (Crystal · Building the Blockchain) — "After transactions have been packaged, miners compete to find a block hash that…

Ideas in this flowchart

  • Bitcoin mining searches for a qualifying block hash
  • Transactions are packaged into a block
  • Miners compete to find the qualifying hash
  • Bitcoin’s algorithm sets the hash conditions
  • The block data is used for hashing
  • A nonce is randomly generated
  • The nonce is added to the block data
  • The miner calculates a new block hash
  • Does the hash satisfy the algorithm’s conditions?
  • The hash satisfies the required conditions
  • The qualifying hash typically contains a specified pattern of zeros
  • One miner finds the qualifying result
  • The hash does not satisfy the conditions
  • The miner repeats the nonce-and-hash process
  • The process operates like a random lottery
  • Miners perform many hashing attempts
  • More hashing power increases a miner’s chances
  • More hashing power does not guarantee success
Feed/

How does proof of work seal a new block?

No cover

Channel

Crystal

1 page

"After transactions have been packaged, miners compete to find a block hash that satisfies the conditions set by bitcoin’s algorithm. They repeatedly add a randomly generated number called a nonce to the block data and calculate new hashes until one miner finds a qualifying result, typically requiring the hash to contain a specified pattern of zeros. The process is effectively a random lottery in which more hashing power increases a miner’s chances but does not guarantee success."

Flowchart preview
👍
0
0 comments0 shares

Sign in to view and post comments.