Module ldk

Module ldk 

Source

Structsยง

GatewayLdkClient
LdkOfferId ๐Ÿ”’
UserChannelId

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.