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

db: Add a epoch_slot_no to the block table #214

Merged
merged 1 commit into from
Jul 27, 2020
Merged

Conversation

erikd
Copy link
Contributor

@erikd erikd commented Jul 27, 2020

No description provided.

@erikd erikd changed the title db: Add a slot_in_epoch to the block table db: Add a epoch_slot_no to the block table Jul 27, 2020
On a pure Byron network it was trivial to calculate the slot within an
epoch from the absolute slot number. After the Byron to Shelley hardfork
this becomes incredibly non-trivial.

Solution is to add an 'epoch_slot_no' (the slot within an epoch) field
to the block table.

Closes: #210
@erikd erikd merged commit af21c94 into master Jul 27, 2020
@iohk-bors iohk-bors bot deleted the erikd/epoch-slot branch July 27, 2020 22:54
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

1 participant