Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
e39ffb5a
Commit
e39ffb5a
authored
4 years ago
by
Pierre Krieger
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Address review comments of #7916 (#7917)
parent
0b69577a
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
substrate/client/network/src/config.rs
+2
-2
2 additions, 2 deletions
substrate/client/network/src/config.rs
substrate/client/network/src/transport.rs
+2
-2
2 additions, 2 deletions
substrate/client/network/src/transport.rs
with
4 additions
and
4 deletions
substrate/client/network/src/config.rs
+
2
−
2
View file @
e39ffb5a
...
@@ -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
///
///
...
...
This diff is collapsed.
Click to expand it.
substrate/client/network/src/transport.rs
+
2
−
2
View file @
e39ffb5a
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment