faraday/frdrpcserver
bitromortac d98e8ef59e
faraday+frdrpcserver: move server infrastructure to faraday package
Move the gRPC/REST server lifecycle, macaroon service management, and
TLS setup from frdrpcserver.RPCServer to a new Faraday struct in the
faraday package. This leaves RPCServer as a pure RPC request handler
with only business logic methods.

The Faraday struct embeds *frdrpcserver.RPCServer and takes ownership
of all infrastructure concerns: gRPC/REST server creation, macaroon
service setup, TLS configuration, and start/stop lifecycle. The
frdrpcserver.Config is slimmed down to just Lnd and BitcoinClient.

The macaroons.go file is also moved from frdrpcserver to the faraday
package, as the macaroon constants are now used by the Faraday struct
directly.
2026-03-24 09:43:39 +01:00
..
perms frdrpcserver: move RequiredPermissions to dedicated dir 2022-06-14 15:48:02 +02:00
channel_insights.go frdrpc+frdrpcserver: move RPC server into own package 2022-05-02 12:24:44 +02:00
close_recommendations.go frdrpc+frdrpcserver: move RPC server into own package 2022-05-02 12:24:44 +02:00
close_report.go multi: fix linter issues, run imports 2022-11-21 17:12:17 +01:00
exchange_rate.go frdrpcserver: fix granularity parsing from RPC 2026-03-03 13:40:18 -05:00
exchange_rate_test.go frdrpcserver: fix granularity parsing from RPC 2026-03-03 13:40:18 -05:00
log.go multi: update LND, lndclient and btclog deps 2025-03-05 11:51:45 +02:00
node_audit.go Only fetch onchain transactions from LND within start_time and end_time range 2025-01-20 11:05:10 +01:00
revenue_report.go multi: fix linter issues, run imports 2022-11-21 17:12:17 +01:00
rpcserver.go faraday+frdrpcserver: move server infrastructure to faraday package 2026-03-24 09:43:39 +01:00
validate.go frdrpc+frdrpcserver: move RPC server into own package 2022-05-02 12:24:44 +02:00