-
Notifications
You must be signed in to change notification settings - Fork 10
Add zerostate proof #990
Copy link
Copy link
Closed
Labels
C-coreCore moduleCore moduleC-storageStorage moduleStorage moduleS-featureSeverity: feature. This is adding a new feature.Severity: feature. This is adding a new feature.enhancementNew feature or requestNew feature or request
Milestone
Metadata
Metadata
Assignees
Labels
C-coreCore moduleCore moduleC-storageStorage moduleStorage moduleS-featureSeverity: feature. This is adding a new feature.Severity: feature. This is adding a new feature.enhancementNew feature or requestNew feature or request
When a node boots from a genesis it needs a full state. However, when it boots from the latest persistent, zerostate is used only to check that the subsequent key block is valid. There is no need to store it fully.
I propose to introduce a "state proof" which must contain only a small subset of info required for
ProofChecker. And all nodes in a hard-forked network will download it instead of the full state to speedup cold boot and reduce storage usage.