add epoch 2 end block info

This commit is contained in:
Jude Nelson
2017-10-31 16:47:33 -04:00
parent 9ace72ebc0
commit 6cd81a1ee8

View File

@@ -378,9 +378,10 @@ DEFAULT_SESSION_LIFETIME = 3600 * 24 * 7 # 1 week
# epoch dates
EPOCH_1_END_BLOCK = 436650
EPOCH_2_END_BLOCK = 488500
# epoch dates for the test environment
NUM_EPOCHS = 2
NUM_EPOCHS = 3
for i in range(1, NUM_EPOCHS + 1):
# epoch lengths can be altered by the test framework, for ease of tests
blockstack_epoch_end_block = os.environ.get('BLOCKSTACK_EPOCH_{}_END_BLOCK'.format(i), None)
@@ -391,7 +392,7 @@ for i in range(1, NUM_EPOCHS + 1):
del i
EPOCH_HEIGHT_MINIMUM = EPOCH_1_END_BLOCK + 1
EPOCH_HEIGHT_MINIMUM = EPOCH_2_END_BLOCK + 1
DEFAULT_BLOCKCHAIN_READER = 'blockstack_utxo'
DEFAULT_BLOCKCHAIN_WRITER = 'blockstack_utxo'