From 2d2f658f71364b1f99582f2ca1c6b634dbae0334 Mon Sep 17 00:00:00 2001 From: Antoine Riard Date: Wed, 26 Feb 2020 18:21:53 -0500 Subject: [PATCH] Add more logs in OnchainTxHandler --- lightning/src/ln/onchaintx.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lightning/src/ln/onchaintx.rs b/lightning/src/ln/onchaintx.rs index 3e985a37f..3f21d4c1f 100644 --- a/lightning/src/ln/onchaintx.rs +++ b/lightning/src/ln/onchaintx.rs @@ -482,6 +482,7 @@ impl OnchainTxHandler { where B::Target: BroadcasterInterface, F::Target: FeeEstimator { + log_trace!(self, "Block at height {} connected with {} claim requests", height, claimable_outpoints.len()); let mut new_claims = Vec::new(); let mut aggregated_claim = HashMap::new(); let mut aggregated_soonest = ::std::u32::MAX; @@ -638,6 +639,7 @@ impl OnchainTxHandler { } // Build, bump and rebroadcast tx accordingly + log_trace!(self, "Bumping {} candidates", bump_candidates.len()); for first_claim_txid in bump_candidates.iter() { if let Some((new_timer, new_feerate)) = { if let Some(claim_material) = self.pending_claim_requests.get(first_claim_txid) { -- 2.39.5