Verify data for presealed data

This commit is contained in:
Jeromy committed 2020-05-13 19:35:44 -07:00
1 parent 42269e17cc
commit 50fae56baf
13 files changed
+118 -9

No files matched your search

+2
View File
@@ -7,6 +7,7 @@ import (
"github.com/filecoin-project/specs-actors/actors/abi/big"
"github.com/filecoin-project/specs-actors/actors/builtin/miner"
"github.com/filecoin-project/specs-actors/actors/builtin/power"
"github.com/filecoin-project/specs-actors/actors/builtin/verifreg"
)
func init() {
@@ -14,6 +15,7 @@ func init() {
miner.SupportedProofTypes = map[abi.RegisteredProof]struct{}{
abi.RegisteredProof_StackedDRG2KiBSeal: {},
}
verifreg.MinVerifiedDealSize = big.NewInt(256)
}
// Seconds