]> git.bitcoin.ninja Git - rust-lightning/commit
Track SCID aliases from our counterparty and use them in invoices
authorMatt Corallo <git@bluematt.me>
Tue, 1 Feb 2022 17:37:16 +0000 (17:37 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 9 Mar 2022 19:14:38 +0000 (19:14 +0000)
commitb2629afd88b0874ca1ede986a9c789eea20c6be8
treebe69d27f72d17b4d1b9d4da5590602ac07c5ee19
parentf54ebf78f69f08f7b12556b5abe5eb7a3e54c466
Track SCID aliases from our counterparty and use them in invoices

New `funding_locked` messages can include SCID aliases which our
counterparty will recognize as "ours" for the purposes of relaying
transactions to us. This avoids telling the world about our
on-chain transactions every time we want to receive a payment, and
will allow for receiving payments before the funding transaction
appears on-chain.

Here we store the new SCID aliases and use them in invoices instead
of he "standard" SCIDs.
fuzz/src/router.rs
lightning-invoice/src/utils.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/routing/router.rs