copyright

This commit is contained in:
thiolliere
2019-10-24 13:52:10 +02:00
parent fb44a0e5e0
commit 83d2425eaf
+20 -4
View File
@@ -1,3 +1,23 @@
// Copyright 2019 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.
// Polkadot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Polkadot is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Cumulus-specific network implementation.
//!
//! Contains message send between collators and logic to process them.
use substrate_client::error::{Error as ClientError};
use sr_primitives::traits::{Block as BlockT};
use substrate_consensus_common::block_validation::{Validation, BlockAnnounceValidator};
@@ -12,10 +32,6 @@ use codec::{Decode, Encode};
use std::marker::PhantomData;
//! Cumulus-specific network implementation.
//!
//! Contains message send between collators and logic to process them.
/// Justification that a parachain block is the parachain block candidate of one of the relay chain
/// validator.
#[derive(Encode, Decode)]