Add fork point

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-09-10 20:36:30 +02:00
parent c5323e4e03
commit 4c312ac51e
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA
3 changed files with 11 additions and 5 deletions

View File

@ -13,9 +13,10 @@ import (
const UpgradeBreezeHeight = -1 const UpgradeBreezeHeight = -1
const BreezeGasTampingDuration = 0 const BreezeGasTampingDuration = 0
const UpgradeSmokeHeight = -1
var DrandSchedule = map[abi.ChainEpoch]DrandEnum{ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandIncentinet, 0: DrandMainnet,
3: DrandMainnet,
} }
func init() { func init() {

View File

@ -70,10 +70,12 @@ var (
PackingEfficiencyNum int64 = 4 PackingEfficiencyNum int64 = 4
PackingEfficiencyDenom int64 = 5 PackingEfficiencyDenom int64 = 5
UpgradeBreezeHeight abi.ChainEpoch = 0 UpgradeBreezeHeight abi.ChainEpoch = -1
BreezeGasTampingDuration abi.ChainEpoch = 0 BreezeGasTampingDuration abi.ChainEpoch = 0
UpgradeSmokeHeight = -1
DrandSchedule = map[abi.ChainEpoch]DrandEnum{ DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandIncentinet, 0: DrandMainnet,
} }
) )

View File

@ -14,11 +14,14 @@ import (
var DrandSchedule = map[abi.ChainEpoch]DrandEnum{ var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
0: DrandIncentinet, 0: DrandIncentinet,
UpgradeSmokeHeight: DrandMainnet,
} }
const UpgradeBreezeHeight = 41280 const UpgradeBreezeHeight = 41280
const BreezeGasTampingDuration = 120 const BreezeGasTampingDuration = 120
const UpgradeSmokeHeight = 51000
func init() { func init() {
power.ConsensusMinerMinPower = big.NewInt(10 << 40) power.ConsensusMinerMinPower = big.NewInt(10 << 40)
miner.SupportedProofTypes = map[abi.RegisteredSealProof]struct{}{ miner.SupportedProofTypes = map[abi.RegisteredSealProof]struct{}{