Skip to content

Allow to run validator without producing blocks#1

Merged
troggy merged 5 commits intomasterfrom
feature/set-readonly
Mar 11, 2019
Merged

Allow to run validator without producing blocks#1
troggy merged 5 commits intomasterfrom
feature/set-readonly

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