Skip to main content

Crate fedimint_lnv2_client

Crate fedimint_lnv2_client 

Source

Re-exportsยง

pub use fedimint_lnv2_common as common;

Modulesยง

api ๐Ÿ”’
cli ๐Ÿ”’
db
events
receive_sm ๐Ÿ”’
send_sm ๐Ÿ”’

Structsยง

LightningClientContext
LightningClientInit
LightningClientModule
LnurlReceiveOperationMeta
ReceiveOperationMeta
SendOperationMeta

Enumsยง

FinalReceiveOperationState
The final state of an operation receiving a payment over lightning.
FinalSendOperationState
The final state of an operation sending a payment over lightning.
GenerateLnurlError
InvoiceSendStatus
The status of the latest send attempt for an invoice, derived from the operation log.
LightningClientStateMachines
LightningOperationMeta
ListGatewaysError
ReceiveError
ReceiveOperationState
The state of an operation receiving a payment over lightning.
RoutingInfoError
SelectGatewayError
SendOperationState
The state of an operation sending a payment over lightning.
SendPaymentError

Constantsยง

CONTRACT_CONFIRMATION_BUFFER ๐Ÿ”’
A two hour buffer in case either the client or gateway go offline
EXPIRATION_DELTA_LIMIT ๐Ÿ”’
Number of blocks until outgoing lightning contracts times out and user client can refund it unilaterally

Type Aliasesยง

ReceiveResult
SendResult