Skip to content

Slow Tx Gossip #274

@joshua-kim

Description

@joshua-kim

Describe the bug
A clear and concise description of what the bug is.

Coreth has as bug where transactions slow down as they are gossiped through the network. Nodes only gossip a tx if they haven't heard of it before, so once a majority of nodes hear of a transaction less and less nodes are willing to gossip the transaction. In the case that we gossip to a node that already knows of a transaction, it "aborbs" the gossip and doesn't forward it. This results in nodes potentially never even hearing about some transactions until a regossip cycle is hit.

We can use a pull-based strategy to make txs propagate exponentially fast instead of exponentially slowly by constantly polling peers for new txs instead of only pushing a tx when we haven't heard of it before.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions