Add CLI option to node config for peer labels as Map[Id, Double] -- refactor TrustManager to take this as input. StoredReputation needs to take this as the init param, along with whitelist scores added if substituted. Lowered default whitelist from 1d to 0.5 -- and removed the 1d update happening in observation updates.
Will need more work to actually make use of observation information -- should be done separately.
Also prevented prediction updates from overwriting the original stored scores. I still need to look through other dependencies to make sure this is fine (in later PRs), but I think it should be safe.
Add CLI option to node config for peer labels as Map[Id, Double] -- refactor TrustManager to take this as input. StoredReputation needs to take this as the init param, along with whitelist scores added if substituted. Lowered default whitelist from 1d to 0.5 -- and removed the 1d update happening in observation updates.
Will need more work to actually make use of observation information -- should be done separately. Also prevented prediction updates from overwriting the original stored scores. I still need to look through other dependencies to make sure this is fine (in later PRs), but I think it should be safe.