Modules§
Macros§
Structs§
- Create
Invoice Request - Create
Invoice Response - GetBalances
Response - GetLn
Onchain Address Response - GetNode
Info Response - GetRoute
Hints Response - Intercept
Payment Request - Intercept
Payment Response - Lightning
Context - Represents an active connection to the lightning node.
- List
Channels Response - LnRpc
Tracked - A wrapper around
Arc<dyn ILnRpcClient>that tracks metrics for each RPC call. - Open
Channel Response - PayInvoice
Response - Preimage
- Send
Onchain Response
Enums§
Constants§
Traits§
- ILnRpc
Client - A trait that the gateway uses to interact with a lightning node. This allows the gateway to be agnostic to the specific lightning node implementation being used.
Type Aliases§
- Lnv2
Hold Invoice Filter - Returns
trueif the given payment hash corresponds to a HOLD invoice that the gateway created on behalf of a federation. Used by the LND backend to ignore unrelated HOLD invoices on a shared LND node, which would otherwise be mistaken for federation-bound payments and produce invalid responses on LND’s HTLC interceptor wire. - Route
Htlc Stream