erigon-pulse/turbo/cli/default_flags.go
b00ris 565a4250d6
Snapshot sync headers stage (#1836)
* save state

* snapshot update works

* save state

* snapshot migrator

* tx test

* save state

* migrations stages refactor

* refactor snapshot migrator

* compilation fixed

* integrate snapshot migrator

* goerli sync headers

* debug async snapshotter on goerly

* move verify headers, remove experiments, fix remove old snapshot

* save state

* refactor snapshotsync injection

* fix deadlock

* replace snapshot generation stage logic to migrate method

* change done for body snapshot

* clean

* clean&&change deleted value

* clean

* fix hash len

* fix hash len

* remove one of wrap methods, add remove snapshots on start

* add err check

* fix shadowing

* stages unwind order debug

* matryoshka experiments

* steam test

* fix build

* fix test

* fix lint

* fix test

* fix test datarace

* add get test

* return timeout

* fix mdbx overlap

* fix after merge

* change epoch size

* clean todo

* fix

* return testdata

* added return from sndownloader gorutine

* fix review comments

* Fix

* More info

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-08 09:45:40 +01:00

76 lines
1.7 KiB
Go

package cli
import (
"github.com/ledgerwatch/turbo-geth/cmd/utils"
"github.com/urfave/cli"
)
// DefaultFlags contains all flags that are used and supported by turbo-geth 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,
PruningFlag,
StorageModeFlag,
SnapshotModeFlag,
SeedSnapshotsFlag,
SnapshotDatabaseLayoutFlag,
ExternalSnapshotDownloaderAddrFlag,
BatchSizeFlag,
DatabaseFlag,
DatabaseVerbosityFlag,
PrivateApiAddr,
EtlBufferSizeFlag,
LMDBMapSizeFlag,
TLSFlag,
TLSCertFlag,
TLSKeyFlag,
TLSCACertFlag,
utils.ListenPortFlag,
utils.NATFlag,
utils.NoDiscoverFlag,
utils.DiscoveryV5Flag,
utils.NetrestrictFlag,
utils.NodeKeyFileFlag,
utils.NodeKeyHexFlag,
utils.DNSDiscoveryFlag,
utils.StaticPeersFlag,
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,
SilkwormFlag,
utils.MiningEnabledFlag,
utils.MinerNotifyFlag,
utils.MinerGasTargetFlag,
utils.MinerGasLimitFlag,
utils.MinerEtherbaseFlag,
utils.MinerExtraDataFlag,
utils.MinerNoVerfiyFlag,
DownloadV2Flag,
utils.SentryAddrFlag,
}