Skip to main content

Module feed

Module feed 

Source
Expand description

Feed module for consensus event tracking and RPC.

Architecture:

  • Mailbox implements Reporter and sends Activity to the actor
  • Actor processes Activity and updates shared FeedStateHandle
  • FeedStateHandle implements ConsensusFeed for RPC access

This design ensures RPC traffic cannot block consensus activity processing.

Modulesยง

actor ๐Ÿ”’
Feed actor implementation.
ingress ๐Ÿ”’
Mailbox for sending consensus activity to the feed actor.
state ๐Ÿ”’
Shared state for the feed module.

Structsยง

FeedStateHandle
Handle to shared feed state.

Functionsยง

init ๐Ÿ”’
Initialize the feed actor and mailbox.