Created
September 15, 2016 23:11
-
-
Save mikeyb/f6db1bc57a9eace79b024a8d449d1e13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WORD_BYTES = 4 # bytes in word | |
DATASET_BYTES_INIT = 2**30 # bytes in dataset at genesis | |
if (blockHeight >= ######) { | |
DATASET_BYTES_GROWTH = 2**23 # stop growing | |
} else { | |
DATASET_BYTES_GROWTH = 2**23 # dataset growth per epoch | |
} | |
CACHE_BYTES_INIT = 2**24 # bytes in cache at genesis | |
if (blockHeight >= ######) { | |
CACHE_BYTES_GROWTH = 0 # stop growing | |
} else { | |
CACHE_BYTES_GROWTH = 2**17 # cache growth per epoch | |
} | |
CACHE_MULTIPLIER=1024 # Size of the DAG relative to the cache | |
EPOCH_LENGTH = 30000 # blocks per epoch | |
MIX_BYTES = 128 # width of mix | |
HASH_BYTES = 64 # hash length in bytes | |
DATASET_PARENTS = 256 # number of parents of each dataset element | |
CACHE_ROUNDS = 3 # number of rounds in cache production | |
ACCESSES = 64 # number of accesses in hashimoto loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment