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

Separate P2P protocol into Mempool-related and others #452

Open
4 tasks
tnasu opened this issue Aug 17, 2022 · 0 comments
Open
4 tasks

Separate P2P protocol into Mempool-related and others #452

tnasu opened this issue Aug 17, 2022 · 0 comments
Assignees
Labels
C: enhancement Classification: New feature or its request, or improvement in maintainability of code Stale For github bot

Comments

@tnasu
Copy link
Member

tnasu commented Aug 17, 2022

Summary

P2P protocol can send/receive atomically all messages for each P2P connection, so it might be good to separate P2P protocol into Mempool-related and others since it can avoid affecting the consensus mechanism. Of course, increasing network costs. In addition, the transaction execution cost in the block is not changed and still remains.

Problem Definition

In high traffic Transactions, it affects the Consensus mechanism because Consensus messages cannot be sent by Mempool-related messages. It means that the Block generation is delayed. Currently, some solutions are implemented. For example, asynchronous receiving is just cut to process receiving time and helps to be able to shorten the sending interval. Sending ratio can send well balanced. But these don't work well in highly biased situations.

See:

Proposal

Separate P2P protocol into Mempool-related and others. After that, the Block generation cannot be affected by high traffic Transactions.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@torao torao added the C: enhancement Classification: New feature or its request, or improvement in maintainability of code label Aug 17, 2022
@github-actions github-actions bot added the Stale For github bot label Aug 28, 2022
@github-actions github-actions bot removed the Stale For github bot label Nov 2, 2022
@github-actions github-actions bot added the Stale For github bot label Nov 13, 2022
@tnasu tnasu removed their assignment Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: enhancement Classification: New feature or its request, or improvement in maintainability of code Stale For github bot
Projects
None yet
Development

No branches or pull requests

3 participants