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 |
||
|---|---|---|
| .. | ||
| assertions.go | ||
| assets_test.go | ||
| litd_accounts_test.go | ||
| litd_custom_channels_test.go | ||
| litd_firewall_test.go | ||
| litd_mode_integrated_test.go | ||
| litd_mode_remote_test.go | ||
| litd_node.go | ||
| litd_scripts_test.go | ||
| litd_stateless_init_test.go | ||
| litd_test.go | ||
| litd_test_list_off_test.go | ||
| litd_test_list_on_test.go | ||
| log.go | ||
| network_harness.go | ||
| oracle_test.go | ||
| server_harness.go | ||
| test_harness.go | ||