package
0.0.0-20200624065002-44c09abdf7b1
Repository: https://github.com/bcbchain/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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CopyFile copies a file from src to dst.
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
FillUpWithContractCode -.
GenesisDocFromFile reads JSON data from a file and unmarshals it into a GenesisDoc.
GenesisDocFromJSON unmarshalls JSON data into a GenesisDoc.
将上一次交易hashlist存入到下一个block的data中.
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
NewBlockMeta returns a new BlockMeta from the block and its blockParts.
No description provided by the author
NewEventBus returns a new event bus.
NewEventBusWithBufferCapacity returns a new event bus with the given buffer capacity.
No description provided by the author
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.
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.
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
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.
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.
100MB.
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.
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
UNSTABLE.
UNSTABLE.
TM2PB is used for converting Tendermint types to protobuf types.

# Structs

ABCIResult is the deterministic component of a ResponseDeliverTx.
No description provided by the author
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
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.
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.
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
No description provided by the author
Proposal defines a block proposal for the consensus.
No description provided by the author
No description provided by the author
SignedHeader is a header along with the commits that prove it.
TooManyProposalEvidence contains evidence: a validator propose too many times, disproportional to its voting power.
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.
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.
No description provided by the author
No description provided by the author
EvidenceList is a list of Evidence.
No description provided by the author
UNSTABLE XXX: duplicate of p2p.ID to avoid dependence between packages.
No description provided by the author
Tx is an arbitrary byte array.
Txs is a slice of Tx.
Sort validators by address.