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

Ask for wants from the first peer that gossips the compact block #1338

Open
Tracked by #1334
evan-forbes opened this issue May 3, 2024 · 0 comments
Open
Tracked by #1334
Labels
compact blocks WS: Big Blonks 🔭 Improving consensus critical gossiping protocols

Comments

@evan-forbes
Copy link
Member

evan-forbes commented May 3, 2024

As an optimization, after we receive the compact block and check if we have any peers that have seen a tx, we should the first peer who sent us the compact block for all unseen txs. This is because they have the shortest path for txs or block parts that we have not seen. This only works if we have an accurate view of our own peer's seenTxs. If those peers have seen the txs already, then we should ask them instead.

@evan-forbes evan-forbes added WS: Big Blonks 🔭 Improving consensus critical gossiping protocols ice-box issues are automatically assigned this label until they are planned. compact blocks and removed ice-box issues are automatically assigned this label until they are planned. labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compact blocks WS: Big Blonks 🔭 Improving consensus critical gossiping protocols
Projects
None yet
Development

No branches or pull requests

1 participant