-
Couldn't load subscription status.
- Fork 33
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Internal
Describe the feature you'd like
In order to make sure that multiple nodes take the same snapshots, it would be useful to implement an alternative snapshotting policy that decides based on the block number. I propose something like:
// currently
{
"SnapshotInterval": 5000 // seconds
}
// proposal
{
"SnapshotInterval": "5000s" // seconds
}
{
"SnapshotInterval": "100b" // every @blockno `mod` 100 == 0@
}
We would have to pass to onDiskShouldTakeSnapshot also the current block number.
jpraynaud
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
👀 In review