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: always start blocksync and avoid misconfiguration #8902

Merged
merged 1 commit into from
Jun 30, 2022

Conversation

tychoish
Copy link
Contributor

@tychoish tychoish commented Jun 29, 2022

Addresses: #8899

@tychoish tychoish added the S:automerge Automatically merge PR when requirements pass label Jun 29, 2022
@williambanfield
Copy link
Contributor

Is blocksync intended to always be enabled in v0.35? It looks like the option is still present to disable it.

@tychoish
Copy link
Contributor Author

tychoish commented Jun 29, 2022

Is blocksync intended to always be enabled in v0.35? It looks like the option is still present to disable it.

I can't see a reason why you'd ever want to disable it, and nothing really changed in 0.36 to support force enabling it.

@@ -700,10 +700,8 @@ func (n *nodeImpl) OnStart() error {
}

if n.config.Mode != config.ModeSeed {
if n.config.BlockSync.Version == config.BlockSyncV0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe at this point we should just remove this setting from the config file entirely? At least at master and maybe in v0.36 that seems safe.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe it's out in master and 0.36 this is just against 0.35

@tychoish tychoish merged commit 204281f into tendermint:v0.35.x Jun 30, 2022
@williambanfield
Copy link
Contributor

I don't think we should change this in the released version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S:automerge Automatically merge PR when requirements pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants