mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
Update config.go
This commit is contained in:
parent
025f35a54d
commit
d65d88c34e
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue