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

Generalise block to (theoretically) support Byron and Shelley #113

Merged
merged 2 commits into from
May 29, 2020

Conversation

erikd
Copy link
Contributor

@erikd erikd commented May 29, 2020

This still only supports Byron, but Byron is specified at the very top level using 'mkByronConsensusConfig'.

Tested locally on my mainnet and testnet nodes.

erikd added 2 commits May 29, 2020 11:39
This insulates the DB actions from the type level abstraction over
the different kinds of blocks. Below this level, the DB deals with
concrete block types so this abstraction removal needs to be done at
a layer above.

Specifically, we add Byron and Shelley specific constructors for each
of the apply block and rollback actions. When Gougan comes, we will need
another pair of constructors.
This still only supports Byron, but Byron is specified at the very
top level using 'mkByronConsensusConfig'.
@erikd erikd merged commit bf94ad9 into master May 29, 2020
@iohk-bors iohk-bors bot deleted the erikd/generalise branch May 29, 2020 02:21
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.

1 participant