wormhole-explorer/tx-tracker
agodnic 8ad4d6276f
Add retry logic to the `tx-tracker` service (#480)
### Summary

Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/415

When the `tx-tracker` service processes a VAA, sometimes the transaction is not finalized (e.g.:for chains with slow finality, VAAs with low consistency level, out-of-sync nodes). This problem was observed on chains like Solana, Ethereum and Polygon, but could have happened on other chains.

This pull request adds the logic needed to wait and retry processing the VAA, hoping that the originating transaction reaches finality.

Also, the `tx-tracker` service now uses a worker pool to process transactions, which will lead to higher throughput. This will benefit the WormholeScan UI, specially in the case when a large number of VAAs are emitted in a short period of time.
2023-07-04 15:25:08 -03:00
..
chains Add retry logic to the `tx-tracker` service (#480) 2023-07-04 15:25:08 -03:00
cmd Add retry logic to the `tx-tracker` service (#480) 2023-07-04 15:25:08 -03:00
config Add support for Oasis and Algorand in the `tx-tracker` service (#455) 2023-06-23 22:21:34 -03:00
consumer Add retry logic to the `tx-tracker` service (#480) 2023-07-04 15:25:08 -03:00
http/infrastructure [TX TRACKER] Add component that obtains transaction data (#159) 2023-03-14 15:49:10 -03:00
queue [TX TRACKER] Add component that obtains transaction data (#159) 2023-03-14 15:49:10 -03:00
.env.example [TX-TRACKER] Add support for Celo (#209) 2023-03-27 16:14:12 -03:00
.gitignore [tx-tracker / api] Avoid duplicating data (#256) 2023-04-25 15:34:29 -03:00
Dockerfile.tx-tracker-backfiller [TX TRACKER] Add backfiller for source transactions (#194) 2023-03-20 16:36:19 -03:00
Dockerfile.tx-tracker-service [TX TRACKER] Add backfiller for source transactions (#194) 2023-03-20 16:36:19 -03:00
Makefile [tx-tracker / api] Avoid duplicating data (#256) 2023-04-25 15:34:29 -03:00
go.mod 297 contract watchertx trackeranalyticfly change access to use iam role (#306) 2023-05-10 15:49:40 -03:00
go.sum 297 contract watchertx trackeranalyticfly change access to use iam role (#306) 2023-05-10 15:49:40 -03:00