From: Antoine Riard Date: Tue, 10 Dec 2019 21:28:33 +0000 (-0500) Subject: Log block tick in ChannelMonitor X-Git-Tag: v0.0.12~169^2~6 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=9eb87802c5792adb8b6a307a9228455868c45a0d;p=rust-lightning Log block tick in ChannelMonitor --- diff --git a/lightning/src/ln/channelmonitor.rs b/lightning/src/ln/channelmonitor.rs index 0084cbb26..296709d10 100644 --- a/lightning/src/ln/channelmonitor.rs +++ b/lightning/src/ln/channelmonitor.rs @@ -2327,6 +2327,7 @@ impl ChannelMonitor { } fn block_connected(&mut self, txn_matched: &[&Transaction], height: u32, block_hash: &Sha256dHash, broadcaster: &BroadcasterInterface, fee_estimator: &FeeEstimator)-> (Vec<(Sha256dHash, Vec)>, Vec, Vec<(HTLCSource, Option, PaymentHash)>) { + log_trace!(self, "Block {} at height {} connected with {} txn matched", block_hash, height, txn_matched.len()); let mut watch_outputs = Vec::new(); let mut spendable_outputs = Vec::new(); let mut htlc_updated = Vec::new();