Skip to content

Fix p2p/switch.Broadcast impl #7

@jaekwon

Description

@jaekwon

Split into Broadcast() and BroadcastTry().
Broadcast() and Send() should time out. **
Errors/failures are returned as a slice.

Adjust the buffer sizes for each channel appropriately, especially increase the StateCh buffer size since it's the most important. HasVoteMessage shouldn't block NewRoundStep/Commit messages.

** think harder

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:bugType Bug (Confirmed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions