Skip to main content

Module ldk

Module ldk 

Source

Structs§

GatewayLdkClient
LdkOfferId 🔒
LdkTracingLogger 🔒
Forwards ldk-node’s log records into the gateway’s tracing subscriber.
UserChannelId

Enums§

PendingPaymentWakeup 🔒
Outcome of attempting to wake a pay() waiter for a terminal payment event.

Functions§

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::Display function will always serialize the SafeUrl with a trailing slash, which causes the connection to fail.
get_preimage_and_payment_hash 🔒
Maps LDK’s PaymentKind to an optional preimage and an optional payment hash depending on the type of payment.