mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
multi: update lnd dependency to v0.16.0-beta.rc3
- Bump lnd and other module dependencies. - Bump Go build version & RPCs - Refactor itests to use the new lnd itest framework.
This commit is contained in:
parent
592c9e35e0
commit
c267ef64eb
32 changed files with 1600 additions and 499 deletions
65
rpc_proxy.go
65
rpc_proxy.go
|
|
@ -111,39 +111,38 @@ func newRpcProxy(cfg *Config, validator macaroons.MacaroonValidator,
|
|||
// it is handled there. If not, the director will forward the call to either a
|
||||
// local or remote lnd instance.
|
||||
//
|
||||
// any RPC or grpc-web call
|
||||
// |
|
||||
// V
|
||||
// +---+----------------------+
|
||||
// | grpc-web proxy |
|
||||
// +---+----------------------+
|
||||
// |
|
||||
// v native gRPC call with basic auth
|
||||
// +---+----------------------+
|
||||
// | interceptors |
|
||||
// +---+----------------------+
|
||||
// |
|
||||
// v native gRPC call with macaroon
|
||||
// +---+----------------------+
|
||||
// | gRPC server |
|
||||
// +---+----------------------+
|
||||
// |
|
||||
// v unknown authenticated call, gRPC server is just a wrapper
|
||||
// +---+----------------------+
|
||||
// | director |
|
||||
// +---+----------------------+
|
||||
// |
|
||||
// v authenticated call
|
||||
// +---+----------------------+ call to lnd or integrated daemon
|
||||
// | lnd (remote or local) +---------------+
|
||||
// | faraday remote | |
|
||||
// | loop remote | +----------v----------+
|
||||
// | pool remote | | lnd local subserver |
|
||||
// +--------------------------+ | - faraday |
|
||||
// | - loop |
|
||||
// | - pool |
|
||||
// +---------------------+
|
||||
//
|
||||
// any RPC or grpc-web call
|
||||
// |
|
||||
// V
|
||||
// +---+----------------------+
|
||||
// | grpc-web proxy |
|
||||
// +---+----------------------+
|
||||
// |
|
||||
// v native gRPC call with basic auth
|
||||
// +---+----------------------+
|
||||
// | interceptors |
|
||||
// +---+----------------------+
|
||||
// |
|
||||
// v native gRPC call with macaroon
|
||||
// +---+----------------------+
|
||||
// | gRPC server |
|
||||
// +---+----------------------+
|
||||
// |
|
||||
// v unknown authenticated call, gRPC server is just a wrapper
|
||||
// +---+----------------------+
|
||||
// | director |
|
||||
// +---+----------------------+
|
||||
// |
|
||||
// v authenticated call
|
||||
// +---+----------------------+ call to lnd or integrated daemon
|
||||
// | lnd (remote or local) +---------------+
|
||||
// | faraday remote | |
|
||||
// | loop remote | +----------v----------+
|
||||
// | pool remote | | lnd local subserver |
|
||||
// +--------------------------+ | - faraday |
|
||||
// | - loop |
|
||||
// | - pool |
|
||||
// +---------------------+
|
||||
type rpcProxy struct {
|
||||
cfg *Config
|
||||
basicAuth string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue