loader

package
v0.37.13 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnexecutedLoader added in v0.33.1

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

deprecated. Storehouse is going to use unfinalized loader instead

func NewUnexecutedLoader added in v0.33.1

func NewUnexecutedLoader(
	log zerolog.Logger,
	state protocol.State,
	headers storage.Headers,
	execState state.ExecutionState,
) *UnexecutedLoader

func (*UnexecutedLoader) LoadUnexecuted added in v0.33.1

func (e *UnexecutedLoader) LoadUnexecuted(ctx context.Context) ([]flow.Identifier, error)

LoadUnexecuted loads all unexecuted and validated blocks any error returned are exceptions

type UnfinalizedLoader added in v0.33.1

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

func NewUnfinalizedLoader added in v0.33.1

func NewUnfinalizedLoader(
	log zerolog.Logger,
	state protocol.State,
	headers storage.Headers,
	execState state.FinalizedExecutionState,
) *UnfinalizedLoader

NewUnfinalizedLoader creates a new loader that loads all unfinalized and validated blocks

func (*UnfinalizedLoader) LoadUnexecuted added in v0.33.1

func (e *UnfinalizedLoader) LoadUnexecuted(ctx context.Context) ([]flow.Identifier, error)

LoadUnexecuted loads all unfinalized and validated blocks any error returned are exceptions

Jump to

Keyboard shortcuts

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