{"id":"XE-13267","kind":"bounty","visibility":"public","source":"github","source_repo":"xeprotocol/xe","source_ref":"404","source_url":"https://github.com/xeprotocol/xe/issues/404","reporter_id":1356,"title":"[pre-notice] Bounded direct-node read rate-limit characterization on testnet-0005 (ldn vs proxy, read-only)","area":"ops-testnet","claimed_tier":null,"assessed_tier":null,"verdict":"notice","duplicate_of":null,"tracked":false,"internal_ref":"","internal_url":"","status":"closed","closed_reason":"answered","github_state":"closed","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-14T20:42:05.663668+00:00","updated_at":"2026-11-20T00:25:44.511344+00:00","source_created_at":"2026-11-11T19:41:27+00:00","told_at":"2026-11-20T00:24:44+00:00","status_changed_at":"2026-11-20T00:08:43.986819+00:00","url":"https://bounty.xe.network/XE-13267","body":"# Pre-notice (advance notice): bounded direct-node read rate-limit characterization on testnet-0005\n\n**Type:** Pre-notice / advance notice for a bounded resilience measurement (required by the programme before any load testing).\n**Network:** testnet-0005 (public testnet only — no mainnet).\n**Reporter XE payout address:** `2dda1e8cead608801ed02791123da1e11bfc2b90862d68b2954e2995b7f57b18`\n**Accounts used:** only my own two research wallets; the rate characterization itself is read-only (public GETs).\n\n## Why I'm posting this first\n\nI am a good-faith bounty participant. The programme asks for a report to be filed *before* any sustained/volume testing. This notice describes a small, bounded, read-only measurement before I run it, so the team can watch and attribute the traffic, and tell me to stop or adjust.\n\n## Background observation (single requests only, no load yet)\n\nThe HTTP proxy at `https://test.network/api/v1` returns standard `RateLimit` / `RateLimit-Policy` / `RateLimit-Remaining` headers (read policy `q=1000;w=5`). The direct public core nodes — `ldn/ffm/nyc.core.test.network` — return the same JSON for reads but **omit** all `RateLimit-*` headers. Reading the node source (`api/handler.go`, `rateLimitMiddleware` + `newRateLimiters`), the node *does* run an in-process per-IP token-bucket limiter (read 200 req/s, burst 1000; it just never emits headers — the headers are added by the proxy tier). I want to **measure** whether that in-process limiter is actually enforced on the direct nodes, i.e. whether a single client is silently capped at ~200 req/s (burst 1000) or can exceed the documented policy against a header-less direct node.\n\n## Exactly what I plan to run (only if you don't object)\n\n- **Target:** one public direct core node (`ldn.core.test.network`) and the proxy for comparison. Read-only `GET /node` and `GET /accounts/{own-addr}/balance`.\n- **Shape:** short calibrated bursts, ramping offered read rate (e.g. ~50 → ~1500 req/s) in bursts of **≤5 seconds each**, with pauses between. Honoring any `429` / `Retry-After` immediately.\n- **Budget:** a few thousand GET requests total over a few minutes, from a **single machine/IP**, off-peak. No writes, no block submission, no pending-send creation, nothing that grows node state.\n- **Metrics recorded:** per-request latency, accepted vs `429` counts and the offered-vs-served rate, plus `GET /node` resilience counters before/after (`dropped_blocks`, `last_finality_ns`, `finality_advances`, `pending_sends`, `peer_count`).\n- **Safety:** I stop immediately on any sign of node distress, on any `429` storm beyond a brief characterization, or at the first hint of collateral impact on other testnet users, and on any request from the team here.\n\n## Expected outcome / honesty note\n\nBased on the source, I expect the direct node *does* enforce ~200 req/s (burst 1000) per IP and simply omits the standardized headers — in which case there is no bypass, just a cosmetic header-parity gap, and I will report that negative result. If the measurement instead shows a single IP sustaining far above policy on a direct node, I will report it with numbers as a rate-limit/service-degradation candidate. Either way I will post the numbers.\n\nI am aware of the existing rate-limiter issues (#47, #81, #172, #396) and the pending-state issue (#384); this notice is scoped to the *direct-node header-less read-limit enforcement* question specifically and I will fold/withdraw if the team considers it covered.\n\nPlease reply if you would like me to change scope, timing, or to not run it. Thank you.\n","patch_refs":[],"thread":[{"id":13035,"source":"github","source_ref":"7026260901","author":"XE desk","team":true,"body":"Thanks for the report. We have read it and answered what it raises.\n\nThis report is closed as answered. If there is more to it, file a new report that links\nhttps://bounty.xe.network/XE-13267; it is read like any other.","created_at":"2026-11-20T00:24:44+00:00"}]}