Set minimum miner size to 2048 bytes in debug mode

This commit is contained in:
whyrusleeping 2020-03-17 20:30:55 -07:00
parent 9e6ec71520
commit 24fb72f926

View File

@ -4,10 +4,14 @@ package build
import (
"github.com/filecoin-project/specs-actors/actors/abi"
"github.com/filecoin-project/specs-actors/actors/abi/big"
"github.com/filecoin-project/specs-actors/actors/builtin/power"
)
func init() {
InsecurePoStValidation = true
power.ConsensusMinerMinPower = big.NewInt(2048)
}
var SectorSizes = []abi.SectorSize{2048}