Track counterparty's commitment secrets in Channel directly.
authorMatt Corallo <git@bluematt.me>
Fri, 7 Feb 2020 22:48:46 +0000 (17:48 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 26 Feb 2020 22:48:31 +0000 (17:48 -0500)
commit6296eb1c5f607251b09188f2073d4c35bc394d24
tree0f5832ed128f40e48fa2c9b361689980e6888bc1
parent27be07ba3eec8fd5b9f272f436b960f5f5a1b3d7
Track counterparty's commitment secrets in Channel directly.

In the process of removing a local ChannelMonitor in each Channel,
we need to track our counterpartys' commitment secrets so that we
can check them locally instead of calling our channel monitor to
do that work for us.
lightning/src/ln/channel.rs