-
Notifications
You must be signed in to change notification settings - Fork 158
Description
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.