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

Change the status of pending txs to oudated based on sender's nonce #53

Open
0xmdh opened this issue Apr 15, 2021 · 0 comments
Open

Change the status of pending txs to oudated based on sender's nonce #53

0xmdh opened this issue Apr 15, 2021 · 0 comments

Comments

@0xmdh
Copy link

0xmdh commented Apr 15, 2021

Hi!
The explorer shows 2 transaction stuck forever yesterday (can't be mined because nonce 542 and 544 were already used after script re-run),
both of them are in status pendingg in rsk explorer, but can't be found in blockscout
1)
https://explorer.rsk.co/tx/0xeac0103b97a5a35685f09ffd868067196d8eb8f1c8a44e0a054ceec1cee81cc0
https://blockscout.com/rsk/mainnet/search?q=0xeac0103b97a5a35685f09ffd868067196d8eb8f1c8a44e0a054ceec1cee81cc0
2)
https://explorer.rsk.co/tx/0xba5818a971cfc420b953232af3e290b4eff9b1e25cb9023425ab59213f01f141
https://blockscout.com/rsk/mainnet/search?q=0xba5818a971cfc420b953232af3e290b4eff9b1e25cb9023425ab59213f01f141
These txs were left in the node's rsk explorer mempool but they will never be mined, they sould be removed from the mempool and would not see them again in the RSK explorer.
The strange thing is that the tx is still showed as pending in the RSK explorer and has not disappeared already, but it should.
So the issue is in the explorer?
It shouldn't last that long. Each node has a parameter of: after X time the pending transactions are removed. And that time X is just a few minutes that you remember. So, either some node associated with the explorer has a very high X OR THE EXPLORER on his account is sent to remember that transaction as pending, and does not release it again.
What should be seen is if there are transactions with the same sender and nonce, which were mined, and these, as similar transactions that competed with those, were the ones that lost.

@emiliorizzo emiliorizzo changed the title Add feature Outdated to solve this issue. Change the status of pending txs to oudated based on sender's nonce Apr 15, 2021
ezequiel-rodriguez pushed a commit that referenced this issue Dec 6, 2023
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