api
api copied to clipboard
txpool crawler after restart adds huge pack
When new update uploaded to server and crawler restarted after a while (1 min or so) it found huge pack of not reported transactions and starting add them.
ethereum-txpool[173043]: Checking pending transactions in node:
ethereum-txpool[173043]: Size of pending transactions cache at the beginning: 0
ethereum-txpool[173043]: Publishing chunk with: 500/153052 reports
ethereum-txpool[173043]: Publishing chunk with: 500/153052 reports
ethereum-txpool[173043]: Publishing chunk with: 500/153052 reports
ethereum-txpool[173043]: Publishing chunk with: 500/153052 reports
ethereum-txpool[173043]: Publishing chunk with: 500/153052 reports
...
I fix this just restarting crawler again and this pack registered as skipped transaction according with logic.
ethereum-txpool[173866]: Size of pending transactions cache at the beginning: 153545