CompactionThreshold should be 4 finalities

otherwise we'll wear clown shoes with the slack and end up in continuous compaction.
This commit is contained in:
vyzo 2021-06-17 22:21:49 +03:00
parent 79d21489df
commit a21f55919b

View File

@ -44,7 +44,7 @@ var (
// === :: cold (already archived)
// ≡≡≡ :: to be archived in this compaction
// --- :: hot
CompactionThreshold = 3 * build.Finality
CompactionThreshold = 4 * build.Finality
// CompactionBoundary is the number of epochs from the current epoch at which
// we will walk the chain for live objects.