rag-rat-sync 0.21.0

Peer/p2p transport for the rag-rat op log: an iroh QUIC session that exchanges signed account entries between peers, feeding each through the op-log ingest seams (phase D, #406).
Documentation

Peer/p2p transport for the rag-rat op log (phase D, #406).

Phase C built the stationary machine — a signed, hash-chained op log with a deterministic, device-independent fold, and ingest seams that verify raw signed bytes from any source. This crate is the wire: an iroh QUIC session that exchanges those bytes between peers and feeds each received entry back through the same ingest seam, so a synced entry passes exactly the checks a local write does. The transport adds movement, never trust.

Layers, bottom up:

  • [wire] — the frozen CBOR frame protocol (hello / entries / done).
  • [codec] — length-prefixed framing over any async byte stream (iroh in production, an in-memory duplex in tests).
  • [session] — the symmetric state machine and the [session::SyncStore] seam.
  • [store] — the op-log-backed [session::SyncStore].
  • [endpoint] — the iroh endpoint that binds the ALPN over a pinned relay and runs a session per connection.