Protocol ID configurable in the chain spec (#811)

* Protocol ID configurable in the chain spec

* Removed obsolete const
This commit is contained in:
Arkadiy Paronyan authored and Gav Wood committed 2018-09-27 12:26:07 +01:00
1 parent 37102611d4
commit 0ab3b2de35
6 files changed
+22 -12

No files matched your search

-3
View File
@@ -43,9 +43,6 @@ use substrate_network::{message, generic_message};
use substrate_network::specialization::Specialization;
use substrate_network::StatusMessage as GenericFullStatus;
/// Demo protocol id.
pub const PROTOCOL_ID: ::substrate_network::ProtocolId = *b"dot";
type FullStatus = GenericFullStatus<Block>;
/// Specialization of the network service for the node protocol.