2020-04-06 18:07:26 +00:00
|
|
|
package sealing
|
|
|
|
|
2020-06-03 12:14:06 +00:00
|
|
|
import (
|
2020-09-07 03:49:10 +00:00
|
|
|
"github.com/filecoin-project/go-state-types/abi"
|
2020-06-03 12:14:06 +00:00
|
|
|
"github.com/filecoin-project/specs-actors/actors/builtin/miner"
|
|
|
|
)
|
2020-04-06 18:07:26 +00:00
|
|
|
|
|
|
|
// Epochs
|
2020-06-26 15:29:08 +00:00
|
|
|
const SealRandomnessLookback = miner.ChainFinality
|
2020-04-06 18:07:26 +00:00
|
|
|
|
|
|
|
// Epochs
|
2020-06-15 13:13:35 +00:00
|
|
|
func SealRandomnessLookbackLimit(spt abi.RegisteredSealProof) abi.ChainEpoch {
|
2020-06-03 12:14:06 +00:00
|
|
|
return miner.MaxSealDuration[spt]
|
|
|
|
}
|
2020-04-06 18:07:26 +00:00
|
|
|
|
|
|
|
// Epochs
|
|
|
|
const InteractivePoRepConfidence = 6
|