From 24f8526fe7cba161ddcd587e7fff2efc8478c5ab Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 24 Sep 2026 10:20:41 +0200 Subject: refactor(node): move invitations, joins and device linking out of webrtc_server AdmissionMixin in transport/webrtc/admission.py, with the invite handle pattern and the join attempt bounds. Co-Authored-By: Claude Opus 5.5 --- docs/MESHBAY_NODE_PROTOCOL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/MESHBAY_NODE_PROTOCOL.md') diff --git a/docs/MESHBAY_NODE_PROTOCOL.md b/docs/MESHBAY_NODE_PROTOCOL.md index 90b0b41..35366f0 100644 --- a/docs/MESHBAY_NODE_PROTOCOL.md +++ b/docs/MESHBAY_NODE_PROTOCOL.md @@ -2286,7 +2286,7 @@ LP(x) = uint32be(len(x)) || x every field, no exceptions | 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_JOIN_ATTEMPTS` | 5 per connection | ” | +| `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 | ” | | `MAX_DEVICES_PER_USER` | 5 | `roster.py` | -- cgit v1.2.3