Merge branch 'master' into mononaut/disk-cache-network-version

This commit is contained in:
softsimon
2023-03-14 21:05:16 +09:00
committed by GitHub
49 changed files with 11443 additions and 6623 deletions

View File

@@ -641,7 +641,7 @@ class Blocks {
if (this.newBlockCallbacks.length) {
this.newBlockCallbacks.forEach((cb) => cb(blockExtended, txIds, transactions));
}
if (!memPool.hasPriority()) {
if (!memPool.hasPriority() && (block.height % 6 === 0)) {
diskCache.$saveCacheToDisk();
}