package
0.0.0-20230530162105-6dcdc0ec4805
Repository: https://github.com/consideritdone/landslidecore.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
CustomReactors allows you to add custom reactors (name -> p2p.Reactor) to the node's Switch.
DefaultDBProvider returns a database using the DBBackend and DBDir specified in the ctx.Config.
DefaultGenesisDocProviderFunc returns a GenesisDocProvider that loads the GenesisDoc from the config.GenesisFile() on the filesystem.
DefaultMetricsProvider returns Metrics build using Prometheus client library if Prometheus is enabled.
DefaultNewNode returns a Tendermint node with default settings for the PrivValidator, ClientCreator, GenesisDoc, and DBProvider.
panics if failed to unmarshal bytes.
LoadStateFromDBOrGenesisDocProvider attempts to load the state from the database, or creates one using the given genesisDocProvider.
NewNode returns a new, ready to go, Tendermint Node.
panics if failed to marshal the given genesis document.
StateProvider overrides the state provider used by state sync to retrieve trusted app hashes and build a State object for bootstrapping the node.

# Variables

No description provided by the author

# Structs

DBContext specifies config information for loading a new DB.
No description provided by the author
No description provided by the author
Node is the highest level interface to a full Tendermint node.
No description provided by the author
No description provided by the author

# Type aliases

DBProvider takes a DBContext and returns an instantiated DB.
GenesisDocProvider returns a GenesisDoc.
MetricsProvider returns a consensus, p2p and mempool Metrics.
Option sets a parameter for the node.
Provider takes a config and a logger and returns a ready to go Node.