2020-04-17 15:58:20 +00:00
|
|
|
// +build debug 2k
|
|
|
|
|
|
|
|
package build
|
|
|
|
|
|
|
|
import (
|
2020-09-07 03:49:10 +00:00
|
|
|
"github.com/filecoin-project/go-state-types/abi"
|
2020-09-23 19:24:51 +00:00
|
|
|
"github.com/filecoin-project/lotus/chain/actors/policy"
|
2020-04-17 15:58:20 +00:00
|
|
|
)
|
|
|
|
|
2021-01-05 05:32:15 +00:00
|
|
|
const BootstrappersFile = ""
|
|
|
|
const GenesisFile = ""
|
|
|
|
|
2020-09-09 21:10:35 +00:00
|
|
|
const UpgradeBreezeHeight = -1
|
2020-09-07 18:46:46 +00:00
|
|
|
const BreezeGasTampingDuration = 0
|
|
|
|
|
2020-09-10 18:36:30 +00:00
|
|
|
const UpgradeSmokeHeight = -1
|
2020-09-24 21:30:11 +00:00
|
|
|
const UpgradeIgnitionHeight = -2
|
2020-10-06 21:47:03 +00:00
|
|
|
const UpgradeRefuelHeight = -3
|
2020-10-12 05:31:46 +00:00
|
|
|
const UpgradeTapeHeight = -4
|
2020-10-07 22:17:24 +00:00
|
|
|
|
2021-01-05 05:43:37 +00:00
|
|
|
const UpgradeActorsV2Height = 10
|
|
|
|
const UpgradeLiftoffHeight = -5
|
2020-09-10 18:36:30 +00:00
|
|
|
|
2020-11-05 09:21:03 +00:00
|
|
|
const UpgradeKumquatHeight = 15
|
2020-11-08 04:05:52 +00:00
|
|
|
const UpgradeCalicoHeight = 20
|
2020-11-06 02:33:39 +00:00
|
|
|
const UpgradePersianHeight = 25
|
2020-12-19 20:35:14 +00:00
|
|
|
const UpgradeOrangeHeight = 27
|
2020-12-15 04:51:43 +00:00
|
|
|
const UpgradeClausHeight = 30
|
2020-10-17 00:35:46 +00:00
|
|
|
|
2021-01-19 07:34:28 +00:00
|
|
|
const UpgradeActorsV3Height = 35
|
2021-01-19 03:42:23 +00:00
|
|
|
|
2020-09-09 18:37:12 +00:00
|
|
|
var DrandSchedule = map[abi.ChainEpoch]DrandEnum{
|
2020-09-10 18:36:30 +00:00
|
|
|
0: DrandMainnet,
|
2020-09-09 18:37:12 +00:00
|
|
|
}
|
|
|
|
|
2020-04-17 15:58:20 +00:00
|
|
|
func init() {
|
2020-09-23 19:24:51 +00:00
|
|
|
policy.SetSupportedProofTypes(abi.RegisteredSealProof_StackedDrg2KiBV1)
|
|
|
|
policy.SetConsensusMinerMinPower(abi.NewStoragePower(2048))
|
|
|
|
policy.SetMinVerifiedDealSize(abi.NewStoragePower(256))
|
2021-03-10 12:25:52 +00:00
|
|
|
policy.SetPreCommitChallengeDelay(abi.ChainEpoch(10))
|
|
|
|
|
2020-06-01 18:43:51 +00:00
|
|
|
BuildType |= Build2k
|
2020-04-17 15:58:20 +00:00
|
|
|
}
|
|
|
|
|
2020-09-14 04:25:54 +00:00
|
|
|
const BlockDelaySecs = uint64(4)
|
2020-04-17 15:58:20 +00:00
|
|
|
|
2020-08-07 15:51:35 +00:00
|
|
|
const PropagationDelaySecs = uint64(1)
|
2020-04-17 15:58:20 +00:00
|
|
|
|
|
|
|
// SlashablePowerDelay is the number of epochs after ElectionPeriodStart, after
|
|
|
|
// which the miner is slashed
|
|
|
|
//
|
|
|
|
// Epochs
|
|
|
|
const SlashablePowerDelay = 20
|
|
|
|
|
|
|
|
// Epochs
|
|
|
|
const InteractivePoRepConfidence = 6
|
2020-11-11 04:20:31 +00:00
|
|
|
|
|
|
|
const BootstrapPeerThreshold = 1
|