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

the design of suggestion GasPrice #34

Open
shuxunyer opened this issue Nov 26, 2018 · 0 comments
Open

the design of suggestion GasPrice #34

shuxunyer opened this issue Nov 26, 2018 · 0 comments

Comments

@shuxunyer
Copy link
Contributor

shuxunyer commented Nov 26, 2018

there is a suggestion GasPrice when we create a transaction in truechain .
the computational process of suggestion GasPrice on the basis of the maxPrice of the latest 20 transactions.
for example if the maxPrice equal 30,the suggestion GasPrice equal 18 (=0.6*30)
if committee members do evil and send a high price transaction into truechain network ,and the suggest gasPrice will also high. so normally, other people will adopt the suggest gasPrice when they create transaction , at last the committee members will obtain more gas.
so how we design suggestion GasPrice to avoid committee members do evil .

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