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

chore: dag block proposal limit #2827

Merged
merged 1 commit into from
Aug 13, 2024
Merged

chore: dag block proposal limit #2827

merged 1 commit into from
Aug 13, 2024

Conversation

mfrankovi
Copy link
Contributor

On high transactions per second load on the network dag block and transactions packets start queueing up in the packet queue. This causes delays in receiving DAG block packets which makes nodes propose dag blocks with high difficulty or even stale since the low difficulty dag blocks are not received in time. This causes a chain reaction with more dag block being produced it is less likely for the network to digest it in time. At the same time this causes a large build up of non-finalized dag blocks ans transations.
To prevent this:
Node is not to produce a dag block if the queue is over the queue limit
Node is not to produce a dag block if total non finalized transactions are over the limit

@mfrankovi mfrankovi requested review from MatusKysel and kstdl August 12, 2024 11:56
@MatusKysel MatusKysel merged commit 4e82fcb into develop Aug 13, 2024
5 checks passed
@MatusKysel MatusKysel deleted the dag_prod branch August 13, 2024 11:09
@taraxadeploy
Copy link
Collaborator

prnet cleaned-up successfully

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.

4 participants