]> git.bitcoin.ninja Git - rust-lightning/commit
Log before+after ChannelMonitor/Manager updates for visibility 2021-10-log-persist-time
authorMatt Corallo <git@bluematt.me>
Mon, 4 Oct 2021 03:11:36 +0000 (03:11 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 10 Nov 2021 22:02:38 +0000 (22:02 +0000)
commit8e96f6b92efb2a04e957629f281bdb491f62dc9a
tree24a69422bdd7fb03124ee355b25917ef16e2f68e
parent6f053e48b021d516b562a449c91f977397502e73
Log before+after ChannelMonitor/Manager updates for visibility

I realized on my own node that I don't have any visibility into how
long a monitor or manager persistence call takes, potentially
blocking other operations. This makes it much more clear by adding
a relevant log_trace!() print immediately before and immediately
after persistence.
lightning-background-processor/src/lib.rs
lightning/src/chain/chainmonitor.rs
lightning/src/ln/chanmon_update_fail_tests.rs