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

Hardcode genesis block #29

Closed
ofux opened this issue Jun 16, 2022 · 0 comments · Fixed by #38
Closed

Hardcode genesis block #29

ofux opened this issue Jun 16, 2022 · 0 comments · Fixed by #38
Assignees
Labels
Context: coupled interact with some parts of the codebase Difficulty: intermediate mobilise some notions about the field, but can be learned while doing Duration: under a day wil take up to one day Techno: cairo cairo Type: feature a new feature to implement

Comments

@ofux
Copy link
Contributor

ofux commented Jun 16, 2022

The genesis block must be hardcoded and registered as the first block of the chain.

Any block with the hash of the genesis block must bypass validation rules.

See https://github.com/bitcoin-stark/khepri-starknet/blob/main/docs/bitcoin/block_header_validation_rules.md

@ofux ofux added Context: coupled interact with some parts of the codebase Type: feature a new feature to implement Difficulty: intermediate mobilise some notions about the field, but can be learned while doing Techno: cairo cairo Duration: under a day wil take up to one day labels Jun 16, 2022
@ofux ofux self-assigned this Jun 30, 2022
@ofux ofux closed this as completed in #38 Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Context: coupled interact with some parts of the codebase Difficulty: intermediate mobilise some notions about the field, but can be learned while doing Duration: under a day wil take up to one day Techno: cairo cairo Type: feature a new feature to implement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant