Module ldk

Source

Structs§

GatewayLdkClient
LdkOfferId 🔒

Enums§

GatewayLdkChainSourceConfig

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.