bank: raise DEFAULT_DEBT_LIMIT to libeufin amount ceiling.

Allow large GOA exploration withdrawals up to GOA:4503599627370496.
This commit is contained in:
Hernâni Marques 2026-07-16 20:49:21 +02:00
parent c4c6a7f2c2
commit ffe8ad89db
2 changed files with 8 additions and 3 deletions

View file

@ -57,7 +57,11 @@ Regional **GOA Exploration Bank** for GNU Taler:
|-------|---------|
| `admin` | bank admin (password on host `/root/bank-admin-password.txt`) |
| `exchange` | Taler exchange wire account (`is_taler_exchange`) |
| `explorer` | demo user for phone withdraw (`debit_threshold` for regional GOA) |
| `explorer` | demo user for phone withdraw (`debit_threshold` = amount ceiling) |
| `DEFAULT_DEBT_LIMIT` | max overdraft for **new** accounts — set to libeufin ceiling `GOA:4503599627370496` (2026-07-16) |
Existing accounts need a one-shot admin `PATCH /accounts/$user` with
`{"debit_threshold":"GOA:4503599627370496"}` after raising the default (done live for all ~196 accounts).
## Mobile withdraw (GOA)
@ -91,7 +95,7 @@ For the demo QR (`explorer`), automate step 2:
# once
/root/auto-confirm-withdrawals.sh
# loop (e.g. every 4s)
nohup /root/auto-confirm-withdrawals.sh --loop 4 >>/var/log/auto-confirm-withdrawals.log 2>&1 &
nohup /root/auto-confirm-withdrawals.sh --loop 2 >>/var/log/auto-confirm-withdrawals.log 2>&1 &
```
Script: `scripts/taler-bank/auto-confirm-withdrawals.sh`