diff options
| author | Adam Soltys <[email protected]> | 2026-11-10 07:26:34 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-11-10 07:26:34 -0700 |
| commit | 3c5e9c347a4b1a48d19d1a20ab4ace6f19852770 (patch) | |
| tree | dcc146570aef4126d71ea3e3debed0c32ee0712a /bridge/ln.test.js | |
| parent | 912944d6931065dc4e06d57dd28883a96f149057 (diff) | |
| download | coinosv3-server-3c5e9c347a4b1a48d19d1a20ab4ace6f19852770.tar.gz coinosv3-server-3c5e9c347a4b1a48d19d1a20ab4ace6f19852770.zip | |
nwcpush: a claim says when the request was already answered, can be handed back, and /publish returns once one relay has the reply. A background zap's worker asked /answered, then (after starting the wallet) /claim, one after the other, and then sat in /publish until the slowest of three relays answered — about four seconds after its payment had settled. /claim now refuses a request that already has a reply with {ok:false, answered:true} (old workers read ok:false and stand down, as they should), takes {release:true} from a holder that can't make good on it (the wallet's server unreachable), and /publish marks the request answered at once, answers after the first relay's word and logs how long the first and the last took
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'bridge/ln.test.js')
0 files changed, 0 insertions, 0 deletions
