Skip to main content

Crate fedimint_gwv2_client

Crate fedimint_gwv2_client 

Source

Modulesยง

api ๐Ÿ”’
complete_sm ๐Ÿ”’
events
receive_sm ๐Ÿ”’
send_sm ๐Ÿ”’

Structsยง

GatewayClientContextV2
GatewayClientInitV2
GatewayClientModuleV2
GatewayClientV2Error
A failure reported by the gateway behind IGatewayClientV2.
IncomingCircuitKey
Stable identity of an incoming Lightning circuit.

Enumsยง

FinalReceiveState
GatewayClientStateMachinesV2
GatewayOperationMetaV2
Identifies the role of an LNv2 gateway operation.
GatewayOperationRoleV2
Role of an LNv2 gateway operation.
GatewaySendPaymentError
A refusal to pay an invoice for an LNv2 client.
IncomingRelayPlan ๐Ÿ”’
RelayIncomingHtlcError
Why the gateway did not relay an intercepted LNv2 HTLC.

Constantsยง

EXPIRATION_DELTA_MINIMUM_V2
LNv2 CLTV Delta in blocks
FEDERATION_LIVENESS_TIMEOUT ๐Ÿ”’
Bound on the federation liveness probe that gates funding a fresh incoming contract. A healthy federation answers well within this; the bound only decides how quickly an unreachable one fails the HTLC back.
LNV2_CLAIM_DEADLINE_MARGIN ๐Ÿ”’
Minimum number of blocks between the current height and an incoming HTLCโ€™s claim deadline for the gateway to fund its incoming contract.

Traitsยง

IGatewayClientV2
An interface between module implementation and the general Gateway

Functionsยง

incoming_circuit_operation_id ๐Ÿ”’
incoming_relay_plan ๐Ÿ”’
is_legacy_completion_for_circuit ๐Ÿ”’
legacy_completion_in_states ๐Ÿ”’
operation_creation_failed_permanently ๐Ÿ”’