Update config.go

This commit is contained in:
VolodymyrBg 2025-03-05 19:55:30 +02:00 committed by GitHub
parent 025f35a54d
commit d65d88c34e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.