Created
August 12, 2018 14:58
-
-
Save cx0der/45d437f3cdd10e65149de8403b188e05 to your computer and use it in GitHub Desktop.
Initialize Pychain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def mine_genesis_block (): | |
timestamp = time.time() | |
return mine_block(0, "0", timestamp, "Genisis Block") | |
chain = [mine_genesis_block()] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment