wormhole-explorer/fly/cmd/backfiller
ftocal 7d5a3bbe52
Improve fly reliability (#1094)
Add sqs queue for observations
Add tx hash strategy for vaas
Refactoring to organize the construction
2024-02-06 21:00:45 -03:00
..
README.md Fly backfiller (#106) 2023-01-30 10:20:38 -03:00
backfiler.go Fix txHash encoding by chain (#410) 2023-06-15 09:57:39 -03:00
main.go Use Redis channel in spy and fly (#753) 2023-10-18 11:18:32 -03:00
notify.go Integrating blockchain watcher data into mongodb (#820) 2023-11-27 12:31:35 -03:00
txhash_encoding_strategy.go Improve fly reliability (#1094) 2024-02-06 21:00:45 -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/