taler-monitoring/ladder
Hernâni Marques a103eeab9d
fix 1.23.3: ladder requires wallet-cli; settle for coins so pay can run
Root cause of stale intro payments: koopa max-ladder minted but accept-uri
failed with taler-wallet-cli not found (SKIP_ACCEPT ×16). Fail early without
CLI/helper; after bank transfer_done keep polling + run-pending for available
coins; pay wait 180s; host-agent max-ladder sets WALLET_CLI PATH.
2026-07-19 15:19:25 +02:00
..
extract_rpubs.py release 1.22.0: modular ladder withdraw + pay max-search 2026-07-19 14:25:24 +02:00
lib_pay.sh fix 1.23.3: ladder requires wallet-cli; settle for coins so pay can run 2026-07-19 15:19:25 +02:00
README.md fix 1.22.1: pay-wait withdraw board (start order + pendingIncoming) 2026-07-19 14:34:47 +02:00

Amount ladder modules

Entry: ../check_amount_ladder.sh via:

./taler-monitoring.sh ladder          # classic 23-rung withdraw + pay
./taler-monitoring.sh max-ladder      # max-search withdraw + pay
./taler-monitoring.sh goa-ladder      # legacy phase name = classic ladder
Path Role
../check_amount_ladder.sh Orchestrator: classic / max withdraw, then pay phase
lib_pay.sh Pay module: free-amount template, classic pay list, max payable ≤ available
extract_rpubs.py Force-select: scrape reservePub from wallet dumps

There is no check_goa_ladder.sh — removed; use the phases above.

Modes

  • classic (default): 23-rung withdraw 0→mids→max-1→max, then matching pay plan (never overspend).
  • max (max-ladder): adaptive max withdraw, then adaptive max pay via public free template (hacktivism: goa-free).

Env (pay)

Variable Default Meaning
LADDER_PAY 1 0 = skip all pays
LADDER_USE_FREE_TEMPLATE 1 public POST template with {"amount":…}
LADDER_FREE_TEMPLATE goa-free template id (hacktivism)
LADDER_FREE_TEMPLATE_INSTANCE merchant instance e.g. goa-demo-cp4zqk
LADDER_PAY_WAIT_AVAILABLE_S 90 after withdraw, wait for spendable available>0; logs withdraw board in start order (OK/OK_BANK) with live pendingIncomingdone + timer (same wallet DB)