diff options
| author | Adam Soltys <[email protected]> | 2026-08-01 12:04:14 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-01 12:04:14 -0700 |
| commit | 0bada8cc01cff45060b2589716b180f166ef489c (patch) | |
| tree | 4ea3476b1425f528e6f999eb4dd0654e0bf5fd3d /tools | |
| parent | d561d4110c7b484bee077678b8469188a3541753 (diff) | |
| download | coinosv3-0bada8cc01cff45060b2589716b180f166ef489c.tar.gz coinosv3-0bada8cc01cff45060b2589716b180f166ef489c.zip | |
Never silently drop an NWC request addressed to us
A request that fails to decrypt was returning without a reply, on the theory
that undecryptable traffic wasn't ours. But the event is addressed to this
connection's service key and signed by its client key — it IS ours, so a
failure there is our bug, and dropping it looks exactly like the wallet being
offline. That is why Amethyst spun with no way to tell why.
Now it logs the reason, records it for the Settings card, and replies with an
INTERNAL error (in both schemes, in case scheme detection was itself wrong) so
the client fails fast. The card also shows the last request accepted, so the
listener can be seen working without devtools.
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
