mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Reject blocks without justification which don't have the best number (#105)
* Initial commit Forked at:8f02e233daParent branch: origin/master * Reject blocks without justification * Revert "Reject blocks without justification" This reverts commit ee60e12097939d4ccfe987a71db9a876319ae5ba. * WIP Forked at:8f02e233daParent branch: origin/master * WIP Forked at:8f02e233daParent branch: origin/master * WIP Forked at:8f02e233daParent branch: origin/master * CLEANUP Forked at:8f02e233daParent branch: origin/master * WIP Forked at:8f02e233daParent branch: origin/master * WIP Forked at:8f02e233daParent branch: origin/master * CLEANUP Forked at:8f02e233daParent branch: origin/master * WIP Forked at:8f02e233daParent branch: origin/master * WIP Forked at:8f02e233daParent branch: origin/master * Move HeadData to primitives * Update network/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update network/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * CLEANUP Forked at:8f02e233daParent branch: origin/master * fix * CLEANUP Forked at:8f02e233daParent branch: origin/master * messages * for the greater good * Update primitives/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update network/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update network/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update network/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
|
||||
pub mod validation_function_params;
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
use sp_runtime::traits::Block as BlockT;
|
||||
|
||||
/// Identifiers and types related to Cumulus Inherents
|
||||
pub mod inherents {
|
||||
use sp_inherents::InherentIdentifier;
|
||||
@@ -64,3 +67,9 @@ pub trait UpwardMessageSender {
|
||||
/// Returns an error if sending failed.
|
||||
fn send_upward_message(msg: &()) -> Result<(), ()>;
|
||||
}
|
||||
|
||||
/// The head data of the parachain, stored in the relay chain.
|
||||
#[derive(Decode, Encode, Debug)]
|
||||
pub struct HeadData<Block: BlockT> {
|
||||
pub header: Block::Header,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user