reth_node_events::node

Function handle_events

Source
pub async fn handle_events<E>(
    peers_info: Option<Box<dyn PeersInfo>>,
    latest_block_number: Option<BlockNumber>,
    events: E,
)
where E: Stream<Item = NodeEvent> + Unpin,
Expand description

Displays relevant information to the user from components of the node, and periodically displays the high-level status of the node.