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 block zero; load genesis file and use it for getGenesisHash and block 0 timestamp. #69

Merged
merged 9 commits into from
Nov 17, 2023

Conversation

gagliardetto
Copy link
Collaborator

@gagliardetto gagliardetto commented Nov 8, 2023

Closes #60 ; allow loading genesis file, and using the genesis hash and timestamp.

@gagliardetto
Copy link
Collaborator Author

When loading the epoch 0, the genesis file genesis.tar.bz2 will be required.

When the epoch 0 is loaded, then the getGenesisHash RPC method will become available.

@gagliardetto gagliardetto changed the title Fix block zero Fix block zero; load genesis file and use it for getGenesisHash and block 0 timestamp. Nov 15, 2023
@gagliardetto gagliardetto merged commit e192640 into rpcpool:main Nov 17, 2023
1 check passed
@gagliardetto gagliardetto deleted the fix-block-zero branch February 7, 2024 13:14
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.

Block 0 can't be fetched
3 participants