Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type Config ¶
type Config struct { BlockStoreURLs []string // Blocks store BlockStreamAddr string // gRPC endpoint to get real-time blocks, can be "" in which live streams is disabled GRPCListenAddr string // gRPC address where this app will listen to GRPCShutdownGracePeriod time.Duration // The duration we allow for gRPC connections to terminate gracefully prior forcing shutdown }
type Modules ¶
type Modules struct { // Required dependencies Authenticator dauth.Authenticator BlockTrimmer blockstreamv2.BlockTrimmer FilterPreprocessorFactory firehose.FilterPreprocessorFactory HeadTimeDriftMetric *dmetrics.HeadTimeDrift HeadBlockNumberMetric *dmetrics.HeadBlockNum Tracker *bstream.Tracker // Optional dependencies BlockFilter func(blk *bstream.Block) error }
Click to show internal directories.
Click to hide internal directories.