Crate fedimint_gateway_server

Crate fedimint_gateway_server 

Source

Re-exportsΒ§

pub use config::GatewayParameters;

ModulesΒ§

client
config
envs
error πŸ”’
events πŸ”’
federation_manager πŸ”’
iroh_server πŸ”’
rpc_server
types πŸ”’
Map gateway_lnrpc protobuf types to rust types

StructsΒ§

Gateway
Registration πŸ”’
Helper struct for storing the registration parameters for LNv1 for each network protocol.
WithdrawDetails πŸ”’
Internal helper for on-chain withdrawal calculations

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_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.
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.

TraitsΒ§

IAdminGateway

FunctionsΒ§

calculate_max_withdrawable πŸ”’
Calculates an estimated max withdrawable amount on-chain

Type AliasesΒ§

AdminResult
Result