package
0.34.20-reap.core.v0.1.14-rc8
Repository: https://github.com/reapchain/reapchain-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

# 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.
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 ReapchainCore state (height n) with the most recent previous state (height n - 1).
StateFromProto takes a state proto message & returns the local state type.
No description provided by the author
TxPostCheck returns a function to filter transactions after processing.
TxPreCheck returns a function to filter transactions before processing.

# Constants

No description provided by the author
No description provided by the author
MetricsSubsystem is a subsystem shared by all metrics exposed by this package.

# Variables

InitStateVersion sets the Consensus.Block and Software versions, but leaves the Consensus.App version blank.

# 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
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 ReapchainCore consensus.

# 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