Handle maliciously none-desirializable messages and support GOD #456
Open
Description
At deserialize_mpc_messages
in dwallet_mpc/mod.rs
, according to doc and code, in case any message was failed to desirialize, it outputs an error. This violates the Guranteed Output Delivery (GOD) we are supposed to get from the asynchronous protocol design, which should tolerate malicious behaviour and always retrieve an output. It is important to mark the malicious parties (filter out their messages, nullify reputation score) but also return the hashmap of valid parties to valid messages to be processed in proceeding rounds.