-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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
POA private network: Tx pending in txpool #18082
Comments
Geth doesn't accept transactions at 0 gas price from remote nodes. |
I use "--miner.gasprice 0" to set Geth accept transactions at 0 gas price. |
Pending tx in txpool with Geth logs:
|
After staying in pending txpool about 1000 blocks, the tx 0x5c99895203257b1df2cc5283bc3f4d17c9dfc7147aaaab7ee06ad7bf00a00580 finally mined. -_-.
Why so long? |
I met this isusure two weeks ago.This reason is that the big amount Txs would lead the event blocked.Because the bug in the event/Feed.go. Please see my issure: #18021 |
I have the same problem when sending ton of tnx into a node on my private POA testnet; most of the tnx stuck in the queue and didn't be shifted into tx pool's pending. I run on latest version of geth v1.8.18
And after sending some more other tnx, half of the tnx in the queue are shifted to pending status
|
You're might right! I send the tnx parallel by using go routine then the tnx nonce come to the node may have wrong position. Thank you! @hello2mao |
And if I stop sending the txs to the node then mining can be continue normally. cc: @hello2mao |
Having the same issue here with stuck Is a node able to handle this amount of txs from a single user? Seems like it just de-prioritizes too many txs from the same address. But I dont have any other txs that need to be processed so why isnt it processing these pending ones? |
Please, I have the same issue. Any fix for it? |
please help me i am running a private chain , and submitting transaction , its stuck in pool from more than 2 hour can any one help me what should i do? |
Firstly, you can check nonce of |
@shikhars371 never got back. When submitting txs with high level of paralellism, it might happen that there are gaps in the nonces. Thus, when they are entered into the pool, one might "replace" or kick out another. Alternatively, they are submitted in non-sequential order, and some make it into |
Hi all, Is there any API for reading transaction pool in etherjs or web3js. |
I think I have the same problem here. I try to setup a private network with PoA and set the accepted gasPrice for the sealer to 0 via |
Your only solution would be to send directly the transaction to the authority node. Authority can't receive 0 gas price transactions from remote nodes |
@CremaFR Thanks for your super fast answer. I got it running with sending my transaction directly to the sealer with a gas price of 0. |
I don't think it is possible. I would recommend using Hyperledger Besu for that. And you have the benefit of IBFT 2.0 to have instant block finality compared to Clique. I know this might not be a solution for you but this what we did in my company and it works |
Alright I will check it out. The thing is we used the Azure Blockchain and there everything worked without any ether at all so I though I should be able to get a similar behavior on my private net since they also use geth as far as I understand |
System information
Geth version: v1.8.17
OS & Version: Linux
Commit hash : v1.8.17-stable-8bbe7207
Expected behaviour
Tx mined
Actual behaviour
Tx pending in txpool.
Steps to reproduce the behaviour
Keep sending tx to a POA private network.
At the beginning, it works fine.
When txpool pending grows, it stuck.
Pending tx keep 401 in txpool as below:
Any one can help me with that?
The text was updated successfully, but these errors were encountered: