rust-lightning/lightning/src
Matt Corallo 1e7d4798eb Log chain calls in ChainMonitor, reducing logs in ChannelMonitor
For users with many ChannelMonitors, we log a large volume per
block simply because each ChannelMonitor lots several times per
block. Instead, we move to log only once at the TRACE level per
block call in ChannelMonitors, relying instead on a DEBUG level
log in ChainMonitor before we call any ChannelMonitor functions.

For most users, this will reduce redundant logging and also log at
the DEBUG level for block events, which is appropriate.

Fixes #980.
2021-08-17 21:03:14 +00:00
..
chain Log chain calls in ChainMonitor, reducing logs in ChannelMonitor 2021-08-17 21:03:14 +00:00
ln Ensure we always at least log at TRACE when a peer disconnects 2021-08-17 21:03:14 +00:00
routing Rename no_std feature to no-std 2021-08-03 18:53:33 +02:00
util Migrate OnchainEvent serialization to be MaybeReadable. 2021-08-16 17:35:35 +00:00
lib.rs Rename no_std feature to no-std 2021-08-03 18:53:33 +02:00
sync.rs Implement dummy Mutex, Condvar and RwLock 2021-07-20 20:59:18 +02:00