Update pools table before fetching the first blocks
This commit is contained in:
parent
bf314be7eb
commit
6565c363f8
@ -151,6 +151,7 @@ class Server {
|
|||||||
logger.debug(msg);
|
logger.debug(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
await poolsUpdater.updatePoolsJson();
|
||||||
await blocks.$updateBlocks();
|
await blocks.$updateBlocks();
|
||||||
await memPool.$updateMempool();
|
await memPool.$updateMempool();
|
||||||
this.$runIndexingWhenReady();
|
this.$runIndexingWhenReady();
|
||||||
@ -187,7 +188,6 @@ class Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await poolsUpdater.updatePoolsJson();
|
|
||||||
await blocks.$generateBlockDatabase();
|
await blocks.$generateBlockDatabase();
|
||||||
await mining.$generateNetworkHashrateHistory();
|
await mining.$generateNetworkHashrateHistory();
|
||||||
await mining.$generatePoolHashrateHistory();
|
await mining.$generatePoolHashrateHistory();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user