spacemeshos / svm

SVM - Spacemesh Virtual Machine
https://spacemesh.io
MIT License
86 stars 14 forks source link

When should we persist dirty changes, besides layer finalization? #341

Open neysofu opened 3 years ago

neysofu commented 3 years ago

At the time of writing, svm_state::Storage persists dirty changes only on a per-layer basis. This might change in the future and we might decide to persist changes:

or mixing any of the above metrics to find a sweet spot.