mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +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 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
|
||||
// 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),
|
||||
_ => 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(),
|
||||
network.clone(),
|
||||
Box::pin(dht_event_stream),
|
||||
|
||||
Reference in New Issue
Block a user