Skip to main content

Module consensus

Module consensus 

Source
Expand description

The actual implementation of consensus

ModulesΒ§

aleph_bft
api
Implements the client API through which users interact with the federation
db
debug
engine
iroh_api πŸ”’
peer_availability
This guardian’s view of its peers’ availability.
transaction

StructsΒ§

IrohApiEndpoints πŸ”’

ConstantsΒ§

CONSENSUS_PROPOSAL_TIMEOUT πŸ”’
TRANSACTION_BUFFER πŸ”’
How many txs can be stored in memory before blocking the API

FunctionsΒ§

eligible_iroh_next_api_settings πŸ”’
ensure_api_secrets_enforceable πŸ”’
Refuse to run with API secrets that we cannot actually enforce.
prepare_iroh_api_endpoints πŸ”’
resolve_iroh_next_api_bind πŸ”’
run
spawn_iroh_api_tasks πŸ”’
start_consensus_api πŸ”’
submit_module_ci_proposals πŸ”’