package
0.16.0
Repository: https://github.com/project-arda/tendermint.git
Documentation: pkg.go.dev

# Functions

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
DefaultBlockGossip returns a default BlockGossip.
DefaultBlockSize returns a default BlockSize.
DefaultConsensusParams returns a default ConsensusParams.
DefaultEvidence Params returns a default EvidenceParams.
DefaultTxSize returns a default TxSize.
No description provided by the author
GenesisDocFromFile reads JSON data from a file and unmarshalls it into a GenesisDoc.
GenesisDocFromJSON unmarshalls JSON data into a GenesisDoc.
GenPrivValidatorFS generates a new validator with randomly generated private key and sets the filePath, but does not call Save().
No description provided by the author
LoadOrGenPrivValidatorFS loads a PrivValidatorFS from the given filePath or else generates a new one and saves it to the filePath.
LoadPrivValidatorFS loads a PrivValidatorFS from the filePath.
LoadPrivValidatorWithSigner loads a PrivValidatorFS with a custom signer object.
MakeBlock returns a new block with an empty header, except what can be computed from itself.
No description provided by the author
NewBlockMeta returns a new BlockMeta from the block and its blockParts.
No description provided by the author
NewDefaultSigner returns an instance of DefaultSigner.
NewEventBus returns a new event bus.
NewEventBusWithBufferCapacity returns a new event bus with the given buffer capacity.
No description provided by the author
UNSTABLE.
Returns an immutable, full PartSet from the data bytes.
Returns an empty PartSet ready to be populated.
No description provided by the author
NewProposal returns a new Proposal.
No description provided by the author
NewResults creates ABCIResults from ResponseDeliverTx.
NewTxEventBuffer accepts a TxEventPublisher and returns a new buffer with the given capacity.
No description provided by the author
No description provided by the author
Constructs a new VoteSet struct used to accumulate votes for given height/round.
No description provided by the author
RandValidator returns a randomized validator, useful for testing.
RandValidatorSet returns a randomized validator set, useful for testing.
SignBytes is a convenience method for getting the bytes to sign of a Signable.

# Constants

Reserved event types.
Reserved event types.
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
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
Reserved event types.
EventTypeKey is a reserved key, used to specify event type in tags.
Reserved event types.
Reserved event types.
Reserved event types.
TxHashKey is a reserved key, used to specify transaction's hash.
TxHeightKey is a reserved key, used to specify transaction block's height.
Types of votes TODO Make a new type "VoteType".
Types of votes TODO Make a new type "VoteType".

# Variables

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
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
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
UNSTABLE.
UNSTABLE.
TM2PB is used for converting Tendermint types to protobuf types.
No description provided by the author

# Structs

ABCIResult is the deterministic component of a ResponseDeliverTx.
Block defines the atomic unit of a Tendermint blockchain.
BlockGossip determine consensus critical elements of how blocks are gossiped.
BlockID defines the unique ID of a block as its Hash and its PartSetHeader.
BlockMeta contains meta information about a block - namely, it's ID and Header.
BlockSize contain limits on the block size.
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
Commit contains the evidence that a block was committed by a set of validators.
ConsensusParams contains consensus critical parameters that determine the validity of blocks.
Data contains the set of transactions included in the block.
DefaultSigner implements Signer.
DuplicateVoteEvidence contains evidence a validator signed two conflicting votes.
ErrEvidenceInvalid wraps a piece of evidence and the error denoting how or why it is invalid.
No description provided by the author
EventBus is a common bus for all events going through the system.
No description provided by the author
light weight event for benchmarking.
No description provided by the author
NOTE: This goes into the replay WAL.
All txs fire EventDataTx.
No description provided by the author
EvidenceData contains any evidence of malicious wrong-doing by validators.
EvidenceParams determine how we handle evidence of malfeasance.
GenesisDoc defines the initial conditions for a tendermint blockchain, in particular its validator set.
GenesisValidator is an initial validator.
Header defines the structure of a Tendermint block header TODO: limit header size NOTE: changes to the Header should be duplicated in the abci Header.
Heartbeat is a simple vote-like structure so validators can alert others that they are alive and waiting for transactions.
UNSTABLE.
MockMempool is an empty implementation of a Mempool, useful for testing.
UNSTABLE.
MockMempool is an empty implementation of a Mempool, 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
PrivValidatorFS implements PrivValidator using data persisted to disk to prevent double signing.
Proposal defines a block proposal for the consensus.
SignedHeader is a header along with the commits that prove it.
No description provided by the author
TxEventBuffer is a buffer of events, which uses a slice to temporarily store events.
TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree.
TxResult contains results of executing the transaction.
TxSize contain limits on the tx size.
Volatile state for each Validator NOTE: The Accum is not included in Validator.Hash(); make sure to update that method if changes are made here.
ValidatorSet represent a set of *Validator at a given height.
Represents a prevote, precommit, or commit vote from validators for consensus.
VoteSet helps collect signatures from validators at each height+round for a predefined vote type.

# Interfaces

BlockEventPublisher publishes all block related events.
BlockStore defines the BlockStore interface used by the ConsensusState.
BlockStoreRPC is the block store interface used by the RPC.
No description provided by the author
Evidence represents any provable malicious activity by a validator.
EvidencePool defines the EvidencePool interface used by the ConsensusState.
Mempool defines the mempool interface as used by the ConsensusState.
PrivValidator defines the functionality of a local Tendermint validator that signs votes, proposals, and heartbeats, and never double signs.
Signable is an interface for all signable things.
Signer is an interface that defines how to sign messages.
implements events.EventData.
No description provided by the author
Common interface between *consensus.VoteSet and types.Commit.

# Type aliases

ABCIResults wraps the deliver tx results to return a proof.
Address is hex bytes.
EvidenceList is a list of Evidence.
No description provided by the author
Tx is an arbitrary byte array.
Txs is a slice of Tx.
No description provided by the author