Skip to content

[libp2p] Wrong stream is used for RPC response #373

@akoptelov

Description

@akoptelov

Current implementation opens an RPC stream to a fresh peer on libp2p level. When response for a query is used, first outgoing stream is used to send it, and it is always incorrect, as for query also outgoing stream is used, but from the other side, so it should be incoming for the responder.

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