carlaKC / attackathon

utilities and instructions to run a lightning jamming attackathon
0 stars 6 forks source link

circuitbreaker: consider shorter reputation windows #38

Closed carlaKC closed 4 months ago

carlaKC commented 4 months ago

As is, our reputation algo compares the fees paid to us by a potential attacking incoming channel over a 6 month period to the earnings of the potentially attacked outgoing channel over a 2 month period. This makes sense for real life, where we want reputation to take very long to build up, but less so when we're running a limited term attackathon.

Consider decreasing these windows, which would need changes in the following places:

Also worth generally thinking about how messing with some time (but not all time) messes with what we're doing.