@@ -990,7 +990,30 @@ recovery data to this participant.
990
990
def participant_investigate(error: UnknownFaultyParticipantOrCoordinatorError, cinv: CoordinatorInvestigationMsg) -> NoReturn
991
991
```
992
992
993
- Perform a participant' s blame step of a ChillDKG session. TODO
993
+ Investigate who is to blame for a failed ChillDKG session.
994
+
995
+ This function can optionally be called when `participant_step2` raises
996
+ `UnknownFaultyParticipantOrCoordinatorError` . It narrows down the suspected
997
+ faulty parties by analyzing the blame message provided by the coordinator.
998
+
999
+ This function does not return normally. Instead, it raises one of two
1000
+ exceptions.
1001
+
1002
+ * Arguments* :
1003
+
1004
+ - `error` - `UnknownFaultyParticipantOrCoordinatorError` raised by
1005
+ `participant_step2` .
1006
+ - `cinv` - Coordinator investigation message for this participant as output
1007
+ by `coordinator_blame` .
1008
+
1009
+
1010
+ * Raises* :
1011
+
1012
+ - `FaultyParticipantOrCoordinatorError` - If another known participant or the
1013
+ coordinator is faulty. See the documentation of the exception for
1014
+ further details.
1015
+ - `FaultyCoordinatorError` - If the coordinator is faulty. See the
1016
+ documentation of the exception for further details.
994
1017
995
1018
# ### coordinator\_step1
996
1019
@@ -1074,7 +1097,24 @@ other participants via a communication channel beside the coordinator.
1074
1097
def coordinator_investigate(pmsgs: List[ParticipantMsg1]) -> List[CoordinatorInvestigationMsg]
1075
1098
```
1076
1099
1077
- Perform the coordinator' s blame step of a ChillDKG session. TODO
1100
+ Generate investigation messages for a ChillDKG session.
1101
+
1102
+ The investigation messages will allow the participants to investigate who is
1103
+ to blame for a failed ChillDKG session (see `participant_investigate` ).
1104
+
1105
+ Each message is intended for a single participant but can be safely
1106
+ broadcast to all participants because the messages contain no confidential
1107
+ information.
1108
+
1109
+ * Arguments* :
1110
+
1111
+ - `pmsgs` - List of first messages received from the participants.
1112
+
1113
+
1114
+ * Returns* :
1115
+
1116
+ - `List[CoordinatorInvestigationMsg]` - A list of blame messages, each
1117
+ intended for a single participant.
1078
1118
1079
1119
# ### recover
1080
1120
@@ -1209,7 +1249,7 @@ information to determine which participant should be suspected.
1209
1249
1210
1250
To determine a suspected participant, the raising participant may choose to
1211
1251
run the optional investigation procedure of the protocol, which requires
1212
- obtaining an investigation message by the coordinator. See the
1252
+ obtaining an investigation message from the coordinator. See the
1213
1253
`participant_investigate` function for details.
1214
1254
1215
1255
This is only raised for specific faulty behavior by another participant
0 commit comments