diff --git a/build/params.go b/build/params.go index 19611fb43..7c00f1920 100644 --- a/build/params.go +++ b/build/params.go @@ -28,7 +28,7 @@ const MaxVouchersPerDeal = 768 // roughly one voucher per 10h over a year // Consensus / Network // Seconds -const BlockDelay = 3 +const BlockDelay = 6 // Seconds const AllowableClockDrift = BlockDelay * 2 @@ -43,10 +43,10 @@ const ForkLengthThreshold = 20 const RandomnessLookback = 20 // Blocks -const ProvingPeriodDuration = 10 +const ProvingPeriodDuration = 40 // Blocks -const PoSTChallangeTime = 5 +const PoSTChallangeTime = 20 const PowerCollateralProportion = 20 const PerCapitaCollateralProportion = 5 diff --git a/chain/gen/utils.go b/chain/gen/utils.go index 9362a4083..f069da4a5 100644 --- a/chain/gen/utils.go +++ b/chain/gen/utils.go @@ -202,7 +202,7 @@ func SetupStorageMiners(ctx context.Context, cs *store.ChainStore, sroot cid.Cid // TODO: hardcoding 7000000 here is a little fragile, it changes any // time anyone changes the initial account allocations - rval, err := doExecValue(ctx, vm, actors.StorageMarketAddress, owner, types.NewInt(700000000), actors.SMAMethods.CreateStorageMiner, params) + rval, err := doExecValue(ctx, vm, actors.StorageMarketAddress, owner, types.NewInt(250000000000000000), actors.SMAMethods.CreateStorageMiner, params) if err != nil { return cid.Undef, xerrors.Errorf("failed to create genesis miner: %w", err) } diff --git a/cmd/lotus-fountain/main.go b/cmd/lotus-fountain/main.go index efef52a40..1a9017b31 100644 --- a/cmd/lotus-fountain/main.go +++ b/cmd/lotus-fountain/main.go @@ -19,7 +19,7 @@ import ( var log = logging.Logger("main") -var sendPerRequest = types.NewInt(5_000_000) +var sendPerRequest = types.NewInt(500_000_000) func main() { logging.SetLogLevel("*", "INFO") diff --git a/node/modules/testing/genesis.go b/node/modules/testing/genesis.go index 5085ac4fc..3cbd8c9e2 100644 --- a/node/modules/testing/genesis.go +++ b/node/modules/testing/genesis.go @@ -76,7 +76,7 @@ func MakeGenesis(outFile string) func(bs dtypes.ChainBlockstore, w *wallet.Walle } addrs := map[address.Address]types.BigInt{ - minerAddr: types.NewInt(5000000000), + minerAddr: types.NewInt(5000000000000000000), } b, err := gen.MakeGenesisBlock(bs, addrs, gmc, 100000)