mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
Disputes High-level rewrite & Disputes runtime (#2424)
* REVERT: comment out graphviz * rewrite most of protocol-disputes * write about conclusion and chain selection * tie back in overview * basic disputes module * guide: InclusionInherent -> ParaInherent * language * add ParaInherentData type * plug parainherentdata into provisioner * provide_multi_dispute * tweak * inclusion pipeline logic for disputes * be clearer about signature checking * reject backing of disputed blocks * some type rejigging * known-disputes runtime API * wire up inclusion * Revert "REVERT: comment out graphviz" This reverts commit 66203e362f7872cb413d258f74634a0aad70302b. * timeouts * include in initialization order * address grumbles
This commit is contained in:
committed by
GitHub
parent
8734cf62b2
commit
a8d3aca13d
@@ -543,7 +543,7 @@ pub enum ProvisionableData {
|
||||
|
||||
/// This data needs to make its way from the provisioner into the InherentData.
|
||||
///
|
||||
/// There, it is used to construct the InclusionInherent.
|
||||
/// There, it is used to construct the ParaInherent.
|
||||
pub type ProvisionerInherentData = (Vec<SignedAvailabilityBitfield>, Vec<BackedCandidate>);
|
||||
|
||||
/// Message to the Provisioner.
|
||||
@@ -558,7 +558,7 @@ pub enum ProvisionerMessage {
|
||||
/// associated with a particular potential block hash.
|
||||
///
|
||||
/// This is expected to be used by a proposer, to inject that information into the InherentData
|
||||
/// where it can be assembled into the InclusionInherent.
|
||||
/// where it can be assembled into the ParaInherent.
|
||||
RequestInherentData(Hash, oneshot::Sender<ProvisionerInherentData>),
|
||||
/// This data should become part of a relay chain block
|
||||
ProvisionableData(Hash, ProvisionableData),
|
||||
|
||||
Reference in New Issue
Block a user