Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion binaryVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tags/v1.8.12
impr-vm-ops
37 changes: 35 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
# Make sure that this is greater than the unbonding period!
SetGuardianEpochsDelay = 4 # 2 times the maximum unbonding period which can be 2 epochs - 1 round

# ChainParametersByEpoch defines chain operation configurable values that can be modified based on epochs
ChainParametersByEpoch = [
{ EnableEpoch = 0, RoundDuration = 6000, ShardConsensusGroupSize = 21, ShardMinNumNodes = 58, MetachainConsensusGroupSize = 58, MetachainMinNumNodes = 58, Hysteresis = 0.2, Adaptivity = false },
{ EnableEpoch = 9999999, RoundDuration = 6000, ShardConsensusGroupSize = 58, ShardMinNumNodes = 58, MetachainConsensusGroupSize = 58, MetachainMinNumNodes = 58, Hysteresis = 0.2, Adaptivity = false }
]

# EpochChangeGracePeriodEnableEpoch represents the configuration of different grace periods for epoch change with their activation epochs
EpochChangeGracePeriodByEpoch = [
{EnableEpoch = 0, GracePeriodInRounds = 1 },
{EnableEpoch = 9999999, GracePeriodInRounds = 10 }, # Andromeda epoch comes with a longer grace period
]

[HardwareRequirements]
CPUFlags = ["SSE4", "SSE42"]

Expand Down Expand Up @@ -186,6 +198,19 @@
MaxBatchSize = 100
MaxOpenFiles = 10

[ProofsStorage]
[ProofsStorage.Cache]
Name = "ProofsStorage"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 20971520 #20MB
[ProofsStorage.DB]
FilePath = "Proofs"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 100
MaxOpenFiles = 10

[TxStorage]
[TxStorage.Cache]
Name = "TxStorage"
Expand Down Expand Up @@ -365,6 +390,10 @@
MaxHeadersPerShard = 1000
NumElementsToRemoveOnEviction = 200

[ProofsPoolConfig]
CleanupNonceDelta = 3
BucketSize = 100

[BadBlocksCache]
Name = "BadBlocksCache"
Capacity = 1000
Expand Down Expand Up @@ -497,7 +526,7 @@
IntervalInSeconds = 1
ReservedPercent = 20.0
[Antiflood.FastReacting.PeerMaxInput]
BaseMessagesPerInterval = 140
BaseMessagesPerInterval = 280
TotalSizePerInterval = 4194304 #4MB/s
[Antiflood.FastReacting.PeerMaxInput.IncreaseFactor]
Threshold = 10 #if consensus size will exceed this value, then
Expand Down Expand Up @@ -539,7 +568,7 @@
PeerBanDurationInSeconds = 3600

[Antiflood.PeerMaxOutput]
BaseMessagesPerInterval = 75
BaseMessagesPerInterval = 150
TotalSizePerInterval = 2097152 #2MB/s

[Antiflood.Cache]
Expand Down Expand Up @@ -947,3 +976,7 @@
# MaxRoundsOfInactivityAccepted defines the number of rounds missed by a main or higher level backup machine before
# the current machine will take over and propose/sign blocks. Used in both single-key and multi-key modes.
MaxRoundsOfInactivityAccepted = 3

[InterceptedDataVerifier]
CacheSpanInSec = 30
CacheExpiryInSec = 30
4 changes: 4 additions & 0 deletions enableEpochs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@
# RelayedTransactionsV3FixESDTTransferEnableEpoch represents the epoch when the fix for relayed transactions v3 with esdt transfer will be enabled
RelayedTransactionsV3FixESDTTransferEnableEpoch = 3117

# AndromedaEnableEpoch represents the epoch when the equivalent messages and fix order for consensus features are enabled
AndromedaEnableEpoch = 9999999

# BLSMultiSignerEnableEpoch represents the activation epoch for different types of BLS multi-signers
BLSMultiSignerEnableEpoch = [
{ EnableEpoch = 0, Type = "no-KOSK" },
Expand All @@ -363,4 +366,5 @@
{ StartEpoch = 0, FileName = "gasScheduleV1.toml" },
{ StartEpoch = 1, FileName = "gasScheduleV7.toml" },
{ StartEpoch = 1709, FileName = "gasScheduleV8.toml" },
{ StartEpoch = 9999999, FileName = "gasScheduleV9.toml" },
]
Loading
Loading