Skip to main content

Module engine

Module engine 

Source

Structs§

ConsensusEngine
Runs the main server consensus loop

Constants§

DB_CHECKPOINTS_DIR 🔒
MAX_ITEM_PROCESSING_ATTEMPTS 🔒
How many times a single ordered consensus item is processed before we give up. Only a database transaction that could not be validated at commit time costs an attempt, and reprocessing takes a fresh snapshot, so needing more than a couple of these means something is wrong beyond a stale snapshot.

Functions§

get_finished_session_count_static