lotus/build/params_debug.go

32 lines
626 B
Go
Raw Normal View History

2019-11-23 19:13:07 +00:00
// +build debug
package build
2020-02-10 18:21:10 +00:00
import (
"github.com/filecoin-project/specs-actors/actors/abi"
"github.com/filecoin-project/specs-actors/actors/abi/big"
"github.com/filecoin-project/specs-actors/actors/builtin/power"
2020-02-10 18:21:10 +00:00
)
func init() {
InsecurePoStValidation = true
power.ConsensusMinerMinPower = big.NewInt(2048)
}
2020-02-28 00:12:52 +00:00
var SectorSizes = []abi.SectorSize{2048}
2019-11-23 19:13:07 +00:00
// Seconds
2019-11-29 20:18:34 +00:00
const BlockDelay = 6
2019-11-23 19:13:07 +00:00
const PropagationDelay = 3
2019-11-29 20:18:34 +00:00
// SlashablePowerDelay is the number of epochs after ElectionPeriodStart, after
// which the miner is slashed
//
// Epochs
const SlashablePowerDelay = 20
// Epochs
const InteractivePoRepConfidence = 6