From 76c67f4ad43ddb30ac25868554638c1e0aac83bd Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 24 Sep 2026 12:32:05 +0200 Subject: refactor(node): move _dispatch_message out of webrtc_server, unchanged DispatchMixin in transport/webrtc/dispatch.py, with the pre-proof fetch bound it enforces. The elif chain moves as it is; turning it into a table is the next commit, on its own. Co-Authored-By: Claude Opus 5.5 --- docs/MESHBAY_NODE_PROTOCOL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/MESHBAY_NODE_PROTOCOL.md b/docs/MESHBAY_NODE_PROTOCOL.md index a219b50..e11f2a6 100644 --- a/docs/MESHBAY_NODE_PROTOCOL.md +++ b/docs/MESHBAY_NODE_PROTOCOL.md @@ -2285,7 +2285,7 @@ LP(x) = uint32be(len(x)) || x every field, no exceptions | `JOIN_TTL`, `DEVICE_TTL` | 120 s | `join.py`, `device.py` | | Pairing / device code | 40 bits, Crockford base32, single use | `roster.py`, `device.py` | | Code lifetimes (default, settable) | invitation 7 d, operator pairing 24 h, device request 1 h | `roster.py` | -| `MAX_PRE_PROOF_FETCHES` | 4 per connection | `webrtc_server.py` | +| `MAX_PRE_PROOF_FETCHES` | 4 per connection | `webrtc/dispatch.py` | | `MAX_JOIN_ATTEMPTS` | 5 per connection | `webrtc/admission.py` | | `MAX_JOIN_FAILURES_WINDOW` / `JOIN_FAILURE_WINDOW` | 20 / 600 s, node-wide | ” | | Device attempts | 5 per connection | ” | -- cgit v1.2.3