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"
|
|
|
|
"github.com/filecoin-project/go-state-types/big"
|
2020-09-18 21:59:27 +00:00
|
|
|
miner0 "github.com/filecoin-project/specs-actors/actors/builtin/miner"
|
|
|
|
power0 "github.com/filecoin-project/specs-actors/actors/builtin/power"
|
|
|
|
verifreg0 "github.com/filecoin-project/specs-actors/actors/builtin/verifreg"
|
2020-04-17 15:58:20 +00:00
|
|
|
)
|
|
|
|
|
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-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-18 21:59:27 +00:00
|
|
|
power0.ConsensusMinerMinPower = big.NewInt(2048)
|
|
|
|
miner0.SupportedProofTypes = map[abi.RegisteredSealProof]struct{}{
|
2020-06-15 16:34:36 +00:00
|
|
|
abi.RegisteredSealProof_StackedDrg2KiBV1: {},
|
2020-05-12 17:58:12 +00:00
|
|
|
}
|
2020-09-18 21:59:27 +00:00
|
|
|
verifreg0.MinVerifiedDealSize = big.NewInt(256)
|
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
|