common

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockTrack

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

func (*BlockTrack) AddBlock

func (b *BlockTrack) AddBlock(blockNum uint64)

func (*BlockTrack) HealthCheck

func (b *BlockTrack) HealthCheck() error

type State

type State struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*State) Error

func (s *State) Error(err error)

func (*State) IsHealthy

func (s *State) IsHealthy() bool

func (*State) SetHealthy

func (s *State) SetHealthy()

Jump to

Keyboard shortcuts

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