]> git.bitcoin.ninja Git - rust-lightning/commit
Store OffersMessages for later sending
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 14 Sep 2023 19:50:56 +0000 (14:50 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 20 Oct 2023 14:49:55 +0000 (09:49 -0500)
commitddfeb3f642c7d3f0e4a627dcf552e2a1c2b1e04a
tree9ff411e320e504ff15680240a4fcbc0e5cfa17da
parentbc0203d69b47a2f089ef15f5c2e193219bab2818
Store OffersMessages for later sending

Upcoming commits will add utilities for sending an InvoiceRequest for an
Offer and an Invoice for a Refund. These messages need to be enqueued so
that they can be released in ChannelManager's implementation of
OffersMessageHandler to OnionMessenger for sending.

These messages do not need to be serialized as they must be resent upon
restart.
lightning/src/ln/channelmanager.rs