node: pass local authorship info to the transaction pool (#2385)

* node: pass local authorship to the transaction pool

* update substrate
This commit is contained in:
André Silva
2021-02-04 20:04:55 +00:00
committed by GitHub
parent 2b533ddc77
commit e647e53b6f
2 changed files with 188 additions and 233 deletions
+187 -233
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -243,6 +243,7 @@ fn new_partial<RuntimeApi, Executor>(config: &mut Configuration, jaeger_agent: O
let transaction_pool = sc_transaction_pool::BasicPool::new_full( let transaction_pool = sc_transaction_pool::BasicPool::new_full(
config.transaction_pool.clone(), config.transaction_pool.clone(),
config.role.is_authority().into(),
config.prometheus_registry(), config.prometheus_registry(),
task_manager.spawn_handle(), task_manager.spawn_handle(),
client.clone(), client.clone(),