Setup devnet 8 params

This commit is contained in:
Łukasz Magiera 2019-11-15 01:20:39 +01:00
parent 004f647504
commit 75d30b3c70

View File

@ -13,7 +13,6 @@ const UnixfsChunkSize uint64 = 1 << 20
const UnixfsLinksPerLevel = 1024 const UnixfsLinksPerLevel = 1024
var SectorSizes = []uint64{ var SectorSizes = []uint64{
1024,
16 << 20, 16 << 20,
256 << 20, 256 << 20,
1 << 30, 1 << 30,
@ -38,13 +37,13 @@ const PaymentChannelClosingDelay = 6 * 60 * 2 // six hours
// Consensus / Network // Consensus / Network
// Seconds // Seconds
const BlockDelay = 2 const BlockDelay = 12
// Seconds // Seconds
const AllowableClockDrift = BlockDelay * 2 const AllowableClockDrift = BlockDelay * 2
// Blocks // Blocks
const ForkLengthThreshold = 100 const ForkLengthThreshold = Finality
// Blocks (e) // Blocks (e)
const BlocksPerEpoch = 5 const BlocksPerEpoch = 5
@ -61,7 +60,7 @@ const WRatioDen = 2
// Proofs // Proofs
// Blocks // Blocks
const ProvingPeriodDuration uint64 = 20 const ProvingPeriodDuration uint64 = 300
// PoStChallangeTime sets the window in which post computation should happen // PoStChallangeTime sets the window in which post computation should happen
// Blocks // Blocks