Crate ln_gateway

source ·

Modules§

Structs§

  • Command line parameters for starting the gateway. mode, data_dir, listen, and api_addr are all required.
  • GatewayParameters is a helper struct that can be derived from GatewayOpts that holds the CLI or environment variables that are specified by the user.
  • Represents an active connection to the lightning node.
  • Utility struct for formatting an intercepted HTLC. Useful for debugging.

Enums§

  • Errors that can occur while processing incoming HTLC’s, making outgoing payments, registering with connected federations, or responding to webserver requests.