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

Re-exports§

  • pub use bitcoin;
  • pub use lightning_invoice;

Modules§

Structs§

Enums§

Constants§

Functions§

  • Creates a message to be signed by the Gateway’s private key for the purpose of removing the gateway’s registration record. Message is defined as: