hashSizeFromOutPathLen
function hashSizeFromOutPathLen(outPathLen): | PathHashSize | undefined;Defined in: src/model/contacts.ts:43
Bytes-per-hop for a contact’s stored path, derived from the same packed out_path_len byte (bits 7-6 + 1). Lets consumers split a learned out_path into hops using the contact’s OWN hash size rather than assuming the radio’s current path-hash mode. 0xFF (OUT_PATH_UNKNOWN) → undefined (no path).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
outPathLen | number |
Returns
Section titled “Returns”| PathHashSize
| undefined