erigon-pulse/turbo/cli/default_flags.go
ledgerwatch 026c4e9d02
Reorg ropsten solution (#2419)
* Reorg ropsten solution

* Add option

* Print TD recalc

* Correct fix for eip1559

* Try to fix the unwind

* Print header progress and hash

* Not insert descendants of bad headers

* Print some more

* Print less

* Better way of marking bad headers

* Disable inSync

* Penalise peers who give incorrect chain pieces

* better fix for initial cycle

* Clean up

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-22 16:49:36 +01:00

80 lines
1.8 KiB
Go

package cli
import (
"github.com/ledgerwatch/erigon/cmd/utils"
"github.com/urfave/cli"
)
// DefaultFlags contains all flags that are used and supported by Erigon binary.
var DefaultFlags = []cli.Flag{
utils.DataDirFlag,
utils.EthashDatasetDirFlag,
utils.TxPoolLocalsFlag,
utils.TxPoolNoLocalsFlag,
utils.TxPoolJournalFlag,
utils.TxPoolRejournalFlag,
utils.TxPoolPriceLimitFlag,
utils.TxPoolPriceBumpFlag,
utils.TxPoolAccountSlotsFlag,
utils.TxPoolGlobalSlotsFlag,
utils.TxPoolAccountQueueFlag,
utils.TxPoolGlobalQueueFlag,
utils.TxPoolLifetimeFlag,
PruneFlag,
PruneHistoryFlag,
PruneReceiptFlag,
PruneTxIndexFlag,
PruneCallTracesFlag,
SnapshotModeFlag,
SeedSnapshotsFlag,
SnapshotDatabaseLayoutFlag,
ExternalSnapshotDownloaderAddrFlag,
BatchSizeFlag,
BlockDownloaderWindowFlag,
DatabaseVerbosityFlag,
PrivateApiAddr,
EtlBufferSizeFlag,
TLSFlag,
TLSCertFlag,
TLSKeyFlag,
TLSCACertFlag,
SyncLoopThrottleFlag,
BadBlockFlag,
utils.ListenPortFlag,
utils.ListenPort65Flag,
utils.NATFlag,
utils.NoDiscoverFlag,
utils.DiscoveryV5Flag,
utils.NetrestrictFlag,
utils.NodeKeyFileFlag,
utils.NodeKeyHexFlag,
utils.DNSDiscoveryFlag,
utils.StaticPeersFlag,
utils.MaxPeersFlag,
utils.ChainFlag,
utils.VMEnableDebugFlag,
utils.NetworkIdFlag,
utils.FakePoWFlag,
utils.GpoBlocksFlag,
utils.GpoPercentileFlag,
utils.InsecureUnlockAllowedFlag,
utils.MetricsEnabledFlag,
utils.MetricsEnabledExpensiveFlag,
utils.MetricsHTTPFlag,
utils.MetricsPortFlag,
utils.IdentityFlag,
utils.CliqueSnapshotCheckpointIntervalFlag,
utils.CliqueSnapshotInmemorySnapshotsFlag,
utils.CliqueSnapshotInmemorySignaturesFlag,
utils.CliqueDataDirFlag,
utils.MiningEnabledFlag,
utils.MinerNotifyFlag,
utils.MinerGasTargetFlag,
utils.MinerGasLimitFlag,
utils.MinerEtherbaseFlag,
utils.MinerExtraDataFlag,
utils.MinerNoVerfiyFlag,
utils.SentryAddrFlag,
}