tss-lib
tss-lib copied to clipboard
when can i use party.Waitingfor()
how to use waitingfor method ,can give a simple demo or explain when to use it
The state list ok[j] stores whether parties[j] has sent his message. The method returns the parties that have not receive message from yet. For example, if network disconnected for some party, other parties will find themself waitingfor the disconnected party.
How this function can be useful? What can I do if parties are waiting for someone? Assume the number of parties is more than t+1, and they are waiting for one party. Can I skip it if still t+1 condition is true? Or does the protocol handles the situation and can finish the process?