lnd.xprv/chanfitness
carla 6cf66aea47
chanfitness: cool down flap count for rate limiting
Since we store all-time flap count for a peer, we add a cooldown factor
which will discount poor flap counts in the past. This is only applied
to peers that have not flapped for at least a cooldown period, so that
we do not downgrade our rate limiting for badly behaved peers.
2020-09-08 15:01:02 +02:00
..
chanevent_test.go chanfitness: cool down flap count for rate limiting 2020-09-08 15:01:02 +02:00
chanevent.go chanfitness: cool down flap count for rate limiting 2020-09-08 15:01:02 +02:00
chaneventstore_test.go multi: store peer flap rate on disk on best effort basis 2020-09-08 13:49:46 +02:00
chaneventstore_testctx_test.go multi: store peer flap rate on disk on best effort basis 2020-09-08 13:49:46 +02:00
chaneventstore.go multi: store peer flap rate on disk on best effort basis 2020-09-08 13:49:46 +02:00
interface.go chanfitness: record timestamped flap count for peers 2020-09-08 13:47:19 +02:00
log.go chanfitness: Add channel event log structure 2019-10-25 09:51:07 +02:00
rate_limit_test.go chanfitness: cool down flap count for rate limiting 2020-09-08 15:01:02 +02:00
rate_limit.go chanfitness: cool down flap count for rate limiting 2020-09-08 15:01:02 +02:00