Created
February 10, 2019 23:57
-
-
Save konchunas/f1909accad13539f29cfb3a4a1635e34 to your computer and use it in GitHub Desktop.
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
class Genesis(Block): | |
def __init__(self, creation_time): | |
self.timestamp = creation_time | |
self.prev_hashes = [] | |
def get_hash(self): | |
return self.precalculated_genesis_hash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment