After #65 there is a EigenTrustAlpha record in global config. We have Makefile targets in neofs_config.mk for each global config record. However EigenTrustAlpha differs from others records -- it has string value instead of int.
I propose to change bin/config.sh to take value type as the first argument: either string or int. Then targets from neofs_config.mk will look like this:
# Update epoch duration in side chain blocks (make update.epoch_duration val=30)
update.epoch_duration:
@./bin/config.sh int EpochDuration $(val)
...
# Update alpha parameter of EigenTrust algorithm in 0 <= f <= 1.0 (make update.eigen_trust_value val=0.2)
update.eigen_trust_value:
@./bin/config.sh string EigenTrustValue $(val)
After #65 there is a
EigenTrustAlpha
record in global config. We have Makefile targets inneofs_config.mk
for each global config record. HoweverEigenTrustAlpha
differs from others records -- it has string value instead of int.I propose to change
bin/config.sh
to take value type as the first argument: eitherstring
orint
. Then targets fromneofs_config.mk
will look like this: