Last active
March 8, 2024 18:51
-
-
Save aunyks/1ab4f07568b380f8c42636b3ab8d2dcc 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
import datetime as date | |
def create_genesis_block(): | |
# Manually construct a block with | |
# index zero and arbitrary previous hash | |
return Block(0, date.datetime.now(), "Genesis Block", "0") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
like