From d65d88c34e537d6bdd690837fc27022d3a7f5459 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Wed, 5 Mar 2025 19:55:30 +0200 Subject: [PATCH] Update config.go --- eth/ethconfig/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eth/ethconfig/config.go b/eth/ethconfig/config.go index 6b75ab816f..cd9181e5cd 100644 --- a/eth/ethconfig/config.go +++ b/eth/ethconfig/config.go @@ -49,6 +49,7 @@ var FullNodeGPO = gasprice.Config{ // Defaults contains default settings for use on the Ethereum main net. var Defaults = Config{ SyncMode: SnapSync, + HistoryMode: AllHistory, NetworkId: 0, // enable auto configuration of networkID == chainID TxLookupLimit: 2350000, TransactionHistory: 2350000, @@ -80,6 +81,8 @@ type Config struct { // zero, the chain ID is used as network ID. NetworkId uint64 SyncMode SyncMode + // HistoryMode defines the pruning mode for historical blockchain data + HistoryMode HistoryMode // This can be set to list of enrtree:// URLs which will be queried for // nodes to connect to.