Skip to content

Instantly share code, notes, and snippets.



Created Aug 12, 2018
What would you like to do?
Simple block in python
class Block:
def __init__(self, index, nonce, prev_hash, timestamp, data, hash):
self.index = index
self.nonce = nonce
self.prev_hash = prev_hash = data
self.timestamp = timestamp
self.hash = hash
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.