Hashrates indexing waits for blocks indexing - Batch hashrates I/O ops
This commit is contained in:
@@ -164,12 +164,12 @@ class Server {
|
||||
}
|
||||
}
|
||||
|
||||
async runIndexingWhenReady() {
|
||||
runIndexingWhenReady() {
|
||||
if (!Common.indexingEnabled() || mempool.hasPriority()) {
|
||||
return;
|
||||
}
|
||||
await blocks.$generateBlockDatabase();
|
||||
await mining.$generateNetworkHashrateHistory();
|
||||
blocks.$generateBlockDatabase();
|
||||
mining.$generateNetworkHashrateHistory();
|
||||
}
|
||||
|
||||
setUpWebsocketHandling() {
|
||||
|
||||
Reference in New Issue
Block a user