View Code? Open in Web Editor
NEW
Implementation of a simulated environment using python
License: MIT License
blockchain-simulation-using-python's Introduction
Blockchain-Simulation-using-Python
Add planets to your Blockchain, tamper the galaxy and validate your solar system.
Implementation of a simulated environment using python
- Required package "hashlib"
- Script "block.py" is implementation of an actual Block, The function "hash_block" is used for calculating hash value for the argumented block.
- Add Three different types of customised block.
- Add a new block using "addBlock.py"
- Validate your block using "validate_blockchain.py"
- Scripts - "jupiter_block.py", "neptune_block.py", "pluto_block.py" are induvidual unrelated blocks to be added to the blockchain.
- Rename "[tampered]addBlock" to "addBlock" to unvalidate your block.