]> git.bitcoin.ninja Git - rust-lightning/commit
Add `PersistenceNotifierGuard` take to offer/refund payments
authorMatt Corallo <git@bluematt.me>
Tue, 6 Feb 2024 23:17:50 +0000 (23:17 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Mar 2024 14:18:44 +0000 (14:18 +0000)
commitb29033659f0b9999e48bf94fa6de9f17384d1ced
treeab596ffcf637bda55aadee35559e7fa30c1bed76
parent98340dc25371eeae2854bebf6ac0f4faba0d2830
Add `PersistenceNotifierGuard` take to offer/refund payments

This resolves an issue where offer and refund payments get delayed
while we wait for the `invoice_request`/`invoice` onion messages to
get sent. It further ensures we're likely to have the
`ChannelManager` persisted with the new payment info after
initiating the send/receive.
lightning/src/ln/channelmanager.rs