Swap pending_outbound_payments for OutboundPayments struct
authorValentine Wallace <vwallace@protonmail.com>
Sun, 18 Dec 2022 18:28:47 +0000 (13:28 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Tue, 20 Dec 2022 02:04:53 +0000 (21:04 -0500)
commitafd31507d90b898e9239017646257633be855b11
treebc6bbe42c66cf1b433d93f8c9c44100ec945a2e6
parent278ebd208a2920a4fbb30f0f4a5e2feb641d7cca
Swap pending_outbound_payments for OutboundPayments struct

This allows us to move a lot of outbound payment logic out of ChannelManager
and into the new outbound_payment module, and helps avoid growing
ChannelManager when we add retry logic to it in upcoming work.
lightning/src/ln/channelmanager.rs
lightning/src/ln/outbound_payment.rs