From 2838d32f6411af2b844bb5a8b22068ff7100d5d5 Mon Sep 17 00:00:00 2001 From: Daniel Van Der Maden Date: Tue, 17 Mar 2020 17:09:55 -0700 Subject: [PATCH] [config] Make epoch 8 blocks for P1 open staking testnets --- internal/configs/sharding/pangaea.go | 4 ++-- internal/configs/sharding/stress.go | 4 ++-- internal/configs/sharding/testnet.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/configs/sharding/pangaea.go b/internal/configs/sharding/pangaea.go index b02b95494..42558667c 100644 --- a/internal/configs/sharding/pangaea.go +++ b/internal/configs/sharding/pangaea.go @@ -15,8 +15,8 @@ var PangaeaSchedule pangaeaSchedule type pangaeaSchedule struct{} const ( - // 10 minutes per epoch (at 8s/block) - pangaeaBlocksPerEpoch = 75 + // ~64 sec epochs for P1 of open staking + pangaeaBlocksPerEpoch = 8 pangaeaVdfDifficulty = 10000 // This takes about 20s to finish the vdf diff --git a/internal/configs/sharding/stress.go b/internal/configs/sharding/stress.go index 2c656339d..1200e1518 100644 --- a/internal/configs/sharding/stress.go +++ b/internal/configs/sharding/stress.go @@ -16,8 +16,8 @@ var StressNetSchedule stressnetSchedule type stressnetSchedule struct{} const ( - // 10 minutes per epoch (at 8s/block) - stressnetBlocksPerEpoch = 75 + // ~64 sec epochs for P1 of open staking + stressnetBlocksPerEpoch = 8 stressnetVdfDifficulty = 10000 // This takes about 20s to finish the vdf diff --git a/internal/configs/sharding/testnet.go b/internal/configs/sharding/testnet.go index 08d7d43b1..fdbb299cf 100644 --- a/internal/configs/sharding/testnet.go +++ b/internal/configs/sharding/testnet.go @@ -16,8 +16,8 @@ var TestnetSchedule testnetSchedule type testnetSchedule struct{} const ( - // 10 minutes per epoch (at 8s/block) - testnetBlocksPerEpoch = 75 + // ~64 sec epochs for P1 of open staking + testnetBlocksPerEpoch = 8 testnetVdfDifficulty = 10000 // This takes about 20s to finish the vdf