Dan Finlay
a417fab0eb
When checking pending txs, check for successful txs with same nonce.
...
If a successful tx with the same nonce exists, transition tx to the failed state.
Fixes #2294
7 years ago
Dan Finlay
0146b55d6d
Check status of pending transactions on startup
...
Fixes #1531
7 years ago
frankiebee
3cb9da2ae5
"fix" hours for message
7 years ago
frankiebee
ec9c528313
pending-tx - check time stamp instead of block number for resubmit
7 years ago
kumavis
062eaa6a82
pending tx tracker - on tx:warn append error message instead of error obj
7 years ago
kumavis
ed77304e73
pending tx tracker - tx:warning event includes err obj
7 years ago
kumavis
22eaf92ec2
pending tx tracker - resubmit - warn dont error on unknown error
7 years ago
kumavis
7af696bfbe
pending tx tracker - dont throw on load failure
7 years ago
frankiebee
ac80eaca1f
pending-tx - dont check the balance to rebrodcast
7 years ago
kumavis
b41aad6d1a
style - small whitespace nitpick
7 years ago
frankiebee
0a94ec41d3
pending-tx - move incrementing of the retryCount on the txMeta outside pending-tx-tracker
7 years ago
frankiebee
80c98b1653
transactions: make evnt names pretty and eaiser to read
7 years ago
Dan Finlay
2b7b1db851
Do not mark a retry tx failed that has been broadcast successfully
...
Fixes #2115
If a tx has been braodcast, the only failures we should accept are:
- Never mined
- On chain failure
We had a section of code that would mark a tx failed during any unknown error during a retry.
Now no retry > 1 will ever mark a tx failed, since it has been broadcast, and may be mined.
7 years ago
frankiebee
9e0c0745ab
linting && format fixing
7 years ago
Dan Finlay
0ad310e096
Fail transactions after a day of retries
7 years ago
frankiebee
5bb84f6e21
fix getPendingTransactions function for pendingTxTracker
7 years ago
frankiebee
a13643bdb5
fix class names
7 years ago
frankiebee
59124eb6fd
remove logging of the message and log the error
7 years ago
frankiebee
fb9866b4e1
fix spelling
7 years ago
frankiebee
087cd9fb1a
break out tx status pendding watchers
7 years ago