Skip to main content

Crate fedimint_lightning

Crate fedimint_lightning 

Source

Modules§

ldk
lnd
metrics

Macros§

tracked_call 🔒

Structs§

CreateInvoiceRequest
CreateInvoiceResponse
GetBalancesResponse
GetLnOnchainAddressResponse
GetNodeInfoResponse
GetRouteHintsResponse
InterceptPaymentRequest
InterceptPaymentResponse
LightningContext
Represents an active connection to the lightning node.
ListChannelsResponse
LnRpcTracked
A wrapper around Arc<dyn ILnRpcClient> that tracks metrics for each RPC call.
OpenChannelResponse
PayInvoiceResponse
Preimage
SendOnchainResponse

Enums§

InvoiceDescription
LightningRpcError
PaymentAction

Constants§

MAX_LIGHTNING_RETRIES

Traits§

ILnRpcClient
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§

Lnv2HoldInvoiceFilter
Returns true if 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.
RouteHtlcStream