Remove nonsense code and options, fix score and generally make subkey work (#936)

* Remove nonsense code and options, fix score and generally make subkey work.

* Rename Demo -> Node
This commit is contained in:
Gav Wood
2018-10-20 22:15:28 +02:00
committed by GitHub
parent e47f3835fd
commit 1475610880
4 changed files with 30 additions and 49 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ macro_rules! construct_simple_service {
/// // Declare the block type
/// Block = Block,
/// // Declare the network protocol and give an initializer.
/// NetworkProtocol = DemoProtocol { |config| Ok(DemoProtocol::new()) },
/// NetworkProtocol = NodeProtocol { |config| Ok(NodeProtocol::new()) },
/// RuntimeDispatch = node_executor::Executor,
/// FullTransactionPoolApi = transaction_pool::ChainApi<FullBackend<Self>, FullExecutor<Self>, Block>
/// { |config, client| Ok(TransactionPool::new(config, transaction_pool::ChainApi::new(client))) },