Skip to content

protocol: NodeAnnounceBody.rate_per_mb field is absent, forcing clients to correlate ProbeResponse rate quotes with gossip peer entries using only node_id, with no cached rate available during peer selection before probing #310

Closed

Description

@alpergundogdu

NodeAnnounceBody carries load and popular_hashes but no rate_per_mb, so a client that has only peer-table data cannot pre-filter nodes by price before initiating probe connections. This forces unnecessary probe round-trips to every candidate node regardless of their rate.


Filed via GitDailyReporterBot

Activity

  1. added a commit that references this issue on Apr 27, 2026
    d0f3778
  2. alpergundogdu commented on Apr 27, 2026

    @alpergundogdu
    ContributorAuthor

    Not pursuing — an unsigned rate hint in NodeAnnounce is spoofable (peers can advertise low rates in gossip and quote higher ones in the signed ProbeResponse), and ADR 013 forbids adding fields to signed bodies. The authoritative rate is already in ProbeResponse per ADR 005, so a gossip hint adds wire bytes for marginal benefit. Can be revisited if profiling later shows selection burns too many probes — at which point the right path is an ADR 013 amendment to extend the signed body.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions