bcash icon indicating copy to clipboard operation
bcash copied to clipboard

Transactions get stuck on sending

Open F1NYA opened this issue 6 years ago • 2 comments

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

F1NYA avatar Aug 08 '19 10:08 F1NYA

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?

pinheadmz avatar Aug 08 '19 15:08 pinheadmz

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.

F1NYA avatar Aug 09 '19 16:08 F1NYA