Generates a blockchain with 10 blocks
Implements Proof of Work consensus algorithm
Uses multithreading to make mining easier
Uses serialization to check if the blockchain exists on the hard drive beforehand and checks for its validity
Each block hash has a different number of prefix zeroes. The prefix zeroes in the block hashes are matched using a random magic number in each block
The generation of this "magic number" can take quite some time for longer prefix lengths. Whenever the generation process takes too much time/too less time, then the blockchain regulates the required prefix length by increasing it or by decreasing it resp.
-
Notifications
You must be signed in to change notification settings - Fork 1
farFromShallow101/Blockchain-with-PoW-and-Miners
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published