]> git.bitcoin.ninja Git - rust-lightning/commit
Add payment secret and preimage tracking in ChannelManager
authorMatt Corallo <git@bluematt.me>
Thu, 22 Apr 2021 18:35:01 +0000 (18:35 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 28 Apr 2021 19:30:25 +0000 (15:30 -0400)
commit7bf6bd23179813a9ece2c7fe8c596daa650b2476
tree278d443ce7d338a26840931ad78abd82972443a6
parent3180c436f581a4205e29714e139d57e352636235
Add payment secret and preimage tracking in ChannelManager

This adds support for tracking payment secrets and (optionally)
payment preimages in ChannelManager. This potentially makes client
implementations much simper as they don't have to have external
payment preimage tracking.

This doesn't yet use such tracking anywhere.
lightning/src/ln/channelmanager.rs