Skip to content

Instantly share code, notes, and snippets.

View renelikestacos's full-sized avatar
:octocat:

Rene Kopeinig renelikestacos

:octocat:
  • Netherlands
View GitHub Profile
import hashlib as hasher
import datetime as date
# Define what a Snakecoin block is
class Block:
def __init__(self, index, timestamp, data, previous_hash):
self.index = index
self.timestamp = timestamp
self.data = data
self.previous_hash = previous_hash
@danhammer
danhammer / trends.py
Created August 11, 2012 00:01
Python implementation of FORMA trend processing