Crate fedimint_ln_client
source ·Modules§
- Incoming State Machine
Structs§
- Client side lightning module
Enums§
- The high-level state of an pay operation internal to the federation, started with
LightningClientModule::pay_bolt11_invoice
. - The high-level state of a pay operation over lightning, started with
LightningClientModule::pay_bolt11_invoice
. - The high-level state of a reissue operation started with
LightningClientModule::create_bolt11_invoice
. - PayError 🔒
- Where to receive the payment to, either to ourselves or to another user
Constants§
- Number of blocks until outgoing lightning contracts times out and user client can get refund
Traits§
Functions§
- Get LN invoice with given settings
- Tweak a user key with an index, this is used to generate a new key for each invoice. This is done to not be able to link invoices to the same user.
- Tweak a secret key with an index, this is used to claim an unspent incoming contract.