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 ¶
func (c *LightClient) FinalityUpdate() (*consensus.LightClientFinalityUpdateDeneb, error)
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
Click to show internal directories.
Click to hide internal directories.