mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
[NOD-1040] Increase maxBlueScoreDifferenceToKeepLoaded to 1500 (#746)
* [NOD-1040] Don't remove DAG tips from the diffStore's loaded set * [NOD-1040] Fix TestClearOldEntries. * Revert "[NOD-1040] Fix TestClearOldEntries." This reverts commit e0705814 * Revert "[NOD-1040] Don't remove DAG tips from the diffStore's loaded set" This reverts commit d3eba1c1 * [NOD-1040] Increase maxBlueScoreDifferenceToKeepLoaded to 1500.
This commit is contained in:
parent
9c78a797e4
commit
b4dba782fb
@ -153,7 +153,7 @@ func (diffStore *utxoDiffStore) clearDirtyEntries() {
|
||||
// maxBlueScoreDifferenceToKeepLoaded is the maximum difference
|
||||
// between the virtual's blueScore and a blockNode's blueScore
|
||||
// under which to keep diff data loaded in memory.
|
||||
var maxBlueScoreDifferenceToKeepLoaded uint64 = 100
|
||||
var maxBlueScoreDifferenceToKeepLoaded uint64 = 1500
|
||||
|
||||
// clearOldEntries removes entries whose blue score is lower than
|
||||
// virtual.blueScore - maxBlueScoreDifferenceToKeepLoaded.
|
||||
|
Loading…
x
Reference in New Issue
Block a user