]> 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>
Mon, 3 Feb 2020 02:38:53 +0000 (21:38 -0500)
commitf1c88859af74b70389325971d3627e4dd268f8a1
treed80be614f023d3ec557601e5817684900f2e98e8
parente0defa67b5057a5a69135328aa9b79f6efeb72fa
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