diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-24 10:20:41 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-24 16:45:38 +0200 |
| commit | 24f8526fe7cba161ddcd587e7fff2efc8478c5ab (patch) | |
| tree | fa91edab760b398da42ee9eef47819bdbdbf9a88 /docs | |
| parent | 02aeb0a751dce80fac1bfca31b6f736558953b77 (diff) | |
| download | meshbay-24f8526fe7cba161ddcd587e7fff2efc8478c5ab.tar.gz | |
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 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/MESHBAY_NODE_PROTOCOL.md | 2 |
1 files changed, 1 insertions, 1 deletions
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` | |