feat(sim): harness and convergence scenarios

This commit is contained in:
2026-10-17 17:32:12 -07:00
parent 5dca574c50
commit 9de7157ee2
7 changed files with 414 additions and 12 deletions
-1
View File
@@ -101,7 +101,6 @@ impl<A: Clone + PartialEq + core::fmt::Debug> Exchange<A> {
/// Obs/Frag frame from a peer via round-robin.
pub fn next_frame<S: Store>(&mut self, store: &S, mtu: usize, now: Tick, out: &mut [u8]) -> Option<(A, usize)> {
let me = self.me;
// Priority 1: a summary is due for some peer.
for peer in self.peers.iter_mut() {
if !summary_due(peer, now) {