mirror of
https://github.com/jwinterm/blockchain-emission-analysis.git
synced 2026-10-29 06:38:40 +01:00
8 lines
331 B
Python
8 lines
331 B
Python
import numpy as np
|
|
|
|
class Blockchain:
|
|
'''Contains time and reward information for a blockchain'''
|
|
def __init__(self, number_of_blocks=7e6, block_skip=10):
|
|
self.number_of_blocks = int(number_of_blocks) # Number of blocks to calculate
|
|
self.block_skip = int(block_skip) # Number of blocks to skip to save time
|