The Nonce

The Nonce

How Mining Works

Blockchain Mining

The Nonce

blockchain.png

a nonce is an arbitrary number that miners used to solve the complex mathematical problem. miners tries different different nonce to generate different different Hash value. until they Reach their target value. once they got their target value they stop mining, and mined their block. one mined than they broadcast their information to the network.

Nonce is a field in the block, where it has some random set of number, while mining the block, all the fields like block no, data, previous hash will be same but nonce value will change until it reaches the target value and then we will have a hash value for that block. for every different data different nonce will be generated.