2019-11-23 19:13:07 +00:00
|
|
|
// +build debug
|
|
|
|
|
|
|
|
package build
|
|
|
|
|
2019-11-24 19:16:18 +00:00
|
|
|
import "os"
|
|
|
|
|
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-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
|
|
|
|
|
|
|
func init() {
|
|
|
|
os.Setenv("TRUST_PARAMS", "1")
|
|
|
|
}
|