lotus/build/params_debug.go
2020-02-10 19:21:10 +01:00

40 lines
736 B
Go

// +build debug
package build
import (
"github.com/filecoin-project/specs-actors/actors/abi"
)
func init() {
InsecurePoStValidation = true
}
var SectorSizes = []abi.SectorSize{1024}
// Seconds
const BlockDelay = 6
const PropagationDelay = 3
// FallbackPoStDelay is the number of epochs the miner needs to wait after
// ElectionPeriodStart before starting fallback post computation
//
// Epochs
const FallbackPoStDelay = 10
// SlashablePowerDelay is the number of epochs after ElectionPeriodStart, after
// which the miner is slashed
//
// Epochs
const SlashablePowerDelay = 20
// Epochs
const InteractivePoRepDelay = 2
// Epochs
const InteractivePoRepConfidence = 6
// Bytes
var MinimumMinerPower uint64 = 2 << 10 // 2KiB