Documentation ¶
Index ¶
- Constants
- Variables
- func FlagDescription(in string, args ...interface{}) string
- func GetIndexStore(dataDir string) (indexStore dstore.Store, possibleIndexSizes []uint64, err error)
- func Main(registerCommonFlags func(logger *zap.Logger, cmd *cobra.Command) error, ...)
- func MustReplaceDataDir(dataDir, in string) string
- func Purge(dataDir string) error
- func RegisterCommonFlags(_ *zap.Logger, cmd *cobra.Command) error
- func Start(ctx context.Context, dataDir string, args []string) (err error)
- func Version(version string) string
- type UpdatableSuperviser
Constants ¶
View Source
const ( Protocol = pbbstream.Protocol_ETH DefaultChainID uint32 = 123 DefaultNetworkID uint32 = 123 DefaultDeploymentID string = "eth-local" OneBlockStoreURL string = "file://{sf-data-dir}/storage/one-blocks" ForkedBlocksStoreURL string = "file://{sf-data-dir}/storage/forked-blocks" MergedBlocksStoreURL string = "file://{sf-data-dir}/storage/merged-blocks" IndexStoreURL string = "file://{sf-data-dir}/storage/index" SnapshotsURL string = "file://{sf-data-dir}/storage/snapshots" StateDBDSN string = "badger://{sf-data-dir}/storage/statedb" MetricsListenAddr string = ":9102" BlocksCacheDirectory string = "{sf-data-dir}/blocks-cache" BlockstreamGRPCServingAddr string = ":13039" BlockstreamHTTPServingAddr string = ":13040" EVMExecutorGRPCServingAddr string = ":13036" FirehoseGRPCServingAddr string = ":13042" SubstreamsTier1GRPCServingAddr string = ":13044" SubstreamsTier2GRPCServingAddr string = ":13045" FirehoseGRPCHealthServingAddr string = ":13043" MergerServingAddr string = ":13012" IndexBuilderServiceAddr string = ":13043" ReaderNodeManagerAPIAddr string = ":13009" ReaderGRPCAddr string = ":13010" NodeManagerAPIAddr string = ":13041" RelayerServingAddr string = ":13011" TokenMetaServingAddr string = ":13039" TraderServingAddr string = ":13038" StateDBServingAddr string = ":13029" StateDBGRPCServingAddr string = ":13035" // Geth instance port definitions ReaderNodeP2PPort string = "30305" ReaderNodeRPCPort string = "8547" NodeP2PPort string = "30303" NodeRPCPort string = "8545" CommonAutoMaxProcsFlag string = "common-auto-max-procs" CommonAutoMemLimitFlag string = "common-auto-mem-limit-percent" CommonSystemShutdownSignalDelayFlag string = "common-system-shutdown-signal-delay" )
Variables ¶
View Source
var DefaultLevelInfo = logging.LoggerDefaultLevel(zap.InfoLevel)
View Source
var RootCmd = &cobra.Command{Use: "fireeth", Short: "Ethereum on StreamingFast"}
View Source
var StartCmd = &cobra.Command{Use: "start", Short: "Starts Ethereum on StreamingFast services all at once", RunE: sfStartE, Args: cobra.ArbitraryArgs}
Functions ¶
func FlagDescription ¶
func GetIndexStore ¶
func MustReplaceDataDir ¶
MustReplaceDataDir is used in sf-ethereum-priv
Types ¶
type UpdatableSuperviser ¶ added in v1.4.12
type UpdatableSuperviser interface {
UpdateLastBlockSeen(blockNum uint64)
}
Click to show internal directories.
Click to hide internal directories.