Skip to main content

Crate tempo_consensus

Crate tempo_consensus 

Source
Expand description

A Tempo node using commonware’s threshold simplex as consensus.

ModulesΒ§

alias πŸ”’
A collection of aliases and shared initialization for frequently used (primarily commonware) types.
args πŸ”’
Command line arguments for configuring the consensus layer of a tempo node.
config πŸ”’
The non-reth/non-chainspec part of the node configuration.
consensus
Mainly aliases to define consensus within tempo.
dkg πŸ”’
epoch πŸ”’
Epoch logic used by tempo.
executor πŸ”’
The executor is sending fork-choice-updates to the execution layer.
feed
Feed module for consensus event tracking and RPC.
follow
CL-driven follow mode for Tempo nodes.
metrics
network_identity πŸ”’
peer_manager πŸ”’
Tracks active peers and consists of an Actor and a Mailbox.
storage πŸ”’
This module defines consensus archive formats.
subblocks πŸ”’
utils πŸ”’
validators πŸ”’

StructsΒ§

Args
Command line arguments for configuring the consensus layer of a tempo node.
PositiveDuration
A jiff::SignedDuration that checks that the duration is positive and not zero.

ConstantsΒ§

BROADCASTER_CHANNEL_IDENT
BROADCASTER_LIMIT
CERTIFICATES_CHANNEL_IDENT
CERTIFICATES_LIMIT
DKG_CHANNEL_IDENT
DKG_LIMIT
MARSHAL_CHANNEL_IDENT
MARSHAL_LIMIT
NAMESPACE
PARTITION_PREFIX πŸ”’
RESOLVER_CHANNEL_IDENT
RESOLVER_LIMIT
SUBBLOCKS_CHANNEL_IDENT
SUBBLOCKS_LIMIT
VOTES_CHANNEL_IDENT
VOTES_LIMIT

FunctionsΒ§

find_last_finalized_marker
Finds the latest finalization certificate backed by finalized execution storage.
instantiate_network πŸ”’
run_consensus_stack
run_follow_stack
Run the follower stack. This uses RPC to sync consensus state and drive the execution layer from the upstream node.