tendermint

package
v0.0.0-...-5038352 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressFromPubKey

func AddressFromPubKey(base64PubKey string) string

Types

type BlocksFeed

type BlocksFeed interface {
	// Subscribe to block height updates via channel. It does not guarantee
	// every block height wll be sent to the channel. It is the downstream
	// responsibility to fill all those gaps
	Subscribe(chan<- uint64) error
}

Tendermint latest block height news feed

type Client

type Client interface {
	Genesis() (*types.Genesis, error)
	LatestBlockHeight() (uint64, error)
	BlockResults(height uint64) (*types.BlockResults, error)
	Block(height uint64) (*types.Block, error)
}

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

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