Crate ln_gateway

Source

Re-exports§

pub use config::GatewayParameters;

Modules§

client
config
db πŸ”’
envs
error πŸ”’
events πŸ”’
federation_manager πŸ”’
gateway_module_v2
rpc
state_machine
types πŸ”’
Map gateway_lnrpc protobuf types to rust types

Structs§

Gateway

Enums§

GatewayState
ReceivePaymentStreamAction πŸ”’
The action to take after handling a payment stream.

Constants§

DB_FILE πŸ”’
Name of the gateway’s database that is used for metadata and configuration storage.
DEFAULT_MODULE_KINDS πŸ”’
The non-lightning default module types that the Gateway supports.
DEFAULT_NETWORK
Default Bitcoin network for testing purposes.
DEFAULT_NUM_ROUTE_HINTS πŸ”’
The default number of route hints that the legacy gateway provides for invoice creation.
EXPIRATION_DELTA_MINIMUM_V2 πŸ”’
LNv2 CLTV Delta in blocks
GW_ANNOUNCEMENT_TTL πŸ”’
How long a gateway announcement stays valid
LDK_NODE_DB_FOLDER πŸ”’
Name of the folder that the gateway uses to store its node database when running in LDK mode.

Type Aliases§

AdminResult
Result