Expand description
Message handling for async payments.
Structs§
- Held
Htlc Available - An HTLC destined for the recipient of this message is being held upstream. The reply path
accompanying this onion message should be used to send a
ReleaseHeldHtlcresponse, which will cause the upstream HTLC to be released. - Offer
Paths BlindedMessagePaths to be included in an async recipient’sOffer::paths, sent by a static invoice server in response to anOfferPathsRequest.- Offer
Paths Request - A request from an async recipient for
BlindedMessagePaths from a static invoice server. These paths will be used in the async recipient’sOffer::paths, so payers can requestStaticInvoices from the static invoice server. - Release
Held Htlc - Releases the HTLC corresponding to an inbound
HeldHtlcAvailablemessage. - Serve
Static Invoice - A request from an async recipient to a static invoice server that a
StaticInvoicebe provided in response toInvoiceRequests from payers. - Static
Invoice Persisted - Confirmation from a static invoice server that a
StaticInvoicewas persisted and the correspondingOfferis ready to be used to receive async payments. Sent to an async recipient in response to aServeStaticInvoicemessage.
Enums§
- Async
Payments Message - Possible async payment messages sent and received via an
OnionMessage.
Traits§
- Async
Payments Message Handler - A handler for an
OnionMessagecontaining an async payments message as its payload.