truechain-engineering-code icon indicating copy to clipboard operation
truechain-engineering-code copied to clipboard

the design of suggestion GasPrice

Open shuxunyer opened this issue 6 years ago • 0 comments

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 .

shuxunyer avatar Nov 26 '18 02:11 shuxunyer