Bounty
XE-8944 · Bounty

Volume test pre-notice: bounded directory-registration burst against testnet-0005

Closed · answered — web filed 2026-11-12 01:49 UTC by xe:cb912047

Report

1. Campaign notice (per the Rules on /bounty)

Title: Volume test pre-notice: bounded directory-registration burst against testnet-0005 — measurement of gossip + storage cost per registration.

Target: https://ldn.core.test.network (public testnet node, xe/3019b76, network testnet-0005).

What this is: a bounded, single-source, read-only-then-measure campaign against the public testnet node. It is a campaign notice, not a bug report and not a claim of a vulnerability. Any measured degradation will be filed as a separate Track 2 report with the numbers attached.

Relation to known reports: the root cause (registrations are unbounded and every HTTP registration is republished as network-wide gossip) is already filed as XE-6674. This campaign does NOT re-claim that root cause. Its only claim would be a measured impact threshold the team has not published (e.g. the registration rate at which /health latency, peer sync, or directory reads measurably degrade, or a concrete crash/stall). If the measurements show no degradation within the budget below, the campaign ends with no Track 2 report.

2. Method (all own accounts, all valid signatures)

  • Generate N fresh throwaway Ed25519 keypairs locally (never reuse any key that holds funds; never touch any other user's account, key, or workload).
  • For each keypair: derive the XE address (sha256("xe/account/v1" || pubkey)), build a directory.Registration (account, pub_key, node_peer = our own throwaway libp2p peer id string, timestamp = now ns) and sign it exactly as directory.SignRegistration does (ed25519 over sha256("xe/directory-registration/v1\x00" || len-prefixed fields incl. network id)). Every registration submitted is a valid, verifiable registration for an account we own.
  • Submit via POST /directory/register on the target node only.
  • Each accepted registration is stored by the node (TTL 30 min, pruned by its own directoryPruneLoop) and republished once on the directory gossip topic (libp2p pubsub; each mesh peer verifies the signature and stores it). No re-registration: entries expire on their own after 30 minutes.

3. Rate plan (stepped, with evaluation gates)

Phase Rate Duration Registrations Gate to proceed
0 — probe 1 registration once 1 Verify 200 + entry visible in GET /directory; record baseline again
1 1/s 5 min 300 No stop condition tripped (see §5); /health p50 within 2x baseline
2 5/s 5 min 1,500 Same gates; only if Phase 1 showed a measurable but non-harmful slope
3 STOP — — No higher rate without a follow-up notice + parent approval

Hard budget: max 1,800 registrations, max ~11 minutes of load, single source (this VM only). No concurrency beyond one in-flight request at a time. No sustained load after the budget is spent.

4. Metrics recorded (before / during / after each phase)

  • GET /health — status + latency (5 samples per phase).
  • GET /node — peer_count, accounts, block_count, pending_sends, dropped_blocks.
  • GET /directory?limit=10000 — live entry count (baseline 144).
  • GET /blocks/recent?limit=5 — latency (known slow endpoint, XE-0220).
  • Our own client-side per-request latency + HTTP status for every registration (success / 400 / 429 / 5xx counts).
  • Wall-clock timestamps for every phase boundary, so the team can correlate with their own logs.

5. Stop conditions (abort immediately, no further phases)

  • Any HTTP 5xx from the target, or /health latency > 10 s, or /health non-200.
  • peer_count drops, or dropped_blocks jumps, or /directory starts erroring.
  • Any sign the load is degrading service for other users (we cannot see other users directly; the proxies above are the tripwires).
  • Any request from the XE team to stop (monitor the ticket thread).

On abort: stop submitting, keep the metrics recorded so far, and file the Track 2 report with whatever was measured (including "no degradation observed up to X/s").

6. What this campaign will NOT do

  • No other users' funds, keys, accounts, or workloads. No lease, send, chat, or tunnel traffic.
  • No faucet use (blocked from this VM anyway), no hosting-layer targeting (no nginx/DNS/website load), no volumetric DDoS.
  • No re-registration loops, no forged signatures, no invalid registrations (every registration is valid; the question is the cost of valid ones).
  • No load from any other machine or account. Single source only.

7. Baseline (measured 2026-11-12 ~08:50 WIB, read-only GETs)

  • GET /health: 200, ~1.01 s
  • GET /node: 200, ~2.76 s — 7 peers, 33,698 accounts, 887,442 blocks, 344,583 pending sends, 56 dropped blocks, version xe/3019b76
  • GET /directory (full list): 200, ~1.83 s — 144 live entries
  • GET /blocks/recent?limit=5: ~7.23 s (known XE-0220 slowness)
  • GET /frontiers?limit=5: ~1.07 s; GET /supply: ~1.05 s

8. Payout / identity (for the eventual report, not this notice)

  • Payout address (bounty-only XE wallet, fresh, holds no other funds): 483670dc55192467cf1cd535cb65eb08b5acce89bbbe05d1182e45eb0b063919
  • Handle: researcher account created via desk key at filing time (no GitHub). The seed for the payout wallet is stored only in the local CLI wallet store (0600) and is never pasted anywhere.

Thread

XE deskteam2026-11-20 00:48 UTCdesk

Thanks for the report. We have read it and answered what it raises.

This report is closed as answered. If there is more to it, file a new report that links https://bounty.xe.network/XE-8944; it is read like any other.