lotus/extern/storage-sealing/constants.go

18 lines
385 B
Go
Raw Normal View History

package sealing
import (
"github.com/filecoin-project/specs-actors/actors/abi"
"github.com/filecoin-project/specs-actors/actors/builtin/miner"
)
// Epochs
2020-06-26 15:29:08 +00:00
const SealRandomnessLookback = miner.ChainFinality
// Epochs
2020-06-15 13:13:35 +00:00
func SealRandomnessLookbackLimit(spt abi.RegisteredSealProof) abi.ChainEpoch {
return miner.MaxSealDuration[spt]
}
// Epochs
const InteractivePoRepConfidence = 6