Skip to content

docs: clarify path_length hash-size encoding#2076

Open
robekl wants to merge 1 commit intomeshcore-dev:devfrom
robekl:docs/fix-path-length-encoding
Open

docs: clarify path_length hash-size encoding#2076
robekl wants to merge 1 commit intomeshcore-dev:devfrom
robekl:docs/fix-path-length-encoding

Conversation

@robekl
Copy link
Contributor

@robekl robekl commented Mar 17, 2026

Summary

  • document that \ encodes hop count in bits 0-5 and path hash size in bits 6-7
  • clarify that path byte length is computed as hop_count * hash_size rather than taken directly from \
  • add examples for 1-byte, 2-byte, and 3-byte path hash encodings

Testing

  • not run (documentation-only change)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant