Skip to content

Node hash size still shown as “varies” / mixed 1-byte and 2-byte for MeshCore v1.16.0 repeater configured with path.hash.mode=1 #1726

@Trixster-dk

Description

@Trixster-dk

Description:
I am seeing a node being reported by CoreScope as having varying advert hash sizes, for example mixed 1-byte and 2-byte adverts, even though the node is running MeshCore repeater firmware v1.16.0 and is configured for 2-byte path hashes.

Node:
Name: DK_3400_RAK_TEST
Firmware: v1.16.0-07a3ca9, build 06-Jun-2026
Role: repeater
Config: path.hash.mode = 1
Expected hash size: 2-byte
Public key: [insert public key here]
Observed on multiple CoreScope/MQTT sites
Problem has persisted for about 7 days, so this does not appear to be only short-lived old history after a config change

CLI confirmation:
ver
v1.16.0-07a3ca9 (Build: 06-Jun-2026)
get path.hash.mode=1

Observed behavior:
CoreScope shows the node as having a 2-byte hash prefix, but also marks it as “varies” / mixed hash sizes. Packet history shows both 1-byte and 2-byte adverts for the same node.

Expected behavior:
If the latest valid non-zero-hop advert from this node is 2-byte, CoreScope should show the node as 2-byte, not “varies”, unless it can point to a recent valid 1-byte flood advert from the same public key.

Why this may be CoreScope-related:
This looks related to previous fixes:

#303: repeater hash stats not updating based on most recent advert
#341: latest advert should determine node hash size instead of historical mode
#493: zero-hop direct adverts should be skipped when checking node hash size

Question:
Could CoreScope still be including old historical adverts, direct zero-hop adverts, or stale per-node hash-size observations when deciding whether a node is “varies”?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions