Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

[relay-hops] Extensibility of HOP_PATH characteristics/traits #51

Description

@afrind

In the current rev, the only metric that is conveyed is the number / topology of the hops. It would be significantly more interesting if the hop-path contained an extensible struct or hop characteristics, eg:

TRAIT {
  Type (vi64),
  Value (vi64)
}

HOP {
  ID (vi64)
  Number of Traits (vi64)
  [Trait (..) ...]
}

HOP_PATH {
  Length (vi64),
  Hop (..) ...
}

Example Traits could be latency, cost ($) or a synthetic metric computed via logic specific to the network's deployment. You could start with a simple IANA registry in your doc of common traits, and define an app specific range that can be used without registration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions