Skip to content

Transactions shouldn't be republished #94

Closed

Description

@tzdybal

Currently, valid transactions are republished to pubsub topic. This is incorrect behavior because libp2p is responsible for delivering messages to all subscribers.

Transactions are re-published because of mempoolPublishLoop code (especially node.go:163).

This change is closely related to #93. Transaction flow should be changed: CheckTx should be called in TopicValidator and only transactions originating in the node should be published to P2P network.

Activity

  1. added
    T:bug
    C:p2p
    on Aug 27, 2021
  2. added
    good first issue
    on Sep 7, 2021
  3. tzdybal commented on Sep 21, 2021

    @tzdybal
    ContributorAuthor

    Resolved by #97.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C:p2pT:buggood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions