mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 18:41:05 +00:00
Rewrap all comments to 100 line width (#9490)
* reformat everything again * manual formatting * last manual fix * Fix build
This commit is contained in:
@@ -87,8 +87,8 @@ impl Default for WorkerConfig {
|
||||
max_publish_interval: Duration::from_secs(1 * 60 * 60),
|
||||
keystore_refresh_interval: Duration::from_secs(60),
|
||||
// External addresses of remote authorities can change at any given point in time. The
|
||||
// interval on which to trigger new queries for the current and next authorities is a trade
|
||||
// off between efficiency and performance.
|
||||
// interval on which to trigger new queries for the current and next authorities is a
|
||||
// trade off between efficiency and performance.
|
||||
//
|
||||
// Querying 700 [`AuthorityId`]s takes ~8m on the Kusama DHT (16th Nov 2020) when
|
||||
// comparing `authority_discovery_authority_addresses_requested_total` and
|
||||
|
||||
@@ -91,7 +91,8 @@ pub enum Role {
|
||||
///
|
||||
/// 4. Put addresses and signature as a record with the authority id as a key on a Kademlia DHT.
|
||||
///
|
||||
/// When constructed with either [`Role::PublishAndDiscover`] or [`Role::Discover`] a [`Worker`] will
|
||||
/// When constructed with either [`Role::PublishAndDiscover`] or [`Role::Discover`] a [`Worker`]
|
||||
/// will
|
||||
///
|
||||
/// 1. Retrieve the current and next set of authorities.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user