Commit Graph
3 Commits
Author SHA1 Message Date
such-gitea 4cf875966a fix(payments): confirm an invoice only when confirmed payments cover it
The reconciler took the deepest single payment's confirmations as the
invoice's. A tiny early payment could therefore make an unconfirmed top-up
count as confirmed, and InvoiceSettled fired before the money was final.

The invoice depth is now the depth at which payments, taken deepest first,
cover the whole amount. It is 0 while the invoice is underpaid.
2026-11-18 15:38:48 -05:00
jwinterm cb24f5a597 fix: add resilient WOW price fallback 2026-07-16 08:59:16 -04:00
jwinterm ad661ebad9 feat: expose settlement evidence in Greenfield API 2026-07-16 08:13:02 -04:00