pub async fn dev_sync_loop<CS: CounterStore + 'static>(
node: DeviceNode<CS>,
mac: DeviceNodeHandle<CS>,
node_key: [u8; 32],
)Expand description
Reconciles the node’s MAC against each DevDomainSnapshot: joins
newly provisioned channels, removes de-provisioned ones (dropping
their replay state), and registers peers. Peer removal is not
propagated — MAC registry entries carry no key material, so a stale
entry is inert, and the registry is rebuilt from the live table at the
next boot.