My ether wallet has been working for more than 1 year. Today There was a memory issue in my node and the node shutdown. When I restarted the node via geth client the node resound ~5000 blocks behind and started syncing again. My node was traying to catch up ~5000 blocks which took hours.
One of my customers had submitted a transaction during this time and it was stuck in the nodes pending transactions for 3 hours.
I was continuously checking the status of the transaction.
Since the sync was slow, I restarted the node.
I checked the node again after sometime and suddenly I noticed that the transaction was no longer in the pool.
eth.getTransaction was returning null. Its not showing-up on etherscan also.
- What happened to my transaction?
- Did the node restart clear the transaction from the pool?
- Did it timeout and disappear?
Any help to figure this out is appreciated.
Best Answer
I think it was timeout. By default, the lifetime of tnx is 3 hours
https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options