near / mpc

31 stars 6 forks source link

Dynamic trashold #486

Open volovyks opened 3 months ago

volovyks commented 3 months ago

Description

Not the threshold is hardcoded (set during the init() call). We need to change it according to the number of participants in the network. It can be 50% +1 Lower boundary: 3-5 Upper boundary: depends on load testing

volovyks commented 3 months ago

Now I'm not sure if we should have it. There is no point in moving the threshold from N to N+k, because N participants will still be able to recover the key using old key shares. The only way to make it more distributed is to change the key version and increase the number of participants.

Going below the original threshold and then back will make the system less secure, since now N-k participants will be able to recover the key.