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.