Implement accelerations API & config setting

This commit is contained in:
Mononaut committed 2023-07-26 15:08:33 +09:00
1 parent c246db1cf9
commit 20b3ceab1e
7 files changed
+43 -1

No files matched your search

+4
View File
@@ -337,6 +337,10 @@ class Mempool {
}
public async $updateAccelerations(): Promise<string[]> {
if (!config.MEMPOOL_SERVICES.ACCELERATIONS) {
return [];
}
try {
const newAccelerations = await accelerationApi.fetchAccelerations$();