watcher-ts/packages/util
prathamesh0 bad5ec754a
Prefetch blocks with events in memory (#199)
* Prefetch blocks along with events in memory

* Fix prefetched block destructuring

* Wait while blocks are being prefetched

* Retry only if block not returned by upstream eth-server

* Log time taken to prefetch blocks

* Avoid creating a separate job for prefetching blocks

* Skip syncStatus check while fetching blocks

* Convert block number string to number for comparison

* Prefetch blocks in a batch only when required

* Keep existing pattern for watchers in this repo

* Fix logging while fetching a batch of blocks
2022-10-13 17:07:46 +05:30
..
src Prefetch blocks with events in memory (#199) 2022-10-13 17:07:46 +05:30
.eslintignore Handle pool initialize event (#127) 2021-07-09 12:38:25 +05:30
.eslintrc.json Job queue to process events (#137) 2021-07-14 18:00:26 +05:30
.gitignore Smoke test for uni-info-watcher (#184) 2021-08-04 18:57:44 +05:30
.npmignore Changes to use packages in uniswap-watcher (#196) 2022-10-11 13:41:26 +05:30
hardhat.config.ts Test for entities after TransferEvent (#196) 2021-08-10 12:09:00 +05:30
index.ts Prefetch blocks with events in memory (#199) 2022-10-13 17:07:46 +05:30
package.json v0.2.13 (#197) 2022-10-11 16:12:06 +05:30
tsconfig.json Enable source maps for transpiled files (#242) 2021-09-07 16:01:15 +05:30