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-02-21 18:20:22 +00:00
|
|
|
"github.com/filecoin-project/specs-actors/actors/builtin/miner"
|
2020-02-10 18:21:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
var SectorSizes = []abi.SectorSize{
|
2019-12-05 15:27:28 +00:00
|
|
|
32 << 30,
|
2019-12-04 16:53:32 +00:00
|
|
|
}
|
|
|
|
|
2019-11-23 19:13:07 +00:00
|
|
|
// Seconds
|
2019-12-09 23:02:35 +00:00
|
|
|
const BlockDelay = 45
|
2019-11-23 19:13:07 +00:00
|
|
|
|
2019-12-09 23:02:35 +00:00
|
|
|
const PropagationDelay = 6
|
2019-12-03 04:34:41 +00:00
|
|
|
|
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
|
2020-02-21 18:20:22 +00:00
|
|
|
const FallbackPoStDelay = miner.ProvingPeriod
|
2019-11-29 20:18:34 +00:00
|
|
|
|
|
|
|
// SlashablePowerDelay is the number of epochs after ElectionPeriodStart, after
|
|
|
|
// which the miner is slashed
|
|
|
|
//
|
|
|
|
// Epochs
|
2020-02-21 18:20:22 +00:00
|
|
|
const SlashablePowerDelay = miner.ProvingPeriod * 3 // TODO: remove
|
2019-11-29 20:18:34 +00:00
|
|
|
|
|
|
|
// Epochs
|
2019-12-03 00:44:52 +00:00
|
|
|
const InteractivePoRepDelay = 8
|
2019-12-08 15:14:40 +00:00
|
|
|
|
|
|
|
// Epochs
|
|
|
|
const InteractivePoRepConfidence = 6
|
2019-12-09 16:08:34 +00:00
|
|
|
|
|
|
|
// Bytes
|
2019-12-11 16:27:30 +00:00
|
|
|
var MinimumMinerPower uint64 = 512 << 30 // 512GB
|