Skip to content
Snippets Groups Projects
Unverified Commit 3a026fb4 authored by Levente Pap's avatar Levente Pap Committed by GitHub
Browse files

Make syncPercentage configurable (#675)

* Make syncPercentage configurable

 - Use `syncbeaconfollower.syncPercentage` in config.json to specify
   the desired percentage of nodes (being followed) that we need to be
   synced compared to in order to consider the node synced.
 - syncPercentage has to be in [0.5, 1.0] interval.
 - Use default value of 0.5 in case of invalid config.

* Add syncPercentage to config.default.json

* Fix syncbeaconfollower configure order
parent fb3d15c4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment