eth/ethconfig: improve formatting

This commit is contained in:
Felix Lange 2024-08-14 19:49:00 +02:00
parent ba112fea84
commit a6c34acc99

View file

@ -86,8 +86,9 @@ type Config struct {
EthDiscoveryURLs []string EthDiscoveryURLs []string
SnapDiscoveryURLs []string SnapDiscoveryURLs []string
NoPruning bool // Whether to disable pruning and flush everything to disk // State options.
NoPrefetch bool // Whether to disable prefetching and only load state on demand NoPruning bool // Whether to disable pruning and flush everything to disk
NoPrefetch bool // Whether to disable prefetching and only load state on demand
// Deprecated: use 'TransactionHistory' instead. // Deprecated: use 'TransactionHistory' instead.
TxLookupLimit uint64 `toml:",omitempty"` // The maximum number of blocks from head whose tx indices are reserved. TxLookupLimit uint64 `toml:",omitempty"` // The maximum number of blocks from head whose tx indices are reserved.