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

Transactions get stuck on sending #140

Open
F1NYA opened this issue Aug 8, 2019 · 2 comments
Open

Transactions get stuck on sending #140

F1NYA opened this issue Aug 8, 2019 · 2 comments

Comments

@F1NYA
Copy link

F1NYA commented Aug 8, 2019

Some of transactions get stuck on sending(using wallet plugin)
wallet.resend() does not work, but on node restart transactions appears in network

[error] (node) Verification failure: txn-already-in-mempool (code=alreadyknown score=0 hash=<tx hash>)
[warning] (node) Verification failed for tx: <tx hash>.
[warning] (node) Attempting to broadcast anyway...
  • logs on node restart and wallet.resend are the same
    using rojii/bcash#schnorr
@pinheadmz
Copy link
Member

ping @Rojii

This might be hard to reproduce for testing. I wonder if it's just a networking issue? We used to have issues finding peers on Bitcoin Cash network. Does it happen regularly?

@F1NYA
Copy link
Author

F1NYA commented Aug 9, 2019

Yes, it happens very often. Uptime 24 hours and 5 out of 5 sent transactions got stuck. After restart all finally broadcasted to the network.
Sent test transaction 5 minutes ago and everything is ok, but in logs I can see that another transaction again got stuck. No errors in logs.

[error] (node) Verification failure: txn-already-in-mempool (code=alreadyknown score=0 hash=<tx hash>)
[warning] (node) Verification failed for tx: <tx hash>.
[warning] (node) Attempting to broadcast anyway...

These logs appear on wallet.resend, but transactions do not appear in the network.
After restart produced logs are unchanged, but transactions show up in the main network immediately.

We can not reproduce this bug too, on stage-cluster nodes this happens very rarely due to low load, I will try to look debug logs, but it seems like nothing unusual was logged.

@bcoin-org bcoin-org deleted a comment May 30, 2022
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

2 participants