Python
Python copied to clipboard
proof_of_work.py
Add an algorithm
This pull request introduces the Proof of Work algorithm in the blockchain directory. The algorithm is written in Python and demonstrates the process of mining a new block by finding a nonce value that satisfies a specific condition.
Checklist:
- I have read CONTRIBUTING.md.
- This pull request only changes one algorithm file.
- All new functions are properly typed and include doctests.
- I have tested my code and ensured it passes automated tests.