Modulesยง
- Incoming State Machine
Structsยง
- GetGateway
Request ๐ - 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
. - 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
- set_
payment_ ๐result - 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.