]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Opportunistically skip log in `update_claims_view_from_matched_txn` 2024-02-logging-tweaks
authorMatt Corallo <git@bluematt.me>
Tue, 13 Feb 2024 23:43:19 +0000 (23:43 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 13 Feb 2024 23:43:19 +0000 (23:43 +0000)
On each block, for each `ChannelMonitor`, we log two status
statements in `OnChainTx::update_claims_view_from_matched_txn`.
This can add up to quite a bit, and is generally not very
interesting when we don't actually do anything if there's no claims
to bump.

Here we drop both logs if we have no claims to work with, but
retain it if we process any claims.


No differences found