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{
|
2020-03-06 00:41:06 +00:00
|
|
|
512 << 20,
|
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
|
2020-03-08 08:07:58 +00:00
|
|
|
const BlockDelay = 25
|
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
|
|
|
// 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
|
|
|
|
2019-12-08 15:14:40 +00:00
|
|
|
// Epochs
|
|
|
|
const InteractivePoRepConfidence = 6
|