ErrorState is essentially a set of occurred errors (e.g. Vec<KeygenError>) which should be examined in case of unsuccessful protocol termination: it contains information like which of parties behave maliciously, on which stage, etc. However, none of ErrorStates provide access to list of errors.
My suggestion is to make errors field public, or add an accessor like fn errors(&self) -> &[KeygenError]. Unless there was an intention to hide this information.
ING has no intention of resolving this, nor on maintaining this further, and hence, this repo will be archived. Its usage is no longer recommended, see the updated README.
ErrorState
is essentially a set of occurred errors (e.g.Vec<KeygenError>
) which should be examined in case of unsuccessful protocol termination: it contains information like which of parties behave maliciously, on which stage, etc. However, none ofErrorState
s provide access to list of errors.My suggestion is to make
errors
field public, or add an accessor likefn errors(&self) -> &[KeygenError]
. Unless there was an intention to hide this information.