{"id":"XE-0133","kind":"bounty","visibility":"public","source":"github","source_repo":"xeprotocol/xe","source_ref":"224","source_url":"https://github.com/xeprotocol/xe/issues/224","reporter_id":40,"title":"Campaign pre-notice: bounded one-node cold-start sync and readiness baseline on testnet-0005","area":null,"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-10-30T17:09:46.517818+00:00","updated_at":"2026-11-14T22:51:18.864051+00:00","source_created_at":"2026-10-30T17:09:39+00:00","told_at":"2026-11-14T22:49:56+00:00","status_changed_at":"2026-11-07T16:13:19.814022+00:00","url":"https://bounty.xe.network/XE-0133","body":"## Campaign pre-notice — Track 2 (Volume & Resilience), not a vulnerability claim\n\nPer the [XE Bug Bounty rules](https://test.network/bounty), I'm notifying maintainers **before** the first sustained public-testnet campaign so measurements and traffic can be attributed to my research account **@freestriker00**. I will start with a very small, controlled **fresh-node sync/readiness baseline**, not a request flood. Any subsequent sustained transaction workload will be separately scoped and coordinated.\n\n### What is being measured\n\n- Ordinary P2P join and **fresh-node historical sync** on the public `testnet-0005`; local block/frontier progress, memory growth, CPU, peers and `/health`/`/ready` changes.\n- The difference between \"a successful sync round\" and actual progress/convergence; peer loss/recovery only through **stopping my own node** (no disruption to others).\n- Whether a single normally behaving, resource-limited node can catch up without excessive resource growth and whether it recovers cleanly after a controlled stop.\n- If suitable, compare the local node's observable frontier/block counts against a bootstrap node at low read frequency.\n\nThis is not a duplicate vulnerability report. In particular, **#219** (10,000-block stream-cap semantics), **#59** (overlapping sync resource use) and **#60** (shutdown wait) already cover related suspected defects. I will report only *independently demonstrated new effects*, referencing those issues instead of re-claiming them.\n\n### Initial run: explicit hard limits\n\n| Dimension | Bound |\n| --- | --- |\n| Network | `testnet-0005` only |\n| Sources | **one** research VPS / one XE node / one source IP |\n| Connectivity | **one** official P2P bootstrap peer; `--no-discovery --disable-mdns`, no peer fan-out |\n| Duration | **up to 180 seconds**, one cold-start baseline attempt |\n| CPU | systemd `CPUQuota=75%` (max 0.75 of one core) |\n| RAM | systemd `MemoryMax=1800M`; operator watchdog stops before crossing 1.5 GiB |\n| Disk growth | stop on 2 GiB growth or less than 10 GiB free disk |\n| API monitoring | localhost `/health`, `/ready`, `/node` at **no more than one sample every 5 seconds** |\n| Transaction writes | **zero** in the initial baseline; no faucet calls, no wallet-key handling |\n| Retries | no automatic rerun or escalating load |\n\nI will use the documented genesis and an isolated data directory, not replace a production node. No proxy rotation, forged identities, malformed packets, bulk account enumerations, high-cost `/accounts` or `/frontiers` requests, chat floods, hosting-layer attacks, or access to other users' funds/workloads.\n\n**Stop conditions:** any 429/5xx suggesting network trouble; health/peer collapse attributable to the test; unexpected CPU/memory growth; disk safety threshold; inability to confirm `network_id=testnet-0005`; or any maintainer request to pause.\n\n### Evidence and follow-up\n\nI will save UTC timestamps, per-sample node metrics, aggregate local CPU/RAM/IO, observed peer count, responses to readiness checks and the exact command/limits, and post an honest result here (including inconclusive or negative results). A serious security-impact finding will be disclosed **privately** to `security@xe.network` first, not in public exploit details.\n\nIf maintainers prefer a specific time window or lower caps, please tell me. **No high-volume run is being initiated by this notice.**\n\n**Research attribution:** @freestriker00; XE testnet address (also in #219): `6cae644263a88b2fc1167c7b3680ec182e81035777b682827c02ccf1be027a39`. Rewards, if any, are entirely subject to XE team triage.","patch_refs":[],"thread":[{"id":82,"source":"github","source_ref":"6528787448","author":"freestriker00","team":false,"body":"### Initial public-testnet baseline result (2026-10-30): stopped, no transaction load\n\nThe first **single-node, resource-capped cold-start** was performed on `testnet-0005` using a fresh data directory. It started at **17:10:51 UTC** and was stopped at approximately **17:11:37 UTC**. The process exited at 17:11:47 UTC following the bounded shutdown timeout. **No transactions, faucet calls, or stress-request generators were used.**\n\nObserved at **17:11:37 UTC** on the research node (one recorded local sample):\n\n```text\nGET /health        HTTP 200  ok=true\nGET /ready         HTTP 200  ready=true, synced check=true, peer_count=6\nGET /node          HTTP 200  network_id=testnet-0005, block_count=32\ncgroup memory      552,972,288 bytes (~527 MiB)\n```\n\nA separate read of the **official London** node shortly before the session returned `network_id=testnet-0005` and `block_count=144,688`. Therefore the fresh research node was **far from matching the observed London ledger**, despite reporting `ready=true`. The journal also recorded **25** `sync: hit maxTotalBlocks cap (10000), stopping` warnings. This is a concrete live-public-node readiness/convergence mismatch, related to #219, but the single sampled snapshot does **not** prove the server cap was the unique cause.\n\nImportant limitations and deviations:\n- The node was launched with `--no-discovery --disable-mdns --max-inbound-conns 1` and **one configured bootstrap**, but **six connected peers were observed**. I will investigate this before a subsequent public run; I am not claiming single-peer isolation actually held.\n- The watchdog stopped the test because it used **apparent file length** (`du -sb` = 2,282,750,101 bytes), not allocated disk usage. Correct allocated disk usage was only **3,993,600 bytes (~3.8 MiB)**. This was a **monitoring error**, **not** 2.28 GB of actual XE disk consumption.\n- Graceful shutdown exceeded the 10-second timeout and required SIGKILL; similar shutdown behaviour is already tracked in #60, not claimed as a new issue.\n- `go` binary was the research deployment built from pinned source; bootstrap node reported `xe/4f19518`, so version differences should be noted. No prolonged follow-up or causal experiment has been performed.\n\n**Outcome:** initial baseline ended safely, **inconclusive for throughput or network degradation**, but with a noteworthy `/ready` false-green observation under incomplete historical synchronization. I will correct peer-limit verification and disk measurement before any new run. No additional public load is currently running.\n\nRelated to previously reported issue #219; no new bounty claim made here.","created_at":"2026-10-30T17:14:02+00:00"},{"id":84,"source":"github","source_ref":"6528882399","author":"freestriker00","team":false,"body":"### Follow-up pre-run clarification — corrected cold-start observation (2026-10-30)\n\nThe previous short baseline (#224, first-results comment) stopped because my local disk watchdog incorrectly used **apparent file size** (`du -sb`) instead of **actually allocated disk blocks**. This is corrected: `du -sB1` plus free-filesystem-space checks.\n\nI will perform **one additional bounded baseline run under this same campaign notice**, following the current user's authorization, not a sustained high-volume stress campaign. Updated conservative constraints:\n\n- **Single research node** on one VPS, `testnet-0005` only, one *configured* official bootstrap and ambient discovery disabled. The libp2p node nevertheless connected to six peers on the first run. I will record the **actual** peer count, stop if it rises above **8**, and will **not** describe it as a single-peer experiment.\n- **Hard run length ≤ 95 seconds**, CPU quota **75% of one core**, cgroup `MemoryMax=1800M` with early stop at **1.5 GB** observed, `TasksMax=180`, allotted time stop by systemd.\n- Stop at **2 GB of allocated disk use** (not apparent file length), less than 10 GB remaining filesystem space, unexpected network ID, evidence of network/API errors, resource limits, or elevated peer count.\n- Local `/health`, `/ready`, `/node` and cgroup observations every **5 seconds**, plus at most one low-rate official bootstrap `/node` before/after; raw UTC samples saved.\n- No transaction writes, wallet keys, faucet calls, public HTTP load or malformed messages. No automatic retries or rate escalation.\n\nThe goals are to obtain a **time series** rather than one snapshot, assess whether `/ready` stays green while historical sync remains incomplete, and understand memory/progress within tight safety bounds.\n\nI will post the actual measurements and limitations here when the one run finishes. Any subsequent sustained transaction load would require its **own specifically scoped advance notice**.","created_at":"2026-10-30T17:18:47+00:00"},{"id":85,"source":"github","source_ref":"6528987743","author":"freestriker00","team":false,"body":"### Second bounded public sync baseline — 18-sample time series, 2026-10-30\n\nCompleted the follow-up run announced above. **One ordinary node, no transactions, no faucet requests, no load generator and no protocol fuzzing**. The run ended at its duration limit, without reaching the resource, disk or peer-count thresholds.\n\n**Repro setup:** pinned research checkout `978785929bc17a2f4ab30c383e5fc9cf4d634512` (binary reports `xe/dev`), fresh `testnet-0005` data directory, `--no-discovery --disable-mdns --max-inbound-conns 1`, only London bootstrap configured, `CPUQuota=75%`, `MemoryMax=1800M`, early stop at 1.5 GB, allocated disk early stop at 2 GB, abort if >8 peers. `/health`, `/ready`, `/node` read locally every five seconds. **Actual peer count varied from five to six**; the inbound limit does not constrain outgoing/DHT peers, so this was not a one-peer-only test.\n\nThe London bootstrap `GET /node` reported `network_id=testnet-0005`, `version=xe/4f19518`, and **145,130 blocks before** the run, **145,190 afterward**. This differs in software version from the local research client and must not be interpreted as a same-build comparison.\n\n**Key observation:** at 15 seconds, the research node had only **16 ledger blocks**, but `GET /ready` already returned **HTTP 200, ready=true, synced=true**. It remained green in all 15 subsequent five-second observations through 85 seconds, with only **288 blocks** by the final sample. It had the same network ID as London, but far less historical state.\n\n```text\nseconds  local_blocks  ready  peers  RAM_MB  allocated_disk_MB\n     5             2  false      5     207               1.87\n    10             3  false      5     217               2.97\n    15            16  true       5     273               3.56\n    20            20  true       5     295               4.01\n    25            20  true       5     297               4.01\n    30            24  true       5     409               4.03\n    35            25  true       5     392               4.04\n    40            26  true       5     491               4.04\n    45            29  true       6     493               4.05\n    50            33  true       6     561               4.07\n    55            34  true       6     563               4.07\n    60            35  true       6     640               4.08\n    65            90  true       6     642               4.26\n    70           165  true       6     712               4.65\n    75           207  true       6     772               4.99\n    80           250  true       6     828               5.34\n    85           288  true       6     848               5.64\n```\n\nThe local journal recorded **47** `sync: hit maxTotalBlocks cap (10000), stopping` warnings. Those warnings correlate with the incomplete historical sync, but **do not prove the cap itself is the sole cause of premature readiness**. The measurement is about sync/readiness behavior; no throughput/finality capacity conclusion can be drawn.\n\n**Limits and shutdown:** max observed cgroup memory **848.1 MB**, max observed peers **6**, allocated disk at final timed sample **5.64 MB**. Corrected watchdog used `du -sB1` actual occupied blocks (rather than apparent file lengths). The transient systemd service is stopped. The process exceeded its 12-second graceful stop timeout and was killed by systemd, a known issue similar to #60, not a new claim.\n\n**Reproducibility/limitations:** 18 raw UTC JSONL samples, journal excerpts and exact configuration are archived. This was a **second independent reproduction** of the public `/ready` mismatch in the pinned research-client version, not a demonstration that today's different official `xe/4f19518` binary has the same bug, or that the network suffered harm. I am retaining it as supporting evidence for original finding #219.\n\nThere is **no ongoing public load** and no subsequent automatic run scheduled.","created_at":"2026-10-30T17:24:05+00:00"},{"id":3246,"source":"github","source_ref":"6885441351","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-0133; it is read like any other.","created_at":"2026-11-14T22:49:56+00:00"}]}