refactor: rename MsgTrunk* -> MsgPeer*

The eight MsgTrunk* types flow over trunk, satellite, and twin links —
"Trunk" was a misleading prefix for what is actually a shared peer
protocol. Wire IDs (115-122) and field layouts are unchanged, so this
is wire-equivalent: a renamed reflector and an old reflector
interoperate identically.

Also renames docs/TRUNK_PROTOCOL.md -> docs/PEER_PROTOCOL.md.

Twin-only types MsgTwinExt* (123/124) stay as-is.
This commit is contained in:
Audric committed 2026-04-28 18:00:24 +02:00
1 parent 3d281e16d7
commit 18d92a2b11
17 files changed
+424 -422

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ CERT_CA_HOOK=@SVX_SHARE_INSTALL_DIR@/ca-hook.py
# Optional TG filter — restricts which TGs this satellite cares about.
# Applied in both directions: the satellite skips sending local events for
# non-matching TGs, and advertises the filter to the parent via
# MsgTrunkFilter (type 122) so the parent skips forwarding them back.
# MsgPeerFilter (type 122) so the parent skips forwarding them back.
# Syntax: exact "26200", prefix "24*", range "2427-2438", comma-separated.
# Empty or absent = no filtering (all TGs pass in both directions).
#SATELLITE_FILTER=24*,262*