package
0.0.0-20240305091328-aa4207a4b25d
Repository: https://github.com/badrootd/celestia-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ABCIResponsesResultsHash returns the root hash of a Merkle tree of ResponseDeliverTx responses (see ABCIResults.Hash) See merkle.SimpleHashFromByteSlices.
No description provided by the author
ExecCommitBlock executes and commits a block on the proxyApp without validating or mutating the state.
FromProto takes a state proto message & returns the local state type.
InitStateVersion sets the Consensus.Block, Consensus.App and Software versions.
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.
NewBlockExecutor returns a new BlockExecutor with a NopEventBus.
NewStore creates the dbStore of the state pkg.
NopMetrics returns no-op Metrics.
PrometheusMetrics returns Metrics build using Prometheus client library.
Rollback overwrites the current CometBFT state (height n) with the most recent previous state (height n - 1).
TxPostCheck returns a function to filter transactions after processing.
TxPreCheck returns a function to filter transactions before processing.

# Constants

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

# Variables

No description provided by the author

# Structs

BlockExecutor provides the context and accessories for properly executing a block.
EmptyEvidencePool is an empty implementation of EvidencePool, useful for testing.
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.
State is a short description of the latest committed block of the consensus protocol.
No description provided by the author

# Interfaces

BlockStore defines the interface used by the ConsensusState.
EvidencePool defines the EvidencePool interface used by State.
Store defines the state store interface It is used to retrieve current state and save and load ABCI responses, validators and consensus parameters.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author