Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add high priority broadcast routine #1072

Closed
wants to merge 3 commits into from

Conversation

musalbas
Copy link
Member

This PR adds a high priority broadcast routine in the v1 reactor. By implementing this as a separate routine that essentially acts as a sidecar, we attempt to avoid any invasive changes to the original mempool that may have unintended consequences that require further testing.

This creates a separate broadcast routine with a separate P2P channel that periodically every mempoolPriorityInterval, sorts the transactions, reaps mempoolPriorityBroadcastMaxBytes, and triggers a sidecar broadcast routine in all peers.

Addresses #1069

@cmwaters
Copy link
Contributor

Can we close this or is this something you want to pursue further?

@musalbas musalbas closed this Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants