-
Notifications
You must be signed in to change notification settings - Fork 116
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
Gas stability pool mechanism improvement #3279
Comments
After researching Bitcoin tx replacement, I noticed below differences:
After seeing the difference mechanism of tx replacements, I was asking myself: is there a universal way to achieve tx replacement? maybe not? Here were more thoughts afterwards:
In the Bitcoin RBF transaction PR (in progress and tests), I created a mempool monitoring goroutine to watch and detect all pending transactions in mempool to determine stuck/non-stuck status and decide replacing or not. |
Based on the conversation we had and after some research .
This is true, but Zetacore expects the clients to provide this information through the outbound Vote, which can then be used to adjust balances.
Also, I'm curious , since we are bumping up the latest pending CCTX, would that mean the entire pending queue gets cleared in one block if the fee supplied appeals to the miner? |
Extension of #3221, this issue is for a bug while this one is for a general optimization of the stability pool mechanism (eventually both are completed in the same PR)
Current mechanism
Some issues with the current mechanism
Proposed solution
In short the gas stability mechanism is more concentrated to the currently blocked outbound. There will be slower time to update gas price of all outbound in gas of dramatic hike in the price and large number of outbound in a short time frame but use of the gas stability pool will be made more optimized.
The text was updated successfully, but these errors were encountered: