Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Introducing a dedicated Transaction Requester Background Worker #1178
This PR introduces a dedicated background worker that tries to work through the request queue by sending random tips along the requested transactions. This massively increases the sync speed of new nodes that would otherwise be limited to requesting in the same rate as new transactions are received.
Note: To reduce the overhead for the node we only trigger this worker if the request queue gets bigger than the "REQUESTER_THREAD_ACTIVATION_THRESHOLD". Otherwise we rely on the processing of the queue due to normal outgoing traffic like transactions that get relayed by our node.
Type of change