fix(monitoring): drop unbound LADDER_RANGES in GOA ladder

This commit is contained in:
Hernâni Marques 2026-07-16 19:40:45 +02:00
parent 01900bab9a
commit 66815f81c2
No known key found for this signature in database
3 changed files with 34 additions and 14 deletions

View file

@ -164,29 +164,26 @@ Blockers keep the same ID prefix: `[BLOCKER] e2e-0NN step: message`.
| ladder-… | Settle coins; **stop on first hard failure** |
| report | TSV + JSON with **ms_mint / ms_accept / ms_confirm / ms_settle / ms_total** |
Default path:
Default path (`build_ladder`, strictly increasing):
```text
[fixed] GOA:0
[low] random pick in each LADDER_RANGES band (atomic … ~2e6)
[high] LADDER_HIGH_RUNGS random *ranges* log-uniform in [HIGH_FROM, max)
(range bounds drawn randomly each run — not fixed 1e7/1e8/…)
[random] (LADDER_STEPS 2) log-uniform amounts in (ε, max)
[fixed] GOA:4503599627370496 (LADDER_MAX_AMOUNT)
```
TSV column `range`: `pin:0` | `random` | `pin:max` (no legacy `LADDER_RANGES`).
| Env | Default | Meaning |
|-----|---------|---------|
| `LADDER_INCLUDE_ZERO` | `1` | first rung **0** (fixed) |
| `LADDER_INCLUDE_MAX` | `1` | last rung **max** (fixed) |
| `LADDER_MAX_AMOUNT` | `4503599627370496` | absolute pin |
| `LADDER_HIGH_FROM` | `1000000` | high random zone starts |
| `LADDER_HIGH_RUNGS` | `12` | # random high ranges |
| `LADDER_STEPS` | `23` | total rungs (0 + mids + max) |
| `LADDER_MAX_AMOUNT` | `4503599627370496` | absolute last pin |
| `LADDER_TIMEOUT_S` | `3600` | large rungs need time |
| `LADDER_MAX_RUNGS` | `99` | cap list length after build |
```bash
./taler-monitoring.sh ladder
LADDER_HIGH_RUNGS=20 ./taler-monitoring.sh ladder
LADDER_INCLUDE_ZERO=0 LADDER_INCLUDE_MAX=0 ./taler-monitoring.sh ladder
LADDER_STEPS=10 ./taler-monitoring.sh ladder
LADDER_REPORT_DIR=/tmp/my-ladder ./taler-monitoring.sh ladder
```