Skip to content
Snippets Groups Projects
Commit e39ffb5a authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

Address review comments of #7916 (#7917)

parent 0b69577a
Branches
No related merge requests found
...@@ -402,8 +402,8 @@ pub struct NetworkConfiguration { ...@@ -402,8 +402,8 @@ pub struct NetworkConfiguration {
/// presence of potentially adversarial nodes. /// presence of potentially adversarial nodes.
pub kademlia_disjoint_query_paths: bool, pub kademlia_disjoint_query_paths: bool,
/// Size of Yamux window receive window of all substreams. `None` for the default (256kiB). /// Size of Yamux receive window of all substreams. `None` for the default (256kiB).
/// Any value inferior to 256kiB is invalid. /// Any value less than 256kiB is invalid.
/// ///
/// # Context /// # Context
/// ///
......
...@@ -35,8 +35,8 @@ pub use self::bandwidth::BandwidthSinks; ...@@ -35,8 +35,8 @@ pub use self::bandwidth::BandwidthSinks;
/// If `memory_only` is true, then only communication within the same process are allowed. Only /// If `memory_only` is true, then only communication within the same process are allowed. Only
/// addresses with the format `/memory/...` are allowed. /// addresses with the format `/memory/...` are allowed.
/// ///
/// `yamux_window_size` consists in the size of the Yamux windows. `None` to leave the default ///`yamux_window_size` is the maximum size of the Yamux receive windows. `None` to leave the
/// (256kiB). /// default (256kiB).
/// ///
/// Returns a `BandwidthSinks` object that allows querying the average bandwidth produced by all /// Returns a `BandwidthSinks` object that allows querying the average bandwidth produced by all
/// the connections spawned with this transport. /// the connections spawned with this transport.
......
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