Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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")
@manhhung68

This comment has been minimized.

Copy link

manhhung68 commented Dec 26, 2017

like

@Kabayomi

This comment has been minimized.

Copy link

Kabayomi commented Feb 15, 2018

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.