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"
|
|
|
|
)
|
|
|
|
|
2020-01-29 22:39:48 +00:00
|
|
|
func init() {
|
|
|
|
InsecurePoStValidation = true
|
|
|
|
}
|
|
|
|
|
2020-02-28 00:12:52 +00:00
|
|
|
var SectorSizes = []abi.SectorSize{2048}
|
2019-12-03 23:59:40 +00:00
|
|
|
|
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
|
|
|
|
2019-12-03 04:34:41 +00:00
|
|
|
const PropagationDelay = 3
|
|
|
|
|
2019-11-29 20:18:34 +00:00
|
|
|
// 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
|
2019-11-24 19:16:18 +00:00
|
|
|
|
2019-12-08 15:14:40 +00:00
|
|
|
// Epochs
|
|
|
|
const InteractivePoRepConfidence = 6
|
|
|
|
|
2019-12-09 16:08:34 +00:00
|
|
|
// Bytes
|
2019-12-09 21:17:15 +00:00
|
|
|
var MinimumMinerPower uint64 = 2 << 10 // 2KiB
|