RTL/server/controllers/lnd
saubyk 4ee6817906 Address 2nd review: guard limiter callbacks, CLN postPeer aliases, one-shot done
Follow-up to the second #1629 review:

- F4: the limiter invokes its done callback outside the surrounding .then/.catch,
  so a throw in the response-send body became an unhandled rejection with no
  response (a 500 -> hang regression, notably on LND postPeer where the inner
  .catch was removed). Wrap each converted done body in try/catch that sends the
  error response, guarded by res.headersSent.
- F5: CLN postPeer re-listed peers but never resolved their aliases, so a freshly
  connected CLN peer came back with a raw node id (the frontend uses this response
  directly). Resolve aliases through the same bounded limiter, matching LND postPeer.
- F6: make runWithConcurrencyLimit fire 'done' exactly once via a one-shot guard,
  so multiple synchronous completions (e.g. non-function task elements) can't
  double-send the response.
2026-07-17 23:17:09 -07:00
..
balance.ts Release 0.15.1 (#1406) 2024-06-10 12:40:37 -07:00
channels.ts Release 0.15.3 (#1467) 2024-11-10 20:23:52 -08:00
channelsBackup.ts fix channel backup error 2026-02-01 09:06:07 -08:00
fees.ts Release 0.15.1 (#1406) 2024-06-10 12:40:37 -07:00
getInfo.ts Lint Fix (#1408) 2024-06-10 16:41:37 -07:00
graph.ts Release 0.15.1 (#1406) 2024-06-10 12:40:37 -07:00
invoices.ts Fix Missing Memo in LND Invoices Table 2026-02-09 18:13:13 -08:00
message.ts Release 0.15.1 (#1406) 2024-06-10 12:40:37 -07:00
newAddress.ts Release 0.15.1 (#1406) 2024-06-10 12:40:37 -07:00
payments.ts Release 0.15.3 (#1467) 2024-11-10 20:23:52 -08:00
peers.ts Address 2nd review: guard limiter callbacks, CLN postPeer aliases, one-shot done 2026-07-17 23:17:09 -07:00
switch.ts Release 0.15.1 (#1406) 2024-06-10 12:40:37 -07:00
transactions.ts Release 0.15.1 (#1406) 2024-06-10 12:40:37 -07:00
wallet.ts Release 0.15.1 (#1406) 2024-06-10 12:40:37 -07:00
webSocketClient.ts Release 0.15.1 (#1406) 2024-06-10 12:40:37 -07:00