wormhole-explorer/fly/cmd/backfiller
walker-16 b8e3f43333
1301 create a backgroundrecurrent process which checks which duplicate vaas txs actually reached finality on the blockchain (#1359)
* fly-event-processor initial commit

* Handle duplicated vaa event in fly-event-processor
Add deployment for fly-event-processor
Send duplicated vaa event from fly

Co-authored-by: walker-16 <agpazos85@gmail.com>

---------

Co-authored-by: Fernando Torres <fert1335@gmail.com>
2024-05-07 16:38:16 -03:00
..
README.md
backfiler.go
main.go
notify.go Integrating blockchain watcher data into mongodb (#820) 2023-11-27 12:31:35 -03:00
txhash_encoding_strategy.go 1301 create a backgroundrecurrent process which checks which duplicate vaas txs actually reached finality on the blockchain (#1359) 2024-05-07 16:38:16 -03:00
txhash_strategy.go Improve fly reliability (#1094) 2024-02-06 21:00:45 -03:00
vaa_strategy.go Improve fly reliability (#1094) 2024-02-06 21:00:45 -03:00
workpool.go Improve fly reliability (#1094) 2024-02-06 21:00:45 -03:00

README.md

generic backfiller

reads a bulk csv dump of stuff (VAAs, TxHash, etc) and upsert it into mongodb

compile

go build

run

./backfiller -strategy vaa -file test.csv

When you run the backfiller must pass a valid strategy Current supported strategies are:

  • vaa for backfilling VAAs
  • txhash for backfilling of txHash

config

The mongodb uri is set via env using the variable MONGODB_URI If is not set it will use the default mongodb://localhost:27017/