lnd.xprv/chanfitness
carla a550ca3d64
multi: store peer flap rate on disk on best effort basis
Since we will use peer flap rate to determine how we rate limit, we
store this value on disk per peer per channel. This allows us to
restart with memory of our peers past behaviour, so we don't give badly
behaving peers have a fresh start on restart. Last flap timestamp is
stored with our flap count so that we can degrade this all time flap
count over time for peers that have not recently flapped.
2020-09-08 13:49:46 +02:00
..
chanevent_test.go multi: store peer flap rate on disk on best effort basis 2020-09-08 13:49:46 +02:00
chanevent.go multi: store peer flap rate on disk on best effort basis 2020-09-08 13:49:46 +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: add flap count based rate limiting 2020-09-08 13:47:20 +02:00
rate_limit.go chanfitness: add flap count based rate limiting 2020-09-08 13:47:20 +02:00