Documentation
¶
Index ¶
Constants ¶
View Source
const HeadDriftServiceName = "reader_node_firehose"
Variables ¶
View Source
var AppReadiness = metrics.NewAppReadiness(HeadDriftServiceName)
View Source
var BlockWriteCount = metrics.NewCounter("block_write_count", "The number of blocks written by the Firehose reader to one-block store")
View Source
var HeadBlockNumber = metrics.NewHeadBlockNumber(HeadDriftServiceName)
View Source
var HeadBlockRelativeTime = metrics.NewHeadBlockRelativeTime(HeadDriftServiceName)
View Source
var HeadBlockTimeDrift = metrics.NewHeadTimeDrift(HeadDriftServiceName)
Functions ¶
This section is empty.
Types ¶
type App ¶
func New ¶
func New(config Config, testModeComparator *mindreader.TestModeComparator, zlogger *zap.Logger, tracer logging.Tracer) *App
type Config ¶
type Config struct {
GRPCAddr string
OneBlocksStoreURL string
OneBlockSuffix string
StartBlockNum uint64
StopBlockNum uint64
ReadinessMaxLatency time.Duration
StateFile string
FirehoseConfig FirehoseConfig
// GRPCSecretKey, when non-empty, requires every incoming gRPC call to present
// the key as a Bearer token in the "authorization" metadata header.
GRPCSecretKey string
}
Click to show internal directories.
Click to hide internal directories.