Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timestamp to checkpoints #181

Merged
merged 3 commits into from
Aug 22, 2023
Merged

Add timestamp to checkpoints #181

merged 3 commits into from
Aug 22, 2023

Conversation

lann
Copy link
Collaborator

@lann lann commented Aug 11, 2023

  • Add a new TimestampedCheckpoint type, which adds a unix timestamp to the basic checkpoint data.
  • Update DataStores to store TimestampedCheckpoints.
  • Update CoreService to generate new TimestampedCheckpoint periodically, even if the underlying checkpoint hasn't changed.

This also renames MapCheckpoint to just Checkpoint. MapCheckpoint was slightly misleading since it covers both the verifiable map and log.

- Add a new TimestampedCheckpoint type, which adds a unix timestamp to
  the basic checkpoint data.
- Update DataStores to store TimestampedCheckpoints.
- Update CoreService to generate new TimestampedCheckpoint periodically,
  even if the underlying checkpoint hasn't changed.

This also renames `MapCheckpoint` to just `Checkpoint`. `MapCheckpoint`
was slightly misleading since it covers both the verifiable map *and*
log.
@lann lann merged commit 0708416 into main Aug 22, 2023
6 checks passed
@lann lann deleted the checkpoint-timestamp branch August 22, 2023 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants