bitcoin-mining-python
bitcoin-mining-python copied to clipboard
A Python implementation of the Bitcoin mining algorithm
We do not need to convert those hashes in hex to integers; this affects the hash rate significantly.
This was a great article for illustrating how the process actually works! https://www.freecodecamp.org/news/how-bitcoin-mining-really-works-38563ec38c87/ I am curious why when I ran this code, it stopped when the nonce reached 124,426,422; and...
Tested with **4679ba4ec99876bf4bfe086082b400254df6c356451471139a3afa71e48f544a000000000000000000000000000000000000000087320b1a1426674f2fa722ce** and **4679ba4ec99876bf4bfe086082b400254df6c356451471139a3afa71e48f544a** but it passed over the real nonce 100258