set minimum miner size to 2g

This commit is contained in:
Jeromy 2020-05-06 22:05:43 -07:00
parent 97130684a2
commit 0f75cb4dfd

View File

@ -5,8 +5,14 @@ package build
import ( import (
"github.com/filecoin-project/specs-actors/actors/abi" "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() {
power.ConsensusMinerMinPower = big.NewInt(2 << 30)
}
var SectorSizes = []abi.SectorSize{ var SectorSizes = []abi.SectorSize{
512 << 20, 512 << 20,
32 << 30, 32 << 30,