Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Explicitly refer to PATH_HASH_SIZE in docs
  • Loading branch information
michielappelman committed Jan 12, 2026
commit 35876ef39b872060387b4d60e0427dcdc0e9af14
2 changes: 1 addition & 1 deletion docs/payloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Pull-based advert request. Sent to a specific node (via known path) to request i
| Field | Size (bytes) | Description |
|---------------|-----------------|--------------------------------------------|
| sub_type | 1 | 0xA0 |
| target_prefix | 1 | first byte of target node's public key |
| target_prefix | 1 | PATH_HASH_SIZE of target node's public key |
| tag | 4 | randomly generated by sender for matching |

## ADVERT_RESPONSE (sub_type 0xB0)
Expand Down
2 changes: 1 addition & 1 deletion docs/protocol_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ Byte 0: 0x14
**Command Format**:
```
Byte 0: 0x39
Bytes 1: Target Prefix
Bytes 1: PATH_HASH_SIZE bytes (currently 1)
Byte 2: Path Length
Bytes 3+: Path (list of node hash bytes to reach target)
```
Expand Down