minimal implementation of blockchain.
For consensus algorithm it uses very simple string comparison of initial zeros in block hash.
To find valid hash we're only updating nonce hoping it won't overflow python max integer.
example_blockchain.txt
shows how changing difficulty from 2 to 6 increases required amount of hash calculations exponentailly.
-
Notifications
You must be signed in to change notification settings - Fork 0
minimal implementation of blockchain
License
rrozek/pyblocks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
minimal implementation of blockchain
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published