clifordsymack / Electron-Cash

Electrum; Bitcoin thin client
MIT License
6 stars 3 forks source link

Add blame at round 5 #99

Closed fyookball closed 5 years ago

fyookball commented 5 years ago

Kudelski found that our current code was only assigning blame for insufficient funds at round 1 but the coinshuffle paper says this should be done at phase 5, which will bolster the DOS resistance.

cculianu commented 5 years ago

Ok -- and if it looks like a simple non-bug-prone change I'll do it now before release. I haven't looked at the code in detail yet.

If it turns out to be shaky.. maybe we do it for a future version. I'm hoping it's the former and not the latter and it would just naturally fit in there to add this phase...

cculianu commented 5 years ago

Ok, so I am nervous about doing this now, before release. Reasons are:

There are things we can do to mitigate the second point above -- but again I fear we are rushing it with insufficient time to test.

Would you be ok if we put this on the "to-do" list and do this at some point in the future after release?

cculianu commented 5 years ago

Done in latest commit. I tested it and it works. 👍