lightning-terminal/itest
sputn1ck 43df8e2d7d scripting: fix LND RPC authentication using lndclient wrappers
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
2026-01-30 23:28:52 +01:00
..
assertions.go itest: add custom channel integration test 2024-12-19 21:21:39 +01:00
assets_test.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
litd_accounts_test.go itest: formatting enhancements for tap payments 2025-10-15 11:07:21 +02:00
litd_custom_channels_test.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
litd_firewall_test.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
litd_mode_integrated_test.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
litd_mode_remote_test.go itest: add a stateless_init test 2024-10-14 16:57:00 +02:00
litd_node.go itest: fix nil error deref 2026-01-14 09:31:22 +02:00
litd_scripts_test.go scripting: fix LND RPC authentication using lndclient wrappers 2026-01-30 23:28:52 +01:00
litd_stateless_init_test.go itest: add a stateless_init test 2024-10-14 16:57:00 +02:00
litd_test.go itest: add tranche-based parallel runner and clearer logs 2025-12-09 12:47:05 +00:00
litd_test_list_off_test.go multi: remove legacy // +build tag Lines 2025-11-25 01:38:22 +01:00
litd_test_list_on_test.go scripting: add LND RPC bindings and integration tests 2026-01-30 23:28:52 +01:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
network_harness.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
oracle_test.go mod+subservers: use taprpc module 2025-05-02 11:05:12 +02:00
server_harness.go itest: export ServerHarness publicly 2023-05-11 00:55:14 +02:00
test_harness.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00