Skip to content

Typo in default value in doc string in gossipsub config #6111

@sirandreww-starkware

Description

@sirandreww-starkware

Summary

There is a lie in the docs:

/// The maximum byte size for each gossip (default is 2048 bytes).
pub fn max_transmit_size(&mut self, max_transmit_size: usize) -> &mut Self {
    self.config.protocol.max_transmit_size = max_transmit_size;
    self
}

Expected behavior

/// The maximum byte size for each gossip (default is 65536 bytes).

Actual behavior

N.A

Relevant log output

Possible Solution

No response

Version

No response

Would you like to work on fixing this bug?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions