Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Modules ¶
type Modules struct { // Required dependencies Authenticator dauth.Authenticator HeadTimeDriftMetric *dmetrics.HeadTimeDrift HeadBlockNumberMetric *dmetrics.HeadBlockNum }
type Tier1App ¶
func (*Tier1App) HealthCheck ¶
type Tier1Config ¶
type Tier1Config struct { MergedBlocksStoreURL string OneBlocksStoreURL string ForkedBlocksStoreURL string 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 ServiceDiscoveryURL *url.URL StateStoreURL string StateBundleSize uint64 BlockType string MaxSubrequests uint64 SubrequestsSize uint64 SubrequestsEndpoint string SubrequestsInsecure bool SubrequestsPlaintext bool WASMExtensions []wasm.WASMExtensioner PipelineOptions []pipeline.PipelineOptioner DebugRequestsStates bool Tracing bool }
func (*Tier1Config) Validate ¶
func (config *Tier1Config) Validate() error
Validate inspects itself to determine if the current config is valid according to substreams rules.
type Tier2App ¶
func (*Tier2App) HealthCheck ¶
type Tier2Config ¶
type Tier2Config struct { MergedBlocksStoreURL string GRPCListenAddr string // gRPC address where this app will listen to ServiceDiscoveryURL *url.URL StateStoreURL string StateBundleSize uint64 BlockType string WASMExtensions []wasm.WASMExtensioner PipelineOptions []pipeline.PipelineOptioner Tracing bool }
func (*Tier2Config) Validate ¶
func (config *Tier2Config) Validate() error
Validate inspects itself to determine if the current config is valid according to substreams rules.
Click to show internal directories.
Click to hide internal directories.