beacon

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NotImplemented = errors.New("Feature is not available")

Error to use when a call is not available

Functions

This section is empty.

Types

type ChainHeadSubscription

type ChainHeadSubscription interface {
	Channel() <-chan types.ChainHead
	Close()
}

type Client

type Client interface {
	GetVersion() (string, error)
	GetGenesisTime() (int64, error)
	GetPeerCount() (int64, error)
	GetAttestationsInPoolCount() (int64, error)
	GetSyncStatus() (bool, error)
	GetChainHead() (*types.ChainHead, error)

	SubscribeChainHeads() (ChainHeadSubscription, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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