2020-04-17 15:58:20 +00:00
|
|
|
// +build debug 2k
|
|
|
|
|
|
|
|
package build
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/filecoin-project/specs-actors/actors/abi"
|
|
|
|
"github.com/filecoin-project/specs-actors/actors/abi/big"
|
2020-05-12 17:58:12 +00:00
|
|
|
"github.com/filecoin-project/specs-actors/actors/builtin/miner"
|
2020-04-17 15:58:20 +00:00
|
|
|
"github.com/filecoin-project/specs-actors/actors/builtin/power"
|
2020-05-14 02:32:04 +00:00
|
|
|
"github.com/filecoin-project/specs-actors/actors/builtin/verifreg"
|
2020-04-17 15:58:20 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
power.ConsensusMinerMinPower = big.NewInt(2048)
|
2020-05-12 17:58:12 +00:00
|
|
|
miner.SupportedProofTypes = map[abi.RegisteredProof]struct{}{
|
|
|
|
abi.RegisteredProof_StackedDRG2KiBSeal: {},
|
|
|
|
}
|
2020-05-14 02:32:04 +00:00
|
|
|
verifreg.MinVerifiedDealSize = big.NewInt(256)
|
2020-04-17 15:58:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Seconds
|
2020-04-20 17:34:08 +00:00
|
|
|
const BlockDelay = 2
|
2020-04-17 15:58:20 +00:00
|
|
|
|
|
|
|
const PropagationDelay = 3
|
|
|
|
|
|
|
|
// SlashablePowerDelay is the number of epochs after ElectionPeriodStart, after
|
|
|
|
// which the miner is slashed
|
|
|
|
//
|
|
|
|
// Epochs
|
|
|
|
const SlashablePowerDelay = 20
|
|
|
|
|
|
|
|
// Epochs
|
|
|
|
const InteractivePoRepConfidence = 6
|