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

node/services: use genesis if trusted hash is not set #348

Merged
merged 1 commit into from Jan 21, 2022

Conversation

Wondertan
Copy link
Member

Required for Bridge Node, but also works for Light and in future for Full. This won't be safe for them though, once we stop relying on a trusted peer for the whole syncing, but until then it is safe, as we trust a trusted peer.

Based/depends on #346
Closes #324

Copy link
Member

@adlerjohn adlerjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this meant to be merged into hlib/build?

node/services/config.go Show resolved Hide resolved
@Wondertan
Copy link
Member Author

Wondertan commented Jan 13, 2022

Is this meant to be merged into hlib/build?

No, directly to master. I based it on hlib/build to make the diff clear

Copy link
Member

@liamsi liamsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤙🏼

@Wondertan Wondertan merged commit f05e0c2 into hlib/build Jan 21, 2022
@Wondertan Wondertan deleted the hlib/set-genesis branch January 21, 2022 16:28
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

4 participants