Module event_source

Source
Expand description

Event source state machine.

Here is the logic for retrieving and processing events. This is the main driver of state machine.

From outside the state machine, only dispatched actions should be either event source actions or special CheckTimeoutsAction.

Re-exports§

pub use crate::block_producer::BlockProducerEvent;
pub use crate::external_snark_worker_effectful::ExternalSnarkWorkerEvent;
pub use crate::ledger::LedgerEvent;
pub use crate::rpc::RpcRequest;

Modules§

event 🔒
event_source_actions 🔒
event_source_effects 🔒
event_source_service 🔒

Enums§

Event
EventSourceAction
P2pConnectionEvent
P2pEvent
SnarkEvent

Traits§

EventSourceService

Functions§

event_source_effects

Type Aliases§

EventSourceActionWithMeta
RpcId