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
transaction in pending status #1651
Comments
are you running a gas free network? do new blocks be mined? |
is a gas free network, some transactions with nonce=0 are mined but in other we get "nonce to low" |
I assume there is an error because the account with this error have 0 tx? Pending is just saying that the tx is in the mempool waiting to be added in a block, and it can be added only when the nonce is matching the number of tx you have done, in order to respect the order of transactions. |
We have a similar problem and are currently looking into a solution.
Related issues: BoostryJP/quorum#40 |
The account with this error has more than 0 tx, our consensus protocol is RAFT |
In this case I have found that setting After the cluster approved the empty block, notification that a new block arrives is sent to the miner thread and the "stale" mining process that could not be finished in time is aborted forcibly (
The obvious drawbacks are, however, it makes block period unstable when on high load, which may have implications on user experience, and, more importantly, currently setting |
@hhsel , thank you for your comment. However, the problem of my commented transaction being stuck in pending state also occurs if you don't use emptyBlockPeriodSeconds. Simply, it occurs when a large number of transactions with high load accumulate in the txpool in a short period of time. There may be other examples of transactions being stuck in pending state besides the one I commented on. I have just shared our problem. |
We have several transactions in "pending" status. How can we know the reason why they are in this pending state?
Thanks
The text was updated successfully, but these errors were encountered: