2020-04-06 18:07:26 +00:00
|
|
|
package sealing
|
|
|
|
|
2020-06-03 12:14:06 +00:00
|
|
|
import (
|
|
|
|
"github.com/filecoin-project/specs-actors/actors/abi"
|
|
|
|
"github.com/filecoin-project/specs-actors/actors/builtin/miner"
|
|
|
|
)
|
2020-04-06 18:07:26 +00:00
|
|
|
|
|
|
|
// Epochs
|
2020-06-03 12:14:06 +00:00
|
|
|
const SealRandomnessLookback = miner.ChainFinalityish
|
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
|