NethermindEth / Paprika

A custom storage engine of Nethermind, benefiting from the alignment of the underlying data structure with the layout of State & Storage trees of Ethereum.
GNU Lesser General Public License v3.0
91 stars 14 forks source link

IFlushStrategy introduced to enable a catch up behavior #357

Closed Scooletz closed 3 months ago

Scooletz commented 4 months ago

This PR separates the decision of whether to flush or not to a separate component IFlushStrategy. It also removes the min timespan to flush as now it should spin fast, depending on the strategy, and only then, when the channel is empty, flush it (depending on the level)

github-actions[bot] commented 4 months ago

Code Coverage

Package Line Rate Branch Rate Health
Paprika 85% 79%
Summary 85% (4070 / 4805) 79% (1298 / 1646)

Minimum allowed line rate is 75%

Scooletz commented 3 months ago

Discontinued. Blocks should be applicable in a faster way with regular application, not hacks like this.