Structs§
- Gateway
LdkClient - LdkOffer
Id 🔒 - LdkTracing
Logger 🔒 - Forwards
ldk-node’s log records into the gateway’stracingsubscriber. - User
Channel Id
Enums§
- Inbound
Registration 🔒Refusal - Why an invoice must not be registered for a payment hash on the node.
- LdkClient
Init Error - A failure to create the LDK Lightning node behind a
GatewayLdkClient. - Mnemonic
Source - How the gateway obtained the mnemonic the LDK node derives its keys from.
- Pending
Payment 🔒Wakeup - Outcome of attempting to wake a
pay()waiter for a terminal payment event.
Functions§
- channel_
push_ 🔒amount_ msats - check_
inbound_ 🔒registration - Decides whether an invoice may be registered for a payment hash the node may already know as one of our outbound payments.
- get_
esplora_ 🔒url - When a port is specified in the Esplora URL, the esplora client inside LDK
node cannot connect to the lightning node when there is a trailing slash.
The
SafeUrl::Displayfunction will always serialize theSafeUrlwith a trailing slash, which causes the connection to fail. - get_
preimage_ 🔒and_ payment_ hash - Maps LDK’s
PaymentKindto an optional preimage and an optional payment hash depending on the type of payment. - htlc_
completion_ 🔒error - Classifies an
ldk-nodeclaim or fail error for the gateway’s completion retry loop.
Type Aliases§
- Pending
Channel 🔒Sender - Sends a channel’s funding outpoint once the channel is pending, or the reason the channel closed before that.