Address review: trace request size and contact-share translation

- Manual path trace validates the request that will actually be sent
  (round trips become 2n-1 hops, 3-byte hops go out as 4-byte prefixes)
  against the 172-byte frame and 64-hop firmware limits, and disables Run
  with an explanation when it does not fit. PathTraceMapScreen also refuses
  to send an oversized request.
- Contact-share tokens are never passed through message translation, so
  the share cannot be mangled before sending.
This commit is contained in:
zjs81 committed 2026-11-07 22:53:42 -07:00
1 parent c939f7a29c
commit 80ead2fc2d
45 files changed
+210 -2

No files matched your search

+1
View File
@@ -1498,6 +1498,7 @@
"manualTrace_errorMixedWidths": "All hashes must be the same length",
"manualTrace_errorUnsupportedWidth": "Hashes must be 1, 2 or 3 bytes (2, 4 or 6 hex characters)",
"manualTrace_errorTooManyHops": "Path is too long (maximum {max} bytes)",
"manualTrace_errorTraceTooLong": "Too many hops to trace in one request. Remove some hops or choose As entered.",
"@manualTrace_errorTooManyHops": {
"placeholders": {
"max": {