Skip to content

Processing asynchronously received messages. #316

@egonspace

Description

@egonspace

Summary

https://github.com/line/ostracon/blob/dbe53cb7537246681e2d87de51000c02ece2c49a/p2p/peer.go#L408
When the channel of the reactor is full due to the above code, messages are discarded. In the case of a mempool reactor, if a message is discarded, there may be a problem that tx remains in the sender's mempool. When the channel is full, consider waiting rather than discarding the message.

Problem Definition

Proposal


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: bugClassification: Something isn't workingP: nice to havePriority: nice to have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions