- Use BAL_SERVER_DB_* / BAL_SERVER_PG_DSN in bal-pusher, Dockerfiles,
scripts and docs instead of the BAL_PUSHER_DB_* duplicates
- Default BAL_SERVER_URL to http://127.0.0.1:9133
- Extract PostgreSQL container startup into a shared pg-server.sh sourced by
bal-server.sh and bal-pusher.sh
- Read the Postgres password from BAL_PG_PASSWORD instead of hardcoding it,
and stop printing the password-bearing DSN
- Redact a real-looking Gitea token from .env.example (revoke it if it was live)
- download_and_install_bitcoincore.sh:
- Fix apt install with single-quoted string (was treating all deps as one package)
- Add sudo to apt install commands
- Fix tar extraction: now finds extracted dir and copies bitcoind/bitcoin-cli to /usr/local/bin
- Fix zmqpubrawblock -> zmqpubhashblock (pusher expects hashblock topic)
- Fix install check (0 was testing cd, not tar) with explicit extraction check
- Handle existing user in adduser
- Fix source lib.sh path
- download_and_install_bal.sh:
- Use curl -sfL (fail on 404, follow redirects) for Gitea download
- Add null/empty check after jq download URL extraction
- Change certbot --standalone to --nginx (avoids port 80 conflict)
- Enable nginx site symlink (was commented out)
- Handle existing 'bal' user in adduser
- install_tor.sh:
- Add sudo to all root-requiring commands (apt, tee, cp, sed, systemctl)
- Backup torrc with timestamp before modifying
- Add DisableDebuggerAttachment hardening