package
0.34.0
Repository: https://github.com/vipernet-xyz/tendermint.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
DefaultDBProvider returns a database using the DBBackend and DBDir specified in the ctx.Config.
ExecCommitBlock executes and commits a block on the proxyApp without validating or mutating the state.
LoadABCIResponses loads the ABCIResponses for the given height from the database.
LoadConsensusParams loads the ConsensusParams for a given height.
No description provided by the author
No description provided by the author
LoadState loads the State from the database.
LoadStateFromDBOrGenesisDoc loads the most recent state from the database, or creates a new one from the given genesisDoc and persists the result to the database.
LoadStateFromDBOrGenesisFile loads the most recent state from the database, or creates a new one from the given genesisFilePath and persists the result to the database.
LoadValidators loads the ValidatorSet for a given height.
No description provided by the author
MakeGenesisDocFromFile reads and unmarshals genesis doc from the given file.
MakeGenesisState creates state from types.GenesisDoc.
MakeGenesisStateFromFile reads and unmarshals state from the given file.
MedianTime computes a median time for a given Commit (based on Timestamp field of votes messages) and the corresponding validator set.
NewABCIResponses returns a new ABCIResponses.
NewBlockExecutor returns a new BlockExecutor with a NopEventBus.
NopMetrics returns no-op Metrics.
PrometheusMetrics returns Metrics build using Prometheus client library.
PruneStates deletes states between the given heights (including from, excluding to).
No description provided by the author
No description provided by the author
SaveABCIResponses persists the ABCIResponses to the database.
SaveState persists the State, the ValidatorsInfo, and the ConsensusParamsInfo to the database.
TxPostCheck returns a function to filter transactions after processing.
TxPreCheck returns a function to filter transactions before processing.
VerifyEvidence verifies the evidence fully by checking: - it is sufficiently recent (MaxAge) - it is from a key who was a validator at the given height - it is internally consistent - it was properly signed by the alleged equivocator.

# Constants

MetricsSubsystem is a subsystem shared by all metrics exposed by this package.

# Structs

ABCIResponses retains the responses of the various ABCI calls during block processing.
BlockExecutor provides the context and accessories for properly executing a block.
ConsensusParamsInfo represents the latest consensus params, or the last height it changed.
DBContext specifies config information for loading a new DB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Metrics contains metrics exposed by this package.
MockEvidencePool is an empty implementation of EvidencePool, useful for testing.
State is a short description of the latest committed block of the Tendermint consensus.
ValidatorsInfo represents the latest validator set, or the last height it changed.
Version is for versioning the State.

# Interfaces

BlockStore defines the interface used by the ConsensusState.
EvidencePool defines the EvidencePool interface used by the ConsensusState.

# Type aliases

No description provided by the author
DBProvider takes a DBContext and returns an instantiated DB.
No description provided by the author
No description provided by the author