Files
cdk/crates
thesimplekid 0a8a0a6ea5 Repay fake queue (#973)
* feat: implement secondary repayment queue for any-amount invoices

- Keep original immediate payment behavior for ALL invoices (fixed and any-amount)
- Add secondary repayment queue that randomly repays any-amount invoices again
- Secondary repayments occur at random intervals between 30 seconds and 3 minutes
- Only any-amount invoices (amount=0) are added to secondary repayment queue
- Each any-amount invoice gets paid twice: once immediately, once from secondary queue
- Queue has configurable max size with LRU eviction policy
- Add comprehensive tests and update documentation

* test: add test for multiple payment verification

- Add test to verify that secondary repayment system creates multiple payments
- Test checks that immediate payment is received first
- Demonstrates the dual payment system working correctly
2025-08-18 16:17:57 +01:00
..
2025-08-18 16:17:57 +01:00
2025-07-30 10:07:22 -04:00
2025-08-13 08:54:45 +01:00
2025-08-18 16:17:57 +01:00
2025-07-13 18:48:35 +01:00
2025-07-13 18:48:35 +01:00
2025-07-31 00:43:43 -04:00
2025-08-13 13:59:32 +01:00
2025-07-31 00:43:43 -04:00