Address review comments of #7916 (#7917)

This commit is contained in:
Pierre Krieger
2021-01-18 16:52:25 +01:00
committed by GitHub
parent 0b69577a3e
commit e39ffb5a3c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -402,8 +402,8 @@ pub struct NetworkConfiguration {
/// presence of potentially adversarial nodes.
pub kademlia_disjoint_query_paths: bool,
/// Size of Yamux window receive window of all substreams. `None` for the default (256kiB).
/// Any value inferior to 256kiB is invalid.
/// Size of Yamux receive window of all substreams. `None` for the default (256kiB).
/// Any value less than 256kiB is invalid.
///
/// # Context
///
+2 -2
View File
@@ -35,8 +35,8 @@ pub use self::bandwidth::BandwidthSinks;
/// If `memory_only` is true, then only communication within the same process are allowed. Only
/// addresses with the format `/memory/...` are allowed.
///
/// `yamux_window_size` consists in the size of the Yamux windows. `None` to leave the default
/// (256kiB).
///`yamux_window_size` is the maximum size of the Yamux receive windows. `None` to leave the
/// default (256kiB).
///
/// Returns a `BandwidthSinks` object that allows querying the average bandwidth produced by all
/// the connections spawned with this transport.