outputmodules

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateRequest

func ValidateRequest(request *pbsubstreams.Request, blockType string, isSubRequest bool) error

ValidateRequest is run by the server code.

Types

type Graph

type Graph struct {
	// contains filtered or unexported fields
}

func NewOutputModuleGraph

func NewOutputModuleGraph(request *pbsubstreams.Request) (out *Graph, err error)

func TestNew

func TestNew() *Graph

func (*Graph) AllModules

func (g *Graph) AllModules() []*pbsubstreams.Module

func (*Graph) AncestorsFrom

func (g *Graph) AncestorsFrom(moduleName string) []string

func (*Graph) IsOutputModule

func (g *Graph) IsOutputModule(name string) bool

func (*Graph) ModuleHashes

func (g *Graph) ModuleHashes() *manifest.ModuleHashes

func (*Graph) OutputModule

func (g *Graph) OutputModule() *pbsubstreams.Module

func (*Graph) SchedulableModuleNames

func (g *Graph) SchedulableModuleNames() []string

func (*Graph) Stores

func (g *Graph) Stores() []*pbsubstreams.Module

func (*Graph) ValidateRequestStartBlock

func (g *Graph) ValidateRequestStartBlock(requestStartBlockNum uint64) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL