Unverified Commit 0a6257a8 authored by Tomasz Drwięga's avatar Tomasz Drwięga
Browse files

Work-around missing protocol.

parent 4382d2f4
Pipeline #123452 passed with stages
in 21 minutes and 14 seconds
......@@ -592,6 +592,17 @@ pub fn new_full<RuntimeApi, Executor>(
#[cfg(feature = "real-overseer")]
config.network.extra_sets.extend(polkadot_network_bridge::peer_sets_info());
config.network.extra_sets.push(sc_network::config::NonDefaultSetConfig {
notifications_protocol: beefy_gadget::BEEFY_PROTOCOL_NAME.into(),
max_notification_size: 1024 * 1024,
set_config: sc_network::config::SetConfig {
in_peers: 25,
out_peers: 25,
reserved_nodes: Vec::new(),
non_reserved_mode: sc_network::config::NonReservedPeerMode::Accept,
},
});
// TODO: At the moment, the collator protocol uses notifications protocols to download
// collations. Because of DoS-protection measures, notifications protocols have a very limited
// bandwidth capacity, resulting in the collation download taking a long time.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment