Skip to content

Instantly share code, notes, and snippets.

View Isaac3N's full-sized avatar

Isaac Ndubuisi Isaac3N

View GitHub Profile
import hashlib
# TThis library takes a variable length of bytes and converts it into a fixed length sequence.
import time
blocks = [] # A block is where all the information about the transaction is stored
# A function to create the genesis block of the blockchain
def init_block():