Goggles indexing config & rate limit

This commit is contained in:
Mononaut
2024-01-27 18:22:58 +00:00
parent 520e79aec4
commit 09e38ac177
9 changed files with 19 additions and 1 deletions

View File

@@ -508,6 +508,13 @@ export class Common {
);
}
static gogglesIndexingEnabled(): boolean {
return (
Common.blocksSummariesIndexingEnabled() &&
config.MEMPOOL.GOGGLES_INDEXING === true
);
}
static cpfpIndexingEnabled(): boolean {
return (
Common.indexingEnabled() &&