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

Transaction can stale #72

Open
bayk opened this issue Sep 16, 2024 · 0 comments
Open

Transaction can stale #72

bayk opened this issue Sep 16, 2024 · 0 comments

Comments

@bayk
Copy link

bayk commented Sep 16, 2024

Describe the bug
In case of unstable network, transaction can stale in some network nodes transaction pool.
If mining node doesn't get a transaction during initial push cycle, the transaction will never be mined, but it will stay in the transaction pools of other nodes that will prevent to republish the same transaction (get error Tx is already in transaction pool), or will not be able to emit another transaction with the same output because of cut through erorr.

To Reproduce
Use floonet. Stop mining, shout down the mining node.
Start mining node, start mining. Posted earlier transaction will never reach the mining node.
Post transaction from your wallet. Wallet must be connection to not mining node. Wait few minutes.
Repost transaction from the wallet - will not help.
Cancel transaction and send another one with the same output will not work as well.

User will need to wait for a while untill transaction will be expired from the transaction pool of all nodes.

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