Module state

Module state 

Source
Expand description

State synchronization routines shared by root and child canisters.

Bundles snapshot portions of AppState, SubnetState, and the directory views, ships them across the topology, and replays them on recipients.

Structs§

StateBundle
StateBundle Snapshot of mutable state and directory sections that can be propagated to peers

Functions§

cascade_root_state
Public wrapper for root state cascades to keep the internal entrypoint crate-private.
nonroot_cascade_state
Cascade from a child: forward the bundle to direct children. No-op when the bundle is empty.