forked from multiversx/mx-chain-mainnet-config
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
642 lines (572 loc) · 21.3 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
# GeneralSettings section of the node
[GeneralSettings]
# StatusPollingIntervalSec represents the no of seconds between multiple polling for the status for AppStatusHandler
StatusPollingIntervalSec = 2
# MaxComputableRounds represents the max number of rounds computable in a round
# by the validator statistics processor
MaxComputableRounds = 100
# StartInEpochEnabled represents that the fast bootstrap mechanism from the network is enabled if data is not
# available in local disk
StartInEpochEnabled = true
# DisableDeploy represents the flag to enable/disable deployment of smart contracts
DisableDeploy = true
# DisableBuiltInFunctions represents the flag to enable/disable built in functions calls
DisableBuiltInFunctions = true
# DisableRelayedTx represents the flag to enable/disable relayed transaction standard
DisableRelayedTx = true
# GenesisString represents the encoded string for the genesis block
GenesisString = "457468657265756d2c2077697468206974732072656c656e746c657373206162696c69747920746f2061646170742c206e657665722063656173657320746f20616d617a652e20496e697469616c6c792c2074686520617474656d7074206f6e20737465616c696e67207468652063726f776e2066726f6d20426974636f696e2e"
[StoragePruning]
# If the Enabled flag is set to false, then the storers won't divide epochs into separate dbs
Enabled = true
# If this flag is set to false, the node won't delete any database between epochs
CleanOldEpochsData = false
# NumEpochsToKeep - if the flag above is set to true, this will set the number of epochs to keep in the storage.
# Epochs older that (current epoch - NumOfEpochsToKeep) will be removed
NumEpochsToKeep = 4
# NumActivePersisters - this will set the number of persisters to keep active at a moment. This works even if
# the node removes old epochs data or not. In case of a node which removes old epochs data, this value has to be
# smaller or equal to the NumOfEpochsToKeep flag
NumActivePersisters = 3
[MiniBlocksStorage]
[MiniBlocksStorage.Cache]
Name = "MiniBlocksStorage"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 104857600 #100MB
[MiniBlocksStorage.DB]
FilePath = "MiniBlocks"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 100
MaxOpenFiles = 10
[PeerBlockBodyStorage]
[PeerBlockBodyStorage.Cache]
Name = "PeerBlockBodyStorage"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 104857600 #100MB
[PeerBlockBodyStorage.DB]
FilePath = "PeerBlocks"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 100
MaxOpenFiles = 10
[BlockHeaderStorage]
[BlockHeaderStorage.Cache]
Name = "BlockHeaderStorage"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 3145728 #3MB
[BlockHeaderStorage.DB]
FilePath = "BlockHeaders"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1
MaxOpenFiles = 10
[BootstrapStorage]
[BootstrapStorage.Cache]
Name = "BootstrapStorage"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 104857600 #100MB
[BootstrapStorage.DB]
FilePath = "BootstrapData"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1
MaxOpenFiles = 10
[MetaBlockStorage]
[MetaBlockStorage.Cache]
Name = "MetaBlockStorage"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 20971520 #20MB
[MetaBlockStorage.DB]
FilePath = "MetaBlock"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1
MaxOpenFiles = 10
[TxStorage]
[TxStorage.Cache]
Name = "TxStorage"
Capacity = 500000
Type = "SizeLRU"
SizeInBytes = 209715200 #200MB
[TxStorage.DB]
FilePath = "Transactions"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 30000
MaxOpenFiles = 10
[TxLogsStorage]
[TxLogsStorage.Cache]
Name = "TxLogsStorage"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 20971520 #20MB
[TxLogsStorage.DB]
FilePath = "Logs"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 100
MaxOpenFiles = 10
[UnsignedTransactionStorage]
[UnsignedTransactionStorage.Cache]
Name = "UnsignedTransactionStorage"
Capacity = 250000
Type = "SizeLRU"
SizeInBytes = 104857600 #100MB
[UnsignedTransactionStorage.DB]
FilePath = "UnsignedTransactions"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 20000
MaxOpenFiles = 10
[RewardTxStorage]
[RewardTxStorage.Cache]
Name = "RewardTxStorage"
Capacity = 75000
Type = "SizeLRU"
SizeInBytes = 52428800 #50MB
[RewardTxStorage.DB]
FilePath = "RewardTransactions"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 20000
MaxOpenFiles = 10
[StatusMetricsStorage]
[StatusMetricsStorage.Cache]
Name = "StatusMetricsStorage"
Capacity = 1000
Type = "LRU"
[StatusMetricsStorage.DB]
FilePath = "StatusMetricsStorageDB"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 100
MaxOpenFiles = 10
[ShardHdrNonceHashStorage]
[ShardHdrNonceHashStorage.Cache]
Name = "ShardHdrNonceHashStorage"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 3145728 #3MB
[ShardHdrNonceHashStorage.DB]
FilePath = "ShardHdrHashNonce"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1
MaxOpenFiles = 10
[MetaHdrNonceHashStorage]
[MetaHdrNonceHashStorage.Cache]
Name = "MetaHdrNonceHashStorage"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 3145728 #3MB
[MetaHdrNonceHashStorage.DB]
FilePath = "MetaHdrHashNonce"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1
MaxOpenFiles = 10
[AccountsTrieStorage]
[AccountsTrieStorage.Cache]
Name = "AccountsTrieStorage"
Capacity = 500000
Type = "SizeLRU"
SizeInBytes = 314572800 #300MB
[AccountsTrieStorage.DB]
FilePath = "AccountsTrie/MainDB"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 45000
MaxOpenFiles = 10
[EvictionWaitingList]
Size = 10000
[EvictionWaitingList.DB]
FilePath = "EvictionWaitingList"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 100
MaxOpenFiles = 10
[TrieSnapshotDB]
FilePath = "TrieSnapshot"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 40000
MaxOpenFiles = 10
[TrieStorageManagerConfig]
PruningBufferLen = 100000
SnapshotsBufferLen = 1000000
MaxSnapshots = 3
[PeerAccountsTrieStorage]
[PeerAccountsTrieStorage.Cache]
Name = "PeerAccountsTrieStorage"
Capacity = 5000
Type = "SizeLRU"
SizeInBytes = 104857600 #100MB
[PeerAccountsTrieStorage.DB]
FilePath = "PeerAccountsTrie/MainDB"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1000
MaxOpenFiles = 10
[HeadersPoolConfig]
MaxHeadersPerShard = 1000
NumElementsToRemoveOnEviction = 200
[BadBlocksCache]
Name = "BadBlocksCache"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 3145728 #3MB
[TxBlockBodyDataPool]
Name = "TxBlockBodyDataPool"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 314572800 #300MB
[PeerBlockBodyDataPool]
Name = "PeerBlockBodyDataPool"
Capacity = 1000
Type = "SizeLRU"
SizeInBytes = 314572800 #300MB
[TxDataPool]
Name = "TxDataPool"
Capacity = 600000
SizePerSender = 20000
SizeInBytes = 419430400 #400MB
SizeInBytesPerSender = 12288000
Type = "TxCache"
Shards = 16
[TrieNodesDataPool]
Name = "TrieNodesDataPool"
Capacity = 900000
Type = "SizeLRU"
SizeInBytes = 314572800 #300MB
[WhiteListPool]
Name = "WhiteListPool"
Capacity = 100000
Type = "FIFOSharded"
Shards = 10
[WhiteListerVerifiedTxs]
Name = "WhiteListerVerifiedTxs"
Capacity = 50000
Type = "FIFOSharded"
Shards = 50
[UnsignedTransactionDataPool]
Name = "UnsignedTransactionDataPool"
Capacity = 75000 # per each pair (sourceShard, destinationShard)
SizeInBytes = 31457280 # 30MB per each pair (sourceShard, destinationShard)
Shards = 4
[RewardTransactionDataPool]
Name = "RewardTransactionDataPool"
Capacity = 75000 # per each pair (metachain, destinationShard)
SizeInBytes = 26214400 # 25MB per each pair (metachain, destinationShard)
Shards = 4
#PublicKeyPeerId represents the main cache used to map Elrond block signing public keys to their associated peer id's.
[PublicKeyPeerId]
Name = "PublicKeyPeerId"
Capacity = 30000
Type = "LRU"
#PublicKeyShardId is the fallback cache used to map public keys to the shard they belong.
[PublicKeyShardId]
Name = "PublicKeyShardId"
Capacity = 30000
Type = "LRU"
#PublicKeyPIDSignature is the cache that is used to map a public key to a peerId-signature pair.
[PublicKeyPIDSignature]
Name = "PublicKeyPIDSignature"
Capacity = 3000
Type = "LRU"
#PeerIdShardId is the fallback cache used in network sharding to allow direct connection between peer id and shard.
# Used mainly for observers.
[PeerIdShardId]
Name = "PeerIdShardId"
Capacity = 30000
Type = "LRU"
[PeerHonesty]
Name = "PeerHonesty"
Capacity = 5000
Type = "LRU"
[Antiflood]
Enabled = true
NumConcurrentResolverJobs = 50
[Antiflood.FastReacting]
IntervalInSeconds = 1
ReservedPercent = 20
[Antiflood.FastReacting.PeerMaxInput]
BaseMessagesPerInterval = 140
TotalSizePerInterval = 4194304 #4MB/s
[Antiflood.FastReacting.PeerMaxInput.IncreaseFactor]
Threshold = 10 #if consensus size will exceed this value, then
Factor = 1 #increase the base value with [factor*consensus size]
[Antiflood.FastReacting.BlackList]
ThresholdNumMessagesPerInterval = 1000
ThresholdSizePerInterval = 8388608 #8MB/s
NumFloodingRounds = 10
PeerBanDurationInSeconds = 300
[Antiflood.SlowReacting]
IntervalInSeconds = 30
ReservedPercent = 20.0
[Antiflood.SlowReacting.PeerMaxInput]
BaseMessagesPerInterval = 6000
TotalSizePerInterval = 18874368 # 18MB/interval
[Antiflood.SlowReacting.PeerMaxInput.IncreaseFactor]
Threshold = 10 #if consensus size will exceed this value, then
Factor = 0 #increase the base value with [factor*consensus size]
[Antiflood.SlowReacting.BlackList]
ThresholdNumMessagesPerInterval = 10000
ThresholdSizePerInterval = 37748736 # 36MB/interval
NumFloodingRounds = 2
PeerBanDurationInSeconds = 3600
[Antiflood.OutOfSpecs]
IntervalInSeconds = 1
ReservedPercent = 0.0
[Antiflood.OutOfSpecs.PeerMaxInput]
BaseMessagesPerInterval = 2000
TotalSizePerInterval = 10485760 # 10MB/interval
[Antiflood.OutOfSpecs.PeerMaxInput.IncreaseFactor]
Threshold = 0 #if consensus size will exceed this value, then
Factor = 0 #increase the base value with [factor*consensus size]
[Antiflood.OutOfSpecs.BlackList]
ThresholdNumMessagesPerInterval = 3600
ThresholdSizePerInterval = 12582912 # 12MB/interval
NumFloodingRounds = 2
PeerBanDurationInSeconds = 3600
[Antiflood.PeerMaxOutput]
BaseMessagesPerInterval = 75
TotalSizePerInterval = 2097152 #2MB/s
[Antiflood.Cache]
Name = "Antiflood"
Capacity = 7000
Type = "LRU"
[Antiflood.Topic]
DefaultMaxMessagesPerSec = 15000
MaxMessages = [{ Topic = "heartbeat", NumMessagesPerSec = 30 },
{ Topic = "shardBlocks*", NumMessagesPerSec = 30 },
{ Topic = "metachainBlocks", NumMessagesPerSec = 30 }]
[Antiflood.WebServer]
# SimultaneousRequests represents the number of concurrent requests accepted by the web server
# this is a global throttler that acts on all http connections regardless of the originating source
SimultaneousRequests = 100
# SameSourceRequests defines how many requests are allowed from the same source in the specified
# time frame (SameSourceResetIntervalInSec)
SameSourceRequests = 10000
# SameSourceResetIntervalInSec time frame between counter reset, in seconds
SameSourceResetIntervalInSec = 1
# EndpointsThrottlers represents a map for maximum simultaneous go routines for an endpoint
EndpointsThrottlers = [{ Endpoint = "/transaction/:hash", MaxNumGoRoutines = 10 },
{ Endpoint = "/transaction/send", MaxNumGoRoutines = 2 },
{ Endpoint = "/transaction/send-multiple", MaxNumGoRoutines = 2 }]
[Antiflood.TxAccumulator]
# MaxAllowedTimeInMilliseconds is used as a time frame in which the node gathers transactions.
# After this period, collected transactions will be sent on the p2p topics
MaxAllowedTimeInMilliseconds = 250
# MaxDeviationTimeInMilliseconds represents the time in miliseconds that will cause the effectual time frame be
# less than the specified max value. This is used to create desynchronizations between senders as to not
# clutter the network exactly in the same moment
MaxDeviationTimeInMilliseconds = 25
[Logger]
Path = "logs"
StackTraceDepth = 2
[AddressPubkeyConverter]
Length = 32
Type = "bech32"
SignatureLength = 0
[ValidatorPubkeyConverter]
Length = 96
Type = "hex"
SignatureLength = 48
[Hasher]
Type = "blake2b"
[MultisigHasher]
Type = "blake2b"
# The main marshalizer, used in internodes communication
# Type identifies the marshalizer
# SizeCheckDelta the maximum allow drift between the input data buffer and
# the reencoded version (in percents).
# 0 disables the feature.
[Marshalizer]
Type = "gogo protobuf"
SizeCheckDelta = 10
# The marshalizer used for smartcontracts data exchange
[VmMarshalizer]
Type = "json"
# The marshalizer used in transaction signing
[TxSignMarshalizer]
Type = "json"
# TODO: change this config to real numbers before merging to development
[EpochStartConfig]
MinRoundsBetweenEpochs = 14400
RoundsPerEpoch = 14400
# Min and Max ShuffledOutRestartThreshold represents the minimum and maximum duration of an epoch (in percentage) after a node which
# has been shuffled out has to restart its process in order to start in a new shard
MinShuffledOutRestartThreshold = 0.01
MaxShuffledOutRestartThreshold = 0.05
MinNumConnectedPeersToStart = 6
MinNumOfPeersToConsiderBlockValid = 6
# ResourceStats, if enabled, will output in a folder called "stats"
# resource statistics. For example: number of active go routines, memory allocation, number of GC sweeps, etc.
# RefreshIntervalInSec will tell how often a new line containing stats should be added in stats file
[ResourceStats]
Enabled = true
RefreshIntervalInSec = 30
# Heartbeat, if enabled, will output a heartbeat signal once x seconds,
# where x in [MinTimeToWaitBetweenBroadcastsInSec, MaxTimeToWaitBetweenBroadcastsInSec)
[Heartbeat]
MinTimeToWaitBetweenBroadcastsInSec = 50
MaxTimeToWaitBetweenBroadcastsInSec = 70
HeartbeatRefreshIntervalInSec = 60
HideInactiveValidatorIntervalInSec = 600
DurationToConsiderUnresponsiveInSec = 300
[Heartbeat.HeartbeatStorage]
[Heartbeat.HeartbeatStorage.Cache]
Name = "HeartbeatStorage"
Capacity = 1000
Type = "LRU"
[Heartbeat.HeartbeatStorage.DB]
FilePath = "HeartbeatStorage"
Type = "LvlDBSerial"
BatchDelaySeconds = 5
MaxBatchSize = 100
MaxOpenFiles = 10
[ValidatorStatistics]
CacheRefreshIntervalInSec = 60
# Consensus type which will be used (the current implementation can manage "bn" and "bls")
# When consensus type is "bls" the multisig hasher type should be "blake2b"
[Consensus]
Type = "bls"
[NTPConfig]
Hosts = ["time.google.com", "time.cloudflare.com", "time.apple.com"]
Port = 123
TimeoutMilliseconds = 100
SyncPeriodSeconds = 3600
Version = 0 # Setting 0 means 'use default value'
[StateTriesConfig]
CheckpointRoundsModulus = 100
AccountsStatePruningEnabled = true
PeerStatePruningEnabled = true
MaxStateTrieLevelInMemory = 5
MaxPeerTrieLevelInMemory = 5
[BlockSizeThrottleConfig]
MinSizeInBytes = 104857 # 104857 is 10% from 1MB
MaxSizeInBytes = 943718 # 943718 is 90% from 1MB
[VirtualMachineConfig]
OutOfProcessEnabled = true
[VirtualMachineConfig.OutOfProcessConfig]
LogsMarshalizer = "json"
MessagesMarshalizer = "json"
MaxLoopTime = 1000
[Hardfork]
EnableTrigger = true
EnableTriggerFromP2P = true
PublicKeyToListenFrom = "6a02b93375e78aed4e0e3369ef2182dfc060eea01df640eacc5eca5f759f62c8271fbbf90863e896e2453384118be20179433cb1dfc1bd8df962c80f3da94ea42dffaf70025b6fd6a5b4814bc4b15cf6751c990fe21d392f1bc88c15bd354a8c"
CloseAfterExportInMinutes = 10000
AfterHardFork = false
ImportFolder = "export"
StartRound = 10000
StartNonce = 10000
StartEpoch = 100
GenesisTime = 0
ValidatorGracePeriodInEpochs = 1 #defines how long is the rating computation disabled after hardfork
[Hardfork.ExportStateStorageConfig]
[Hardfork.ExportStateStorageConfig.Cache]
Name = "HardFork.ExportStateStorageConfig"
Capacity = 5000
Type = "LRU"
[Hardfork.ExportStateStorageConfig.DB]
FilePath = "ExportStateStorage/MainDB"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1000
MaxOpenFiles = 10
[Hardfork.ExportKeysStorageConfig]
[Hardfork.ExportKeysStorageConfig.Cache]
Name = "HardFork.ExportKeysStorageConfig"
Capacity = 5000
Type = "LRU"
[Hardfork.ExportKeysStorageConfig.DB]
FilePath = "ExportKeysStorageConfig/MainDB"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1000
MaxOpenFiles = 10
[Hardfork.ExportTriesStorageConfig]
[Hardfork.ExportTriesStorageConfig.Cache]
Name = "HardFork.ExportTriesStorageConfig"
Capacity = 5000
Type = "LRU"
[Hardfork.ExportTriesStorageConfig.DB]
FilePath = "ExportTrieStorage/MainTrie"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1000
MaxOpenFiles = 10
[Hardfork.ImportStateStorageConfig]
[Hardfork.ImportStateStorageConfig.Cache]
Name = "HardFork.ImportStateStorageConfig"
Capacity = 5000
Type = "LRU"
[Hardfork.ImportStateStorageConfig.DB]
FilePath = "ExportStateStorage/MainDB"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1000
MaxOpenFiles = 10
[Hardfork.ImportKeysStorageConfig]
[Hardfork.ImportKeysStorageConfig.Cache]
Name = "HardFork.ImportKeysStorageConfig"
Capacity = 5000
Type = "LRU"
[Hardfork.ImportKeysStorageConfig.DB]
FilePath = "ExportKeysStorageConfig/MainDB"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 1000
MaxOpenFiles = 10
[Debug]
[Debug.InterceptorResolver]
Enabled = false
CacheSize = 10000
EnablePrint = false
IntervalAutoPrintInSeconds = 20
NumRequestsThreshold = 9
NumResolveFailureThreshold = 3
DebugLineExpiration = 10 #Will remove the debug line after a `DebugLineExpiration` number of prints
[Debug.Antiflood]
Enabled = true
CacheSize = 10000
IntervalAutoPrintInSeconds = 20
[Health]
IntervalVerifyMemoryInSeconds = 5
IntervalDiagnoseComponentsInSeconds = 30
IntervalDiagnoseComponentsDeeplyInSeconds = 120
MemoryUsageToCreateProfiles = 2415919104 # 2.25GB
NumMemoryUsageRecordsToKeep = 100
FolderPath = "health-records"
[SoftwareVersionConfig]
StableTagLocation = "https://api.github.com/repos/ElrondNetwork/elrond-config-mainnet/releases/latest"
PollingIntervalInMinutes = 65
[FullHistory]
Enabled = false
[FullHistory.HistoryTransactionStorageConfig.Cache]
Name = "FullHistory.HistoryTransactionsConfig"
Capacity = 20000
Type = "LRU"
[FullHistory.HistoryTransactionStorageConfig.DB]
FilePath = "FullHistory.HistoryTransactions/MainDB"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 20000
MaxOpenFiles = 10
[FullHistory.HashEpochStorageConfig.Cache]
Name = "HashEpochStorage"
Capacity = 20000
Type = "LRU"
[FullHistory.HashEpochStorageConfig.DB]
FilePath = "HashEpochDB"
Type = "LvlDBSerial"
BatchDelaySeconds = 2
MaxBatchSize = 20000
MaxOpenFiles = 10