moving core/service/consensus into new core/authorship crate (#1257)

This commit is contained in:
Gregory Terzian
2018-12-31 19:33:49 +08:00
committed by Robert Habermeier
parent 3add75910a
commit 771a8127c2
7 changed files with 65 additions and 3 deletions
+1
View File
@@ -19,6 +19,7 @@ substrate-primitives = { path = "../../core/primitives" }
node-runtime = { path = "../runtime" }
node-primitives = { path = "../primitives" }
hex-literal = "0.1"
substrate-basic-authorship = { path = "../../core/basic-authorship" }
substrate-service = { path = "../../core/service" }
substrate-transaction-pool = { path = "../../core/transaction-pool" }
substrate-network = { path = "../../core/network" }
+1 -1
View File
@@ -77,7 +77,7 @@ construct_service_factory! {
if let Some(ref key) = local_key {
info!("Using authority key {}", key.public());
let proposer = Arc::new(substrate_service::ProposerFactory {
let proposer = Arc::new(substrate_basic_authorship::ProposerFactory {
client: service.client(),
transaction_pool: service.transaction_pool(),
});