mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
bad5ec754a
* 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
22 lines
580 B
TypeScript
22 lines
580 B
TypeScript
//
|
|
// Copyright 2021 Vulcanize, Inc.
|
|
//
|
|
|
|
export * from './src/config';
|
|
export * from './src/database';
|
|
export * from './src/job-queue';
|
|
export * from './src/constants';
|
|
export * from './src/misc';
|
|
export * from './src/fill';
|
|
export * from './src/events';
|
|
export * from './src/types';
|
|
export * from './src/indexer';
|
|
export * from './src/job-runner';
|
|
export * from './src/ipld-helper';
|
|
export * from './src/graph-decimal';
|
|
export * from './src/ipfs';
|
|
export * from './src/index-block';
|
|
export * from './src/metrics';
|
|
export * from './src/gql-metrics';
|
|
export * from './src/common';
|