7c467f5267
* Handle log-message-published generated by blockchain-watcher in parser, tx-tracker y analytics * Add deployment for staging-testnet environment Improve logs * Add operation endpoints --------- Co-authored-by: Agustin Pazos <agpazos85@gmail.com> |
||
---|---|---|
.. | ||
README.md | ||
backfiler.go | ||
main.go | ||
notify.go | ||
txhash_encoding_strategy.go | ||
txhash_strategy.go | ||
vaa_strategy.go | ||
workpool.go |
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 VAAstxhash
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/