Blockchain code with the help of python flask
Run the code on spyder
- ctrl+A + Enter
- Run postman and use following get command
/is_valid
/get_chain
/mine_block
mine_block: Mines the new block
get_chain: Returns the all the blocks attached to a perticular node
is_valid: If the current mined block is valid!