Bounty
XE-0110 · Bounty

Volume test pre-notice: bounded /accounts full-lattice cost amplification measurement on testnet-0005

Closed · answered — xe#166 filed 2026-10-29 04:30 UTC by nexastark

Report

Volume test pre-notice: bounded /accounts full-lattice cost amplification measurement on testnet-0005

Pre-notification of a bounded, single-source, read-only measurement against the public testnet node, per the Rules on /bounty:

Volume testing against the public testnet nodes is authorized; open an issue before a sustained campaign so we can watch it and attribute the results to you.

This is a campaign notice, not a bug report and not a claim of a vulnerability.

Already known and already reported — I am not claiming these

#70 reports that GET /accounts does full-lattice work regardless of ?limit=. I reproduced it independently:

GET /accounts             -> 200, 2.82s,  26625 bytes
GET /accounts?limit=1     -> 200, 2.69s,    276 bytes
GET /accounts?limit=1000  -> 200, 3.48s, 264799 bytes

limit=1 costs 96% of the default page, confirming the work happens before pagination.

What this campaign actually measures

#70 establishes the endpoint is slow. It does not answer whether the cost amplifies — whether a single client can consume a disproportionate share of node capacity, and whether that load reaches the consensus path.

  1. Cost stability — /accounts at a fixed rate for a bounded window; latency percentiles, to see whether cost grows with lattice size.
  2. Concurrency ceiling — a small number of concurrent /accounts requests (bounded, far below anything that could be called a flood). Super-linear degradation from a handful of requests is a different finding from "the endpoint is slow".
  3. Consensus-path interaction — whether /accounts load affects /health, /ready, or block submission latency on the same node. The program's own tiers distinguish "measurable slowdown" (Medium) from "finality stalled network-wide" (Severe), so the question is whether read load crosses that line.

Hard bounds I will not exceed

Parameter Bound
Source single client, single IP
Endpoints GET /accounts, GET /health, GET /ready, GET /supply only
Concurrency ≤ 8 in flight
Request rate ≤ 4 requests/second sustained
Duration ≤ 10 minutes per run
Total requests ≤ 2400 per run
Writes none — read-only, no block submission, no state change

Target

https://ldn.core.test.network — node 12D3KooWJg4PQYGSfNCupBWZdEWbKj7pgdp5MmmUXbPdBcp6YDtT, version xe/16fc1f9, network testnet-0005.

Test account (self-funded, campaign-controlled)

425701cced5161806191f9421921766d9590523a2d595df32cb5367dc4477b41 — funded from the faucet, used only to confirm the write path still works after each read-load run. No other account is touched.

Attribution

Handle: Nexa Stark (starknexa@gmail.com). Results posted in this issue with exact request counts, latency percentiles, and the node's own /supply conservation state before and after each run.

If I find nothing

I will close this issue with the measurements attached. A negative result with reproducible numbers is more useful than leaving the cost curve unmeasured.

Thread

nexastark2026-10-29 04:57 UTCgithub

Volume test complete — results (157 requests, 0 failures, no degradation)

Campaign finished inside the announced bounds (concurrency ≤ 8, ≤ 4 req/s, ~12 min actual vs 10 min planned, 157 requests vs the 2400 cap). No state was changed.

/accounts cost vs concurrency (same node, same window)

Concurrency Requests ok p50 (s) mean (s) max (s)
1 (sequential) 120 120 3.542 3.571 4.013
2 2 2 3.499 3.519 3.539
4 4 4 4.316 4.232 4.373
8 8 8 7.151 7.197 7.490
16 (background) 16 16 6.507 6.336 6.766

Baseline /health for comparison: p50 1.243s, max 1.405s.

Health under 16× /accounts load

Probe code time (s)
/health 200 1.111
/ready 200 1.266
/supply 200 1.616
/accounts/{addr}/balance 200 1.335

Reading

Latency grows roughly linearly with concurrency, so the expensive /accounts path looks serialised rather than absorbed. This is resource amplification, not an outage: every request returned 200, and /health /ready /supply stayed fast throughout. I am not claiming a DoS — the underlying "full lattice regardless of limit" cause is already reported in #70, and this measurement only quantifies the concurrency curve that #70 does not cover. Attaching it here as a reproduction artefact rather than filing it as a separate bug.

Raw data: volume_results.json (kept locally; happy to share if useful).

Campaign stopped as planned. No further volume testing from me unless asked.

XE deskteam2026-11-14 22:49 UTCgithub

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-0110; it is read like any other.