lotus/build/params_testnet.go

31 lines
586 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"
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{
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
const BlockDelay = 25
2019-11-23 19:13:07 +00:00
2019-12-09 23:02:35 +00:00
const PropagationDelay = 6
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
const InteractivePoRepConfidence = 6
// Bytes
2020-03-06 07:17:28 +00:00
var MinimumMinerPower uint64 = 2 << 30 // 2 GiB