Implement accelerations API & config setting
This commit is contained in:
7 files changed
+43
-1
No files matched your search
@@ -337,6 +337,10 @@ class Mempool {
|
||||
}
|
||||
|
||||
public async $updateAccelerations(): Promise<string[]> {
|
||||
if (!config.MEMPOOL_SERVICES.ACCELERATIONS) {
|
||||
return [];
|
||||
}
|
||||
|
||||
try {
|
||||
const newAccelerations = await accelerationApi.fetchAccelerations$();
|
||||
|
||||
|
||||
Reference in new issue
Block a user