Replying to Avatar $elfish gene

Run the script and wait for it to finish. You will get a file like this with 2,000 lines:

Now let's divide this sample into groups of 100 values and perform statistical analysis on each group. Nonce is a 32-bit number. It stands to reason that every bit of the nonce is equally likely to take a value of one or zero. This is what I am going to check. I will write a script that counts the number of ones in each bit position in a group of 100 nonces.

Avatar
$elfish gene 2y ago

You can see that some bits in the bitcoin nonce are not equally probable in their value and the graphs are shifted downwards. So the bit value is still slightly more likely to be zero than one.

Reply to this note

Please Login to reply.

Discussion

Avatar
$elfish gene 2y ago

https://habr.com/ru/articles/421499/

Thread collapsed