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

Charge transaction for fields that slow down block production #1403

Open
xgreenx opened this issue Oct 5, 2023 · 0 comments
Open

Charge transaction for fields that slow down block production #1403

xgreenx opened this issue Oct 5, 2023 · 0 comments

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Oct 5, 2023

Blocked

This issue is better to do after some results in the issues below:

#1387
#1402

However it is still possible to do an analytic analysis of the code and guess on potential issues.

Overview

While some fields slow down transaction verification, other fields may slow down the block production. Maybe inserting giant witnesses into the database is slow, or sharing massive blocks/transactions slowdown the TPS of the network, or moving massive objects in memory is a slow operation, etc.

Solution

Start to charge users for fields that slow down production time. Mostly, it means including the execution cost into min_fee.

Note

That issue requires some research first or results from linked issues.

@xgreenx xgreenx self-assigned this Oct 5, 2023
@xgreenx xgreenx changed the title Charge transaction for fields that slowdown block production Charge transaction for fields that slows down block production Oct 5, 2023
@xgreenx xgreenx changed the title Charge transaction for fields that slows down block production Charge transaction for fields that slow down block production Oct 5, 2023
@xgreenx xgreenx removed their assignment Oct 12, 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

No branches or pull requests

1 participant