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.KeyStoreDirFlag,
|
|
|
|
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,
|
2020-10-27 15:53:49 +00:00
|
|
|
BatchSizeFlag,
|
|
|
|
DatabaseFlag,
|
|
|
|
PrivateApiAddr,
|
|
|
|
EtlBufferSizeFlag,
|
|
|
|
LMDBMapSizeFlag,
|
|
|
|
LMDBMaxFreelistReuseFlag,
|
|
|
|
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,
|
|
|
|
utils.RopstenFlag,
|
|
|
|
utils.RinkebyFlag,
|
|
|
|
utils.GoerliFlag,
|
|
|
|
utils.YoloV1Flag,
|
|
|
|
utils.VMEnableDebugFlag,
|
|
|
|
utils.NetworkIdFlag,
|
|
|
|
utils.FakePoWFlag,
|
|
|
|
utils.GpoBlocksFlag,
|
|
|
|
utils.GpoPercentileFlag,
|
|
|
|
utils.EWASMInterpreterFlag,
|
|
|
|
utils.EVMInterpreterFlag,
|
|
|
|
utils.InsecureUnlockAllowedFlag,
|
|
|
|
utils.MetricsEnabledFlag,
|
|
|
|
utils.MetricsEnabledExpensiveFlag,
|
|
|
|
utils.MetricsHTTPFlag,
|
|
|
|
utils.MetricsPortFlag,
|
2020-09-06 15:42:19 +00:00
|
|
|
utils.IdentityFlag,
|
2020-09-05 16:07:27 +00:00
|
|
|
}
|