release 1.26.0: --wallet-db harness flag, TESTPAYSAN quadlet, token-pay

This commit is contained in:
Hernâni Marques 2026-08-30 20:06:41 +02:00
parent f2ee435e6b
commit 39e5eccc25
No known key found for this signature in database
13 changed files with 235 additions and 39 deletions

View file

@ -73,7 +73,16 @@ fi
now_ms() { python3 -c 'import time; print(int(time.time()*1000))'; }
slot_db() { echo "$OUTDIR/wallet-$1.sqlite3"; }
if [ -n "${WALLET_DB:-}" ] && [ "$PARALLEL" -gt 1 ]; then
die "--wallet-db / WALLET_DB needs PARALLEL=1"
fi
slot_db() {
if [ -n "${WALLET_DB:-}" ] && [ "$1" = "0" ]; then
taler_mon_resolve_wallet_db "$OUTDIR/wallet-0.sqlite3" || exit 2
else
echo "$OUTDIR/wallet-$1.sqlite3"
fi
}
slot_sock() { echo "$OUTDIR/wallet-$1.sock"; }
slot_log() { echo "$OUTDIR/wallet-serve-$1.log"; }