Implement accelerations API & config setting
This commit is contained in:
@@ -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