lotus/extern/storage-sealing/constants.go

18 lines
380 B
Go
Raw Normal View History

package sealing
import (
2020-09-07 03:49:10 +00:00
"github.com/filecoin-project/go-state-types/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