]> git.bitcoin.ninja Git - rust-lightning/commit
Track the full list of outpoints a chanmon wants monitoring for.
authorMatt Corallo <git@bluematt.me>
Tue, 21 Jan 2020 03:05:29 +0000 (22:05 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 18 Feb 2020 23:20:33 +0000 (18:20 -0500)
commit73dce207dd0ea6c3ac57af3ebb8b87ee03e82c9e
tree43564049680e9b09290a39010427b25764ae8a22
parent473f611d11df244b950661b82142c51e5e962b71
Track the full list of outpoints a chanmon wants monitoring for.

Upon deserialization/reload we need to be able to register each
outpoint which spends the commitment txo which a channelmonitor
believes to be on chain. While our other internal tracking is
likely sufficient to regenerate these, its much easier to simply
track all outpouts we've ever generated, so we do that here.
lightning/src/ln/channelmonitor.rs