lnbits/tests
padreug ab19685a2a feat: implement automatic crediting of new accounts with 1 million satoshis
- Modified the user account creation process to automatically credit new
accounts with 1,000,000 satoshis upon creation.
- Updated the `create_user_account_no_ckeck` function to include error
handling and logging for the credit operation.
- Enhanced tests to verify the balance for newly registered users,
ensuring the correct credit amount is applied.
- Documented affected account creation paths and testing instructions in
the new `AUTO_CREDIT_CHANGES.md` file.

fix: pass db connection to update_wallet_balance to prevent SQLite deadlock

The auto-credit feature was causing a deadlock on SQLite because
update_wallet_balance was opening a new database connection while
already inside a transaction. By passing conn=conn, we reuse the
existing connection and avoid the deadlock.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 13:02:14 +01:00
..
api feat: implement automatic crediting of new accounts with 1 million satoshis 2026-01-11 13:02:14 +01:00
regtest test: add boltz fundingsource to regtest (#3677) 2025-12-22 09:23:46 +01:00
unit feat: add support for paying amountless BOLT11 invoices 2026-01-09 19:43:50 +01:00
wallets [perf] Faster require invoice key (#3603) 2025-12-05 10:03:51 +02:00
__init__.py refactor: add some dev files and black original code 2019-12-13 17:56:19 +01:00
conftest.py test: add boltz fundingsource to regtest (#3677) 2025-12-22 09:23:46 +01:00
copilot_prompt.md [feat] access control lists (with access tokens) (#2864) 2025-01-16 17:25:27 +02:00
helpers.py feat: use uv instead of poetry for CI, docker and development (#3325) 2025-08-21 16:17:19 +02:00