diff options
| author | Adam Soltys <[email protected]> | 2026-06-14 12:34:04 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-17 07:47:47 -0700 |
| commit | e55165307096093d769893475a7481c781457f94 (patch) | |
| tree | 56be538ffc8f0b3412f5e93efb4ac9f3aaae2d17 /scripts/createExceptions.js | |
| parent | 1dc51829c39422495e289ba11f8668352abdba41 (diff) | |
| download | coinos-server-e55165307096093d769893475a7481c781457f94.tar.gz coinos-server-e55165307096093d769893475a7481c781457f94.zip | |
sendLightning/sendKeysend: instrument exit paths, tighten LEAKED DEBIT guard
Port of master 51107ed4 + fe767002 + cb0f1962 (combined) to the staging
stack. Track an outcome string through every exit path, handle the
xpay failed_parts branch explicitly (verify with listpays then finalize/
reverse/leave-pending), and dump abnormal xpay/keysend response shapes.
Leak guard re-reads the db record before firing: if ref is persisted the
payment is settled regardless of which path threw (finalize may set ref
then throw on the later tbRefund), so only a genuinely missing ref logs
"LEAKED DEBIT". Uses warn (no warnThrottled on this stack) and keeps the
existing retry_for: 20.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'scripts/createExceptions.js')
0 files changed, 0 insertions, 0 deletions
