erigon-pulse/turbo/cli/default_flags.go
Giulio rebuffo 195eb9abaa
Added mining for POS (#3187)
* added comunication with channels

* added final mining

* removed trash

* bug fixing

* async calls

* one thread

* tests

* better comments

* no lock

* better placing of skipCycleHack

* removed long timer

* moved transitioned block processing

* better naming

* disabled updates on blocks

* sync.Cond

* 2 sync.Cond

* better locking

* Use single sync.Cond. Proposer shutdown

Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
2022-01-04 18:37:36 +01:00

92 lines
2.2 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.MdbxAugmentLimitFlag,
utils.EthashDatasetDirFlag,
utils.TxPoolDisableFlag,
utils.TxPoolLocalsFlag,
utils.TxPoolNoLocalsFlag,
utils.TxPoolJournalFlag,
utils.TxPoolRejournalFlag,
utils.TxPoolPriceLimitFlag,
utils.TxPoolPriceBumpFlag,
utils.TxPoolAccountSlotsFlag,
utils.TxPoolGlobalSlotsFlag,
utils.TxPoolGlobalBaseFeeSlotsFlag,
utils.TxPoolAccountQueueFlag,
utils.TxPoolGlobalQueueFlag,
utils.TxPoolLifetimeFlag,
utils.TxPoolTraceSendersFlag,
PruneFlag,
PruneHistoryFlag,
PruneReceiptFlag,
PruneTxIndexFlag,
PruneCallTracesFlag,
PruneHistoryBeforeFlag,
PruneReceiptBeforeFlag,
PruneTxIndexBeforeFlag,
PruneCallTracesBeforeFlag,
BatchSizeFlag,
BlockDownloaderWindowFlag,
DatabaseVerbosityFlag,
PrivateApiAddr,
PrivateApiRateLimit,
EtlBufferSizeFlag,
TLSFlag,
TLSCertFlag,
TLSKeyFlag,
TLSCACertFlag,
StateStreamDisableFlag,
SyncLoopThrottleFlag,
BadBlockFlag,
utils.SnapshotSyncFlag,
utils.ListenPortFlag,
utils.NATFlag,
utils.NoDiscoverFlag,
utils.DiscoveryV5Flag,
utils.NetrestrictFlag,
utils.NodeKeyFileFlag,
utils.NodeKeyHexFlag,
utils.DNSDiscoveryFlag,
utils.StaticPeersFlag,
utils.TrustedPeersFlag,
utils.MaxPeersFlag,
utils.ChainFlag,
utils.DeveloperPeriodFlag,
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.ProposingEnabledFlag,
utils.MinerNotifyFlag,
utils.MinerGasTargetFlag,
utils.MinerGasLimitFlag,
utils.MinerEtherbaseFlag,
utils.MinerExtraDataFlag,
utils.MinerNoVerfiyFlag,
utils.MinerSigningKeyFileFlag,
utils.SentryAddrFlag,
utils.DownloaderAddrFlag,
HealthCheckFlag,
}