Commit 33e3ef5
committed
terminal: register integrated daemon gRPC server to proxy
It turns out we never implemented the proxying of the daemon gRPC
requests as drawn in the ASCII diagram. We used to hook up the daemon
gRPC servers to the instance we got back from lnd. The requests needed
to be forwarded internally to lnd's gRPC listener even though they'd be
processed by the external subservers later.
We can short-circuit that whole redirection by simply hooking the daemon
gRPC servers directly into the proxy's gRPC server instance.
This also fixes the issue that Faraday, Loop and Pool requests wouldn't
work anymore in integrated mode after the recent changes in the proxy
logic.1 parent 2c4b6c8 commit 33e3ef5
1 file changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
343 | 342 | | |
344 | 343 | | |
345 | 344 | | |
346 | | - | |
347 | | - | |
348 | | - | |
| 345 | + | |
349 | 346 | | |
350 | 347 | | |
351 | 348 | | |
352 | 349 | | |
353 | 350 | | |
354 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
355 | 354 | | |
356 | 355 | | |
357 | 356 | | |
358 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
359 | 360 | | |
360 | 361 | | |
361 | 362 | | |
362 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
363 | 366 | | |
364 | 367 | | |
365 | 368 | | |
| |||
0 commit comments