10s block time

This commit is contained in:
Łukasz Magiera 2019-10-28 19:25:24 +01:00
parent 6d766ab241
commit 6f73e8bf2f

View File

@ -37,7 +37,7 @@ const PaymentChannelClosingDelay = 6 * 60 * 2 // six hours
// Consensus / Network // Consensus / Network
// Seconds // Seconds
const BlockDelay = 3 const BlockDelay = 10
// Seconds // Seconds
const AllowableClockDrift = BlockDelay * 2 const AllowableClockDrift = BlockDelay * 2
@ -55,11 +55,11 @@ const Finality = 500
// Proofs // Proofs
// Blocks // Blocks
const ProvingPeriodDuration = 40 const ProvingPeriodDuration = 60
// PoStChallangeTime sets the window in which post computation should happen // PoStChallangeTime sets the window in which post computation should happen
// Blocks // Blocks
const PoStChallangeTime = ProvingPeriodDuration - 5 const PoStChallangeTime = ProvingPeriodDuration - 6
// PoStRandomnessLookback is additional randomness lookback for PoSt computation // PoStRandomnessLookback is additional randomness lookback for PoSt computation
// To compute randomness epoch in a given proving period: // To compute randomness epoch in a given proving period: