Crate fedimint_ln_common
source ·Expand description
§Lightning Module
This module allows to atomically and trustlessly (in the federated trust model) interact with the Lightning network through a Lightning gateway.
§Attention: only one operation per contract and round
If this module is active the consensus’ conflict filter must ensure that at most one operation (spend, funding) happens per contract per round
Modules§
- Hack to get a route hint that implements
serde
traits.
Structs§
- Information a gateway registers with a federation
- Information about a gateway that is shared with other federation members and expires based on a TTL to allow for sharing between nodes with unsynchronized clocks which can each anchor the announcement to their local system time.
- Information about a gateway that is stored locally and expires based on local system time
- Data needed to pay an invoice
Enums§
- Represents an output of the Lightning module.