lightclient

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LightClient

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

func NewLightClient

func NewLightClient(url string) *LightClient

func (*LightClient) Bootstrap

func (c *LightClient) Bootstrap(blockRoot string) (*consensus.LightClientBootstrapDeneb, error)

Boostrap returns the latest light client bootstrap for the given block root

func (*LightClient) FinalityUpdate

FinalityUpdate returns the latest finalized light client update

func (*LightClient) Updates

func (c *LightClient) Updates(period uint64) ([]*consensus.LightClientUpdateDeneb, error)

Updates fetches light client updates for sync committee period

Jump to

Keyboard shortcuts

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