implement dispute participation subsystem (#3234)

* implement dispute participation subsystem

* guide: minor fix in dispute participation

* Update node/core/dispute-participation/src/lib.rs

Co-authored-by: Andronik Ordian <write@reusable.software>

* dispute: add comments to participation logic

* dispute-coordinator: fix test compilation

* implementers-guide: update dispute participation

* dispute-participation: add error for missing validation code

* dispute-participation: add tests

* Update node/core/dispute-participation/src/lib.rs

Co-authored-by: Robert Habermeier <rphmeier@gmail.com>

* guide: update overseer protocol dispute participation message

* dispute-participation: remove duplication in tests

Co-authored-by: Andronik Ordian <write@reusable.software>
Co-authored-by: Robert Habermeier <rphmeier@gmail.com>
This commit is contained in:
André Silva
2021-06-14 21:41:02 +01:00
committed by GitHub
parent 2a792b48e7
commit d8d61bad36
10 changed files with 852 additions and 13 deletions
+3 -3
View File
@@ -250,9 +250,9 @@ pub enum DisputeParticipationMessage {
candidate_receipt: CandidateReceipt,
/// The session the candidate appears in.
session: SessionIndex,
/// The indices of validators who have already voted on this candidate.
voted_indices: Vec<ValidatorIndex>,
}
/// The number of validators in the session.
n_validators: u32,
},
}
/// Messages received by the network bridge subsystem.