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

Allow to run validator without producing blocks #1

Merged
merged 5 commits into from
Mar 11, 2019

Conversation

troggy
Copy link
Member

@troggy troggy commented Mar 2, 2019

Added a new cmd arg: --consensus.readonly. If set, validator won't produce block even if it is a current proposer.

Added a new unsafe RPC call: /set_readonly. Allows to flip consensus.readonly flag on the running node. ⚠️Should never be exposed on the internet, for intranet only.

Affects leapdao/leap-node#185

@troggy troggy changed the title Allow to run validator without producing blocks (readonly or observing) Allow to run validator without producing blocks Mar 2, 2019
@troggy troggy merged commit d09a9cd into master Mar 11, 2019
@troggy troggy deleted the feature/set-readonly branch March 11, 2019 13:33
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