package
4.0.2-stable+incompatible
Repository: https://github.com/algorand/go-algorand.git
Documentation: pkg.go.dev
# Constants
Agreement component.
BlockAssembled is emitted when the source receives all parts of a block.
BlockCommittable is emitted when the source observes a block B and a threshold of soft-votes for H(B).
BlockPipelined is emitted when a block is pipelined for further processing.
BlockRejected is emitted when a block is rejected.
BlockResent is emitted when a whole proposal is relayed for partition recovery.
BundleAccepted is emitted when the source accepts a bundle.
BundleBroadcast is emitted when the source broadcasts a bundle.
BundleRejected is emitted when the source rejects a bundle.
Catchup component.
Frontend component.
Ledger component.
Network component.
PeriodConcluded is emitted whenever a player receives a threshold of soft- or next-votes for a hash H(B).
Persisted is emitted after the source persists state to disk.
ProposalAccepted is emitted when the source accepts a leader proposal.
ProposalAssembled is emitted when the source node finishes making proposals.
ProposalBroadcast is emitted when the source creates a proposal to be broadcasted during initial block proposal (and not partition recovery).
ProposalFrozen is emitted when the source fixes a leader credential.
ProposalRejected is emitted when the source rejects a leader proposal.
Restored is emitted after the source successfully restores state from disk.
RoundConcluded is emitted whenever (1) the player receives a block B, and (2) the player obtains proof of consensus on H(B).
RoundInterrupted is emitted when the source is on round r, and its ledger observes a block B and a proof of consensus on H(B) at r independently of the agreement service.
RoundStart is emitted when a round starts.
RoundWaiting is emitted when the source receives a proof of consensus on H(B) at round r but has not yet received B.
StepTimeout is emitted when a filtering, certifying, or recovery step times out.
ThresholdReached is emitted when the source observes that a threshold of votes has been reached for a given value during some (round, period, step).
VoteAccepted is emitted when the source accepts a vote.
VoteAttest is emitted when the source commits to a vote.
VoteBroadcast is emitted when the source creates a set of votes to be broadcasted.
VoteRejected is emitted when the source rejects a vote.
WroteBlock is emitted whenever a block is written to the ledger.
# Structs
AgreementEvent represents data corresponding to an event occurring during our agreement processing.
Event represents data corresponding to an event occurring related to a component.
LedgerEvent represents data corresponding to an event occurring related to the ledger.
# Type aliases
AgreementType is an enum identifying a specific type of AgreementEvent TODO Maybe this should be called AgreementEventType, since these are not actually types of agreements
go:generate stringer -type=AgreementType.
Component is an enum identifying a specific type of Event TODO Maybe this should be called ComponentEventType (and change Event to ComponentEvent), since these are not actually types of components
go:generate stringer -type=Component.
LedgerType is an enum identifying a specific type of LedgerEvent TODO Maybe this should be called LedgerEventType, since these are not actually types of ledgers
go:generate stringer -type=LedgerType.