mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Companion for substrate#8643 (#2908)
* Companion for substrate#8643 * Update node/service/src/lib.rs * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+180
-179
File diff suppressed because it is too large
Load Diff
@@ -714,6 +714,7 @@ pub fn new_full<RuntimeApi, Executor>(
|
|||||||
let prometheus_registry = config.prometheus_registry().cloned();
|
let prometheus_registry = config.prometheus_registry().cloned();
|
||||||
|
|
||||||
let shared_voter_state = rpc_setup;
|
let shared_voter_state = rpc_setup;
|
||||||
|
let auth_disc_publish_non_global_ips = config.network.allow_non_globals_in_dht;
|
||||||
|
|
||||||
// Note: GrandPa is pushed before the Polkadot-specific protocols. This doesn't change
|
// Note: GrandPa is pushed before the Polkadot-specific protocols. This doesn't change
|
||||||
// anything in terms of behaviour, but makes the logs more consistent with the other
|
// anything in terms of behaviour, but makes the logs more consistent with the other
|
||||||
@@ -826,7 +827,11 @@ pub fn new_full<RuntimeApi, Executor>(
|
|||||||
Event::Dht(e) => Some(e),
|
Event::Dht(e) => Some(e),
|
||||||
_ => None,
|
_ => None,
|
||||||
}});
|
}});
|
||||||
let (worker, service) = sc_authority_discovery::new_worker_and_service(
|
let (worker, service) = sc_authority_discovery::new_worker_and_service_with_config(
|
||||||
|
sc_authority_discovery::WorkerConfig {
|
||||||
|
publish_non_global_ips: auth_disc_publish_non_global_ips,
|
||||||
|
..Default::default()
|
||||||
|
},
|
||||||
client.clone(),
|
client.clone(),
|
||||||
network.clone(),
|
network.clone(),
|
||||||
Box::pin(dht_event_stream),
|
Box::pin(dht_event_stream),
|
||||||
|
|||||||
Reference in New Issue
Block a user