# 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
CanonicalTime can be used to stringify time in a canonical way.
DefaultBlockSize returns a default BlockSize.
DefaultConsensusParams returns a default ConsensusParams.
DefaultEvidenceParams Params returns a default EvidenceParams.
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.
GetCodec returns a codec used by the package.
No description provided by the author
MakeBlock returns a new block with an empty header, except what can be computed from itself.
No description provided by the author
MaxDataBytes returns the maximum size of block's data.
MaxDataBytesUnknownEvidence returns the maximum size of block's data when evidence count is unknown.
MaxEvidenceBytesPerBlock returns the maximum evidence size per block - 1/10th of the maximum block size.
NewBlockMeta returns a new BlockMeta from the block and its blockParts.
No description provided by the author
NewErrEvidenceInvalid returns a new EvidenceInvalid with the given err.
NewErrEvidenceOverflow returns a new ErrEvidenceOverflow where got > max.
NewErroringMockPV returns a MockPV that fails on each signing request.
NewEventBus returns a new event bus.
NewEventBusWithBufferCapacity returns a new event bus with the given buffer capacity.
UNSTABLE.
No description provided by the author
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.
NewResultFromResponse creates ABCIResult from ResponseDeliverTx.
NewResults creates ABCIResults from the list of ResponseDeliverTx.
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
64kB.
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
EventTypeKey is a reserved key, used to specify event type in tags.
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Reserved event types (alphabetically sorted).
Heartbeat.
MaxAminoOverheadForBlock - maximum amino overhead to encode a block (up to MaxBlockSizeBytes in size) not including it's parts except Data.
100MB.
MaxChainIDLen is a maximum length of the chain ID.
MaxEvidenceBytes is a maximum size of any evidence (including amino overhead).
MaxHeaderBytes is a maximum header size (including amino overhead).
MaxVoteBytes is a maximum vote size (including amino overhead).
No description provided by the author
Votes.
Proposals.
TimeFormat is used for generating the sigs.
TxHashKey is a reserved key, used to specify transaction's hash.
TxHeightKey is a reserved key, used to specify transaction block's height.
# 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
PB2TM is used for converting protobuf ABCI to Tendermint ABCI.
UNSTABLE.
TM2PB is used for converting Tendermint ABCI to protobuf ABCI.
# Structs
ABCIResult is the deterministic component of a ResponseDeliverTx.
Block defines the atomic unit of a Tendermint blockchain.
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
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.
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.
ErrEvidenceOverflow is for when there is too much evidence in a block.
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
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 and in /docs/spec/blockchain/blockchain.md.
Heartbeat is a simple vote-like structure so validators can alert others that they are alive and waiting for transactions.
UNSTABLE.
UNSTABLE.
MockPV implements PrivValidator without any safety or persistence.
-----------------------------------------------------------------------------.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Proposal defines a block proposal for the consensus.
SignedHeader is a header along with the commits that prove it.
TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree.
TxResult contains results of executing the transaction.
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.
More human readable JSON of the vote set NOTE: insufficient for unmarshalling from (compressed votes) TODO: make the peerMaj23s nicer to read (eg just the block hash).
# Interfaces
BlockEventPublisher publishes all block related events.
No description provided by the author
Evidence represents any provable malicious activity by a validator.
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.
TMEventData 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.
No description provided by the author
EvidenceList is a list of Evidence.
UNSTABLE XXX: duplicate of p2p.ID to avoid dependence between packages.
No description provided by the author
SignedMsgType is a type of signed message in the consensus.
Tx is an arbitrary byte array.
Txs is a slice of Tx.
Sort validators by address.