a550ca3d64
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. |
||
---|---|---|
.. | ||
chanevent_test.go | ||
chanevent.go | ||
chaneventstore_test.go | ||
chaneventstore_testctx_test.go | ||
chaneventstore.go | ||
interface.go | ||
log.go | ||
rate_limit_test.go | ||
rate_limit.go |