cache

package
v1.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockRootToSlotProvider

type BlockRootToSlotProvider interface {
	// BlockRootToSlot provides the slot for a given block root.
	BlockRootToSlot(ctx context.Context, root phase0.Root) (phase0.Slot, error)
}

BlockRootToSlotProvider provides a mapping from block root to slot.

type ExecutionChainHeadProvider added in v1.6.0

type ExecutionChainHeadProvider interface {
	// ExecutionChainHead provides the current execution chain head.
	ExecutionChainHead(ctx context.Context) (phase0.Hash32, uint64)
}

ExecutionChainHeadProvider provides the current execution chain head.

type Service

type Service interface{}

Service provides a cache for information.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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