Re: [Lightning-dev] Local Reputation to Mitigate Slow Jamming

2023-03-03 Thread Clara Shikhelman
> With a binary solution a single attacker can easily fill your quota of > low-confidence HTLCs and then all low-reputation nodes are blocked. But not > all of them are attackers, some of them just don't send you enough traffic > to get a high reputation for instance and you're going to block them

Re: [Lightning-dev] Local Reputation to Mitigate Slow Jamming

2023-03-03 Thread Thomas HUET
The benefit is that you can be more precise when blocking. With a binary solution a single attacker can easily fill your quota of low-confidence HTLCs and then all low-reputation nodes are blocked. But not all of them are attackers, some of them just don't send you enough traffic to get a high

Re: [Lightning-dev] Local Reputation to Mitigate Slow Jamming

2023-03-03 Thread Clara Shikhelman
Could you explain the benefits of continuous solutions over binary? This is something we should definitely understand before going in a more complicated direction. Also, I'm still not sure that the rational behaviour is to report *c* truthfully. On Fri, Mar 3, 2023 at 11:51 AM Thomas HUET

Re: [Lightning-dev] Local Reputation to Mitigate Slow Jamming

2023-03-03 Thread Thomas HUET
By giving a high confidence to HTLCs you increase the chance that they are relayed which should be your goal. Having a high reputation is not a goal in itself, it's just a way to make your HTLCs more likely to be relayed. If you always report confidence 0, then yes you will have a reputation of 1

Re: [Lightning-dev] Local Reputation to Mitigate Slow Jamming

2023-03-03 Thread Clara Shikhelman
Hi Thomas, Thanks for the example. - If c < p then yes it gives it a higher reputation but the reputation is > capped at 1 anyway, so by underestimating the confidence the node doesn't > gain anything. > Is there anything to gain from giving high confidence? By doing this, you risk lowering your