Skip to content

Commit

Permalink
defaults: increase TransactionHistory for Celo
Browse files Browse the repository at this point in the history
  • Loading branch information
palango committed Feb 18, 2025
1 parent 92d82d8 commit 936f94f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eth/ethconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ var FullNodeGPO = gasprice.Config{
// Defaults contains default settings for use on the Ethereum main net.
var Defaults = Config{
SyncMode: SnapSync,
NetworkId: 0, // enable auto configuration of networkID == chainID
TxLookupLimit: 2350000,
TransactionHistory: 2350000,
NetworkId: 0, // enable auto configuration of networkID == chainID
TxLookupLimit: 2350000 * 12, // Increase by factor 12 to adapt to Celo 1s block time
TransactionHistory: 2350000 * 12, // Increase by factor 12 to adapt to Celo 1s block time
StateHistory: params.FullImmutabilityThreshold,
DatabaseCache: 512,
TrieCleanCache: 154,
Expand Down

0 comments on commit 936f94f

Please sign in to comment.