Add indexer task to backfill audit fee/weight stats

This commit is contained in:
Mononaut
2023-06-09 13:46:43 -04:00
parent 3013386ca5
commit 5b62966863
4 changed files with 90 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ class Indexer {
await mining.$generatePoolHashrateHistory();
await blocks.$generateBlocksSummariesDatabase();
await blocks.$generateCPFPDatabase();
await blocks.$generateAuditStats();
} catch (e) {
this.indexerRunning = false;
logger.err(`Indexer failed, trying again in 10 seconds. Reason: ` + (e instanceof Error ? e.message : e));