|
43 | 43 | # ChainParametersByEpoch defines chain operation configurable values that can be modified based on epochs |
44 | 44 | ChainParametersByEpoch = [ |
45 | 45 | { EnableEpoch = 0, RoundDuration = 6000, ShardConsensusGroupSize = 21, ShardMinNumNodes = 58, MetachainConsensusGroupSize = 58, MetachainMinNumNodes = 58, Hysteresis = 0.2, Adaptivity = false }, |
46 | | - { EnableEpoch = 9999999, RoundDuration = 6000, ShardConsensusGroupSize = 21, ShardMinNumNodes = 58, MetachainConsensusGroupSize = 58, MetachainMinNumNodes = 58, Hysteresis = 0.2, Adaptivity = false } |
| 46 | + { EnableEpoch = 9999999, RoundDuration = 6000, ShardConsensusGroupSize = 58, ShardMinNumNodes = 58, MetachainConsensusGroupSize = 58, MetachainMinNumNodes = 58, Hysteresis = 0.2, Adaptivity = false } |
| 47 | +] |
| 48 | + |
| 49 | +# EpochChangeGracePeriodEnableEpoch represents the configuration of different grace periods for epoch change with their activation epochs |
| 50 | +EpochChangeGracePeriodByEpoch = [ |
| 51 | + {EnableEpoch = 0, GracePeriodInRounds = 1 }, |
| 52 | + {EnableEpoch = 9999999, GracePeriodInRounds = 10 }, # Andromeda epoch comes with a longer grace period |
47 | 53 | ] |
48 | 54 |
|
49 | 55 | [HardwareRequirements] |
@@ -192,6 +198,19 @@ ChainParametersByEpoch = [ |
192 | 198 | MaxBatchSize = 100 |
193 | 199 | MaxOpenFiles = 10 |
194 | 200 |
|
| 201 | +[ProofsStorage] |
| 202 | + [ProofsStorage.Cache] |
| 203 | + Name = "ProofsStorage" |
| 204 | + Capacity = 1000 |
| 205 | + Type = "SizeLRU" |
| 206 | + SizeInBytes = 20971520 #20MB |
| 207 | + [ProofsStorage.DB] |
| 208 | + FilePath = "Proofs" |
| 209 | + Type = "LvlDBSerial" |
| 210 | + BatchDelaySeconds = 2 |
| 211 | + MaxBatchSize = 100 |
| 212 | + MaxOpenFiles = 10 |
| 213 | + |
195 | 214 | [TxStorage] |
196 | 215 | [TxStorage.Cache] |
197 | 216 | Name = "TxStorage" |
@@ -507,7 +526,7 @@ ChainParametersByEpoch = [ |
507 | 526 | IntervalInSeconds = 1 |
508 | 527 | ReservedPercent = 20.0 |
509 | 528 | [Antiflood.FastReacting.PeerMaxInput] |
510 | | - BaseMessagesPerInterval = 140 |
| 529 | + BaseMessagesPerInterval = 280 |
511 | 530 | TotalSizePerInterval = 4194304 #4MB/s |
512 | 531 | [Antiflood.FastReacting.PeerMaxInput.IncreaseFactor] |
513 | 532 | Threshold = 10 #if consensus size will exceed this value, then |
@@ -549,7 +568,7 @@ ChainParametersByEpoch = [ |
549 | 568 | PeerBanDurationInSeconds = 3600 |
550 | 569 |
|
551 | 570 | [Antiflood.PeerMaxOutput] |
552 | | - BaseMessagesPerInterval = 75 |
| 571 | + BaseMessagesPerInterval = 150 |
553 | 572 | TotalSizePerInterval = 2097152 #2MB/s |
554 | 573 |
|
555 | 574 | [Antiflood.Cache] |
|
0 commit comments