2020-09-05 16:07:27 +00:00
|
|
|
package cli
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/ledgerwatch/turbo-geth/cmd/utils"
|
|
|
|
|
|
|
|
"github.com/urfave/cli"
|
|
|
|
)
|
|
|
|
|
2020-09-21 14:10:25 +00:00
|
|
|
// DefaultFlags contains all flags that are used and supported by turbo-geth binary.
|
2020-09-05 16:07:27 +00:00
|
|
|
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,
|
|
|
|
utils.TxLookupLimitFlag,
|
2020-10-27 15:53:49 +00:00
|
|
|
StorageModeFlag,
|
|
|
|
SnapshotModeFlag,
|
2020-11-13 16:16:47 +00:00
|
|
|
SeedSnapshotsFlag,
|
|
|
|
ExternalSnapshotDownloaderAddrFlag,
|
2021-04-15 10:06:38 +00:00
|
|
|
//CacheSizeFlag,
|
2020-10-27 15:53:49 +00:00
|
|
|
BatchSizeFlag,
|
|
|
|
DatabaseFlag,
|
|
|
|
PrivateApiAddr,
|
|
|
|
EtlBufferSizeFlag,
|
|
|
|
LMDBMapSizeFlag,
|
|
|
|
TLSFlag,
|
|
|
|
TLSCertFlag,
|
|
|
|
TLSKeyFlag,
|
|
|
|
TLSCACertFlag,
|
2020-09-05 16:07:27 +00:00
|
|
|
utils.ListenPortFlag,
|
|
|
|
utils.NATFlag,
|
|
|
|
utils.NoDiscoverFlag,
|
|
|
|
utils.DiscoveryV5Flag,
|
|
|
|
utils.NetrestrictFlag,
|
|
|
|
utils.NodeKeyFileFlag,
|
|
|
|
utils.NodeKeyHexFlag,
|
|
|
|
utils.DNSDiscoveryFlag,
|
2021-04-08 07:39:40 +00:00
|
|
|
utils.ChainFlag,
|
2020-09-05 16:07:27 +00:00
|
|
|
utils.VMEnableDebugFlag,
|
|
|
|
utils.NetworkIdFlag,
|
|
|
|
utils.FakePoWFlag,
|
|
|
|
utils.GpoBlocksFlag,
|
|
|
|
utils.GpoPercentileFlag,
|
|
|
|
utils.InsecureUnlockAllowedFlag,
|
|
|
|
utils.MetricsEnabledFlag,
|
|
|
|
utils.MetricsEnabledExpensiveFlag,
|
|
|
|
utils.MetricsHTTPFlag,
|
|
|
|
utils.MetricsPortFlag,
|
2020-09-06 15:42:19 +00:00
|
|
|
utils.IdentityFlag,
|
2021-04-19 21:58:05 +00:00
|
|
|
utils.CliqueSnapshotCheckpointIntervalFlag,
|
|
|
|
utils.CliqueSnapshotInmemorySnapshotsFlag,
|
|
|
|
utils.CliqueSnapshotInmemorySignaturesFlag,
|
|
|
|
utils.CliqueDataDirFlag,
|
2020-11-28 15:08:02 +00:00
|
|
|
SilkwormFlag,
|
2021-03-23 09:00:07 +00:00
|
|
|
utils.MiningEnabledFlag,
|
|
|
|
utils.MinerNotifyFlag,
|
|
|
|
utils.MinerGasTargetFlag,
|
|
|
|
utils.MinerGasLimitFlag,
|
|
|
|
utils.MinerEtherbaseFlag,
|
|
|
|
utils.MinerExtraDataFlag,
|
|
|
|
utils.MinerNoVerfiyFlag,
|
2020-09-05 16:07:27 +00:00
|
|
|
}
|