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

fix: Replaces the time-based logic to determine sync progress and initialisation state #407

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

rhyslbw
Copy link
Contributor

@rhyslbw rhyslbw commented Jan 25, 2021

Context

Fixes #248

Proposed Solution

Enabled by having direct access to cardano-node via cardano-cli, the node tip is used as the base value to determine the sync progress of cardano-db-sync. In addition, the initialisation state is now determined by asserting the most recent epoch in the table matches the tip's epochNo

…tialisation state

Enabled by having direct access to cardano-node via cardano-cli,
the node tip is used as the base value to determine the sync progress
of cardano-db-sync. In addition, the initialisation state is now
determined by asserting the most recent epoch in the table matches
the tip's epochNo

Fixes #248
@rhyslbw rhyslbw merged commit a884dda into master Jan 25, 2021
@rhyslbw rhyslbw deleted the fix/cardano-db-meta-results branch January 25, 2021 11:26
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.

cardanoDbMeta invalid during initial sync
1 participant