Nodes should not request TXs during bulk sync #4955
Labels
high-priority
high priority issues / PRs
optimisation
Performance optimisation
tx-submission
Issues related to tx-submission protocol
When a node is so far behind that it operates in bulksync mode it should not request TXs from any peers. It is very unlikely that it would be able to apply any of them to its mempool. It is already CPU bound and sprinkling in attempts to add TXs to the mempool will only slow things down further.
TX-submission should be modified so that it doesn't request TX when in bulk sync mode.
The text was updated successfully, but these errors were encountered: