<!-- XE-0090 · Track 2 measurement: finality throughput degrades 3x (5.0 -› 1.5 advances/min, 39 blocks per advance) at ~1 tx/s with 30 wallets · testnet -->
*Markdown view of <https://bounty.xe.network/XE-0090>. The page is the record; this is the same page for reading.*

XE-0090 · Bounty

# Track 2 measurement: finality throughput degrades 3x (5.0 -\> 1.5 advances/min, 39 blocks per advance) at \~1 tx/s with 30 wallets

Closed · withdrawn
claimed Medium
[xe#34](https://github.com/xeprotocol/xe/issues/34)
filed 2026-10-24 15:10 UTC
by kenmungeneskar

Verdict
:   published when the fix ships

Tier
:   published when the fix ships

Claimed
:   Medium

Area
:   Ops / testnet

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-10-29 14:23 UTC

### Patches

None linked.

### History

- [915](https://bounty.xe.network/log/915) 2026-10-29 14:23 UTC github.state\_pushed
- [914](https://bounty.xe.network/log/914) 2026-10-29 14:23 UTC github.labels
- [856](https://bounty.xe.network/log/856) 2026-10-29 14:22 UTC note.added
- [855](https://bounty.xe.network/log/855) 2026-10-29 14:22 UTC ticket.status new → closed
- [854](https://bounty.xe.network/log/854) 2026-10-29 14:22 UTC ticket.facts area, claimed\_tier
- [195](https://bounty.xe.network/log/195) 2026-10-29 13:57 UTC note.added
- [194](https://bounty.xe.network/log/194) 2026-10-29 13:57 UTC ticket.created

[Full history](https://bounty.xe.network/log?ref=XE-0090) · [JSON](https://bounty.xe.network/v1/tickets/XE-0090) · [markdown](https://bounty.xe.network/XE-0090.md)

### Report

**Severity (suggested):** Medium — reproducible, measurable degradation of finality throughput under a load a single
operator can generate with 30 wallets. Not a stall and not a liveness failure (no dropped blocks, no 429s, peers stable).

**XE payout address:** `b68f2b4d8a062d9219590f0c2d7753d783ec9f5d43d85a125230bb0f7a41a86e`
**Campaign notice:** #32

### Setup (as announced in #32, nothing exceeded)

- 30 campaign-controlled wallets, 8 worker threads, 10 minutes, `testnet-0005`, protocol API only
- ordinary zero-fee `send` blocks, **1 micro-XE** each, well-formed and signed (no malformed input)
- target 3 tx/s, **achieved 0.94 tx/s** (client is proof-of-work bound; PoW p50 1.43 s per block in our client)
- 581 submits → **574 confirmed (98.8 %)**, 7 client-side failures (source wallet ran out of 1-micro balance)
- **0** rate-limit (429) responses, **0** dropped blocks, peer count 5–6 throughout

### What the network did

| metric | idle baseline (2 min, no load) | during the 10-min load |
| --- | --- | --- |
| blocks produced | 25 (7.7 / min, ≈0.13 / s) | **\+624 (≈1.0 / s, 4.5× the idle block rate)** |
| `finality_advances` | \+10 (**5.0 / min**) | **\+16 (1.5 / min, −70 %)** |
| blocks per finality advance | **2.5** | **39.0** |
| time since last finality advance | median 9.9 s · max 24.7 s | **median 21.1 s · max 53.2 s** (13/42 samples \>30 s) |
| `dropped_blocks` | 0 | 0 |
| `peer_count` | 6 | 5–6 (stable, no eviction) |

Client side, same run, same code path: submit latency **p50 2.65 s in the first quarter → 4.40 s in the last quarter
(1.66×)**, p95 7.3 s, max 12.2 s. That is a within-run comparison, so it is not explained by a different setup.

### Why this is a degradation and not just "more blocks"

Finality throughput went **down in absolute terms** while block production went up: 5.0 advances/min idle → 1.5/min under
load. If finality simply lagged proportionally, the advance *rate* would have stayed flat (or risen) and only the
per-block delay would grow. Instead the network settled at **one finality advance per \~39 s** with 30 active account
chains — i.e. finality appears to advance by *rounds* (one representative, `representatives: 1`) rather than keeping up
with per-chain activity, so each round now covers many more blocks.

Consistent with that: the retry path for a missed vote is a **15 s ticker** (`node/node.go:281-292`,
`voteMgr.SweepFrontiers()`), and `/docs/constants` lists a 15 s re-vote backoff. 16 advances in 620 s ≈ one round per
39 s is within "a couple of ticks per round" of that cadence.

### Impact

- With only 30 wallets and \~1 tx/s, an individual block can wait **\>50 s** to be finalized (idle max was 24.7 s), on a
  network that documents **\~3 s** finality (see also #33, where a single client measured median 19.4 s with no load).
- Any client that waits for finality before acting (exchange-style credit, an agent paying for compute) sees its
  effective throughput collapse to the finality round rate, not to the block rate — the extra blocks buy nothing.
- Extrapolation is the open question: we stopped at 0.94 tx/s because our *client* is PoW-bound, so we cannot say from
  this run where it becomes a stall. A Go-side client (or more CPU) at 3–4 tx/s for 10 min would answer that — say the
  word and we will run it inside the same announced bounds.

### Reproduction

```
# network side only — no client needed, 2 minutes of sampling shows the idle baseline
for i in $(seq 1 24); do
  curl -s $NODE/node | jq -r '"blocks=\(.block_count) fin=\(.finality_advances) lag_ms=\(((now*1000|floor)-(.last_finality_ns/1000000))|floor)"'
  sleep 5
done
# then repeat during any load; the ratio fin/blocks is the metric that moves
```

Artifacts for this run: per-submission JSONL (581 lines, with tx hashes and latencies) and 10 s node snapshots
(42 samples) are available on request; the summary is quoted above verbatim.

### Honest limits

Single operator, single node view, one representative, and our client's proof-of-work is inside the latency numbers but
**not** inside the finality numbers (those are measured from submit → `finalized: true`). We did not run an independent
consensus audit, and we did not exceed the announced rate or duration.

---

*Measured 2026-10-24 22:57–23:08 (\+08) against `https://ldn.core.test.network`. Same client, same endpoint, same
1-micro blocks for every sample; the idle baseline was taken immediately before the run.*

### Thread

**kenmungeneskar**2026-10-25 03:47 UTCgithub

**Qualification of this report (author, 2026-10-25) — please read before acting on the numbers above**

I tried to reproduce the headline number with a paired design (idle → load → idle inside one session) and **could not
stand behind it**. Two facts that surfaced while re-measuring:

1. **The network's own finality behaviour varies far more than the effect I reported.** On 2026-10-25, \~11:30–11:44
   (\+08), `finality_advances` sat frozen at an identical value for \~11 minutes while blocks were still being accepted,
   then caught up in a burst (\+48 in \~2 minutes). Outside that window the same node advanced finality briskly.
2. **The counters were reset between my two measurement sessions**: `finality_advances` went from `24172` (during the
   run reported above) to `1305` (next session), i.e. the node/representative was restarted in between. Peer count also
   moved (6 → 7).

So the comparison in the table above — "5.0 advances/min idle vs 1.5/min under load" — is **not a clean load
attribution**: the two windows come from different sessions, with a representative restart and a different peer set in
between. I reported it as a degradation; on re-test it is at best unproven, and I would rather say that myself than have
you spend time on a number I cannot defend.

What I still consider solid:

- **#33** (per-block time-to-finality: 10 samples, 9.8–35.4 s, median 19.4 s, all \>3 s). That is a single-client
  measurement of one specific metric and does not depend on counter comparisons.
- **Inside** the load window, 624 blocks produced and 16 `finality_advances` — the *ratio* is real, but a quiet network
  with sparse voting can produce a similar ratio, so it does not by itself prove load-induced degradation.

A defensible version of this measurement is: for blocks **we submit**, measure time-to-`finalized` in a quiet window and
in a load window of the same session, and compare the per-block distributions (not the advance counters). That is the
experiment I should have run first. If you want it, I will run it inside the announced bounds (#32) and post the result
here — including if it shows nothing.

Apologies for the noise; flagging it myself is cheaper for you than a wrong line in the ledger.

**kenmungeneskar**2026-10-25 04:10 UTCgithub

﻿**Result of the experiment I proposed in my qualification — the original claim does not hold**

Paired design, one session, same node, same probe wallet (deliberately *not* part of the load), measuring only
**time from submit to `finalized: true`** for blocks we submitted ourselves:

| phase | submitted | finalized | timeouts | median | p90 | max |
| --- | --- | --- | --- | --- | --- | --- |
| quiet before | 7 | 7 | 0 | **5.5 s** | 7.1 s | 11.0 s |
| **under load (\<\=4 tx/s, 10 wallets)** | 9 | 9 | 0 | **7.3 s** | 12.2 s | 14.7 s |
| quiet after | 6 | 6 | 0 | **6.2 s** | 6.6 s | 13.2 s |

Median ratio under load vs quiet: **1.25x**, zero timeouts, no dropped blocks.

**So: no measurable degradation of per-block finality at \~4 tx/s from ten wallets.** I am withdrawing the "finality
throughput degrades 3x" claim in the original report. It came from comparing `finality_advances` counters across two
sessions that had a representative restart in between (`finality_advances` reset 24172 -\> 1305\) and different peer
counts — my error, not the network's behaviour.

What I would still offer as an observation (not a claim): the per-block metric in #33 is the one that reproduces, and it
shows time-to-finality above the documented \~3 s at both low and elevated load.

Sorry for the noise on this thread. Reproducible artifacts (per-probe hashes and timings) available if useful.

**BoomGone**2026-10-28 12:39 UTCgithub

Data point from a bounded multi-wallet test on the current build (node xe/74eeec5), per notice #133.

4 wallets, 5 rounds, one 1 micro-XE send from each wallet per round fired concurrently (20 blocks total), timing submit to finalization:

- finality: median 3.6s, p90 4.6s, min 0.5s, max 5.1s. No stalls.

This is essentially the same as the single-client baseline on this build (\~3.5s, see comment on #33), so modest 4-wallet concurrency does not degrade finality on xe/74eeec5.

Honest scope: this uses 4 wallets, not the 30 wallets in this issue, so it does not reach your scale. It shows the new build handles modest concurrency cleanly; whether the 30-wallet degradation persists on xe/74eeec5 is untested here.
