Skip to content

Commit aa40d96

Browse files
committed
updated config as per v1.9.3
1 parent ae3feff commit aa40d96

3 files changed

Lines changed: 25 additions & 9 deletions

File tree

binaryVersion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rc/andromeda
1+
tags/v1.9.3

config.toml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@
4343
# ChainParametersByEpoch defines chain operation configurable values that can be modified based on epochs
4444
ChainParametersByEpoch = [
4545
{ 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
4753
]
4854

4955
[HardwareRequirements]
@@ -192,6 +198,19 @@ ChainParametersByEpoch = [
192198
MaxBatchSize = 100
193199
MaxOpenFiles = 10
194200

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+
195214
[TxStorage]
196215
[TxStorage.Cache]
197216
Name = "TxStorage"
@@ -507,7 +526,7 @@ ChainParametersByEpoch = [
507526
IntervalInSeconds = 1
508527
ReservedPercent = 20.0
509528
[Antiflood.FastReacting.PeerMaxInput]
510-
BaseMessagesPerInterval = 140
529+
BaseMessagesPerInterval = 280
511530
TotalSizePerInterval = 4194304 #4MB/s
512531
[Antiflood.FastReacting.PeerMaxInput.IncreaseFactor]
513532
Threshold = 10 #if consensus size will exceed this value, then
@@ -549,7 +568,7 @@ ChainParametersByEpoch = [
549568
PeerBanDurationInSeconds = 3600
550569

551570
[Antiflood.PeerMaxOutput]
552-
BaseMessagesPerInterval = 75
571+
BaseMessagesPerInterval = 150
553572
TotalSizePerInterval = 2097152 #2MB/s
554573

555574
[Antiflood.Cache]

enableEpochs.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,8 @@
339339
# RelayedTransactionsV3FixESDTTransferEnableEpoch represents the epoch when the fix for relayed transactions v3 with esdt transfer will be enabled
340340
RelayedTransactionsV3FixESDTTransferEnableEpoch = 3117
341341

342-
# EquivalentMessagesEnableEpoch represents the epoch when the equivalent messages are enabled
343-
EquivalentMessagesEnableEpoch = 9999999
344-
345-
# FixedOrderInConsensusEnableEpoch represents the epoch when the fixed order in consensus is enabled
346-
FixedOrderInConsensusEnableEpoch = 9999999
342+
# AndromedaEnableEpoch represents the epoch when the equivalent messages and fix order for consensus features are enabled
343+
AndromedaEnableEpoch = 9999999
347344

348345
# BLSMultiSignerEnableEpoch represents the activation epoch for different types of BLS multi-signers
349346
BLSMultiSignerEnableEpoch = [

0 commit comments

Comments
 (0)