cometbft

package
v0.2300.8 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	ctx context.Context,
	dataDir string,
	identity *identity.Identity,
	upgrader upgradeAPI.Backend,
	genesisProvider genesisAPI.Provider,
) (consensusAPI.Backend, error)

New creates a new CometBFT consensus backend.

func NewLightClient

func NewLightClient(
	ctx context.Context,
	dataDir string,
	genesis *genesisAPI.Document,
	consensus consensusAPI.Backend,
	p2p rpc.P2P,
) (lightAPI.ClientService, error)

NewLightClient creates a new CometBFT light client service.

Types

This section is empty.

Directories

Path Synopsis
Package abci implements the CometBFT ABCI application integration.
Package abci implements the CometBFT ABCI application integration.
Package api implements the API between Oasis ABCI application and Oasis core.
Package api implements the API between Oasis ABCI application and Oasis core.
apps
beacon
Package beacon implements the combined beacon and epochtime application.
Package beacon implements the combined beacon and epochtime application.
beacon/state
Package state is deprecated.
Package state is deprecated.
governance/api
Package api defines the governance application API for other applications.
Package api defines the governance application API for other applications.
keymanager
Package keymanager implements the key manager management application.
Package keymanager implements the key manager management application.
registry
Package registry implements the registry application.
Package registry implements the registry application.
registry/api
Package api defines the registry application API for other applications.
Package api defines the registry application API for other applications.
roothash
Package roothash implements the roothash application.
Package roothash implements the roothash application.
roothash/api
Package api defines the roothash application API for other applications.
Package api defines the roothash application API for other applications.
scheduler/api
Package api defines the scheduler application API for other applications.
Package api defines the scheduler application API for other applications.
staking
Package staking implements the staking application.
Package staking implements the staking application.
Package beacon implements the CometBFT backed beacon and epochtime backends.
Package beacon implements the CometBFT backed beacon and epochtime backends.
Package config implements global configuration options.
Package config implements global configuration options.
Package crypto implements CometBFT specific cryptography.
Package crypto implements CometBFT specific cryptography.
db
Package db implements several CometBFT DB backends.
Package db implements several CometBFT DB backends.
badger
Package badger implements a CometBFT DB, backed by BadgerDB.
Package badger implements a CometBFT DB, backed by BadgerDB.
tests
Package tests is a collection of CometBFT DB backend tests.
Package tests is a collection of CometBFT DB backend tests.
Package full implements a full CometBFT consensus node.
Package full implements a full CometBFT consensus node.
Package governance implements the CometBFT backed governance backend.
Package governance implements the CometBFT backed governance backend.
Package keymanager provides the CometBFT backed key manager management implementation.
Package keymanager provides the CometBFT backed key manager management implementation.
Package light implements a CometBFT light client service.
Package light implements a CometBFT light client service.
api
Package api provides a light CometBFT consensus backend API.
Package api provides a light CometBFT consensus backend API.
p2p
Package p2p implements the Oasis Core libp2p backed light client provider.
Package p2p implements the Oasis Core libp2p backed light client provider.
Package registry implements the CometBFT backed registry backend.
Package registry implements the CometBFT backed registry backend.
Package roothash implements the CometBFT backed roothash backend.
Package roothash implements the CometBFT backed roothash backend.
Package scheduler implements the CometBFT backed scheduling backend.
Package scheduler implements the CometBFT backed scheduling backend.
Package staking implements the CometBFT backed staking backend.
Package staking implements the CometBFT backed staking backend.

Jump to

Keyboard shortcuts

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