mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
This commit fixes LND RPC authentication by switching from raw gRPC clients to lndclient wrappers that provide proper macaroon authentication. Changes: - Update LNDClients to use lndclient.LightningClient and lndclient.RouterClient instead of raw gRPC clients - Add getRawLightningClient() and getRawRouterClient() helpers that use RawClientWithMacAuth() for authenticated raw client access - Update all 21 LND builtin methods to use the new pattern - Add InMemoryStore implementation for testing - Wire up LND clients in terminal.go after LND connects - Fix integration test function signatures All 7 scripts integration tests now pass: - scripts_basic_crud - scripts_validation - scripts_execution - scripts_kv_store - scripts_lnd_access - scripts_builtins - scripts_kv_builtins |
||
|---|---|---|
| .. | ||
| builtins.go | ||
| builtins_http.go | ||
| builtins_kv.go | ||
| builtins_lnd.go | ||
| builtins_subscribe.go | ||
| engine.go | ||
| kvstore.go | ||
| log.go | ||
| manager.go | ||
| rpcserver.go | ||
| runner.go | ||
| sandbox.go | ||
| store.go | ||
| store_sql.go | ||
| types.go | ||
| validator.go | ||