diff options
| author | Your Name <you@example.com> | 2026-05-17 04:37:15 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-17 04:37:15 +0530 |
| commit | cb4bd7d7c10cadcb43f82c09b13ffed744e541f7 (patch) | |
| tree | 1f01c31083e9252b7f41e89ba201373d6606a47d /tests/unit/stubs/nucula_wallet.h | |
| parent | 78dd599277b8e8b2ddc39a4ae710ec91d737272e (diff) | |
Phase 5: Lightning auto-payout with LNURL-pay and NUT-05 melt
- New lnurl_pay.c/h: LNURL-pay protocol (GET .well-known/lnurlp + callback)
- New lightning_payout.c/h: threshold-based auto-payout with multi-recipient split
- Extended nucula_wallet bridge with nucula_wallet_melt() (NUT-05)
- Config: payout section with multi-mint, multi-recipient, fee_tolerance
- Default: enabled, TollGate@coinos.io, min_payout=128, min_balance=64
- 18 new unit tests (all passing), 134 total
Diffstat (limited to 'tests/unit/stubs/nucula_wallet.h')
| -rw-r--r-- | tests/unit/stubs/nucula_wallet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/stubs/nucula_wallet.h b/tests/unit/stubs/nucula_wallet.h index 260ec35..399b3b5 100644 --- a/tests/unit/stubs/nucula_wallet.h +++ b/tests/unit/stubs/nucula_wallet.h | |||
| @@ -12,6 +12,7 @@ uint64_t nucula_wallet_balance(void); | |||
| 12 | int nucula_wallet_proof_count(void); | 12 | int nucula_wallet_proof_count(void); |
| 13 | char *nucula_wallet_proofs_json(void); | 13 | char *nucula_wallet_proofs_json(void); |
| 14 | esp_err_t nucula_wallet_swap_all(void); | 14 | esp_err_t nucula_wallet_swap_all(void); |
| 15 | esp_err_t nucula_wallet_melt(const char *bolt11_invoice, uint64_t max_fee_sats); | ||
| 15 | void nucula_wallet_print_status(void); | 16 | void nucula_wallet_print_status(void); |
| 16 | 17 | ||
| 17 | #endif | 18 | #endif |