pkg/overlay: update node selection config values for reputation (#2264)
This commit is contained in:
parent
5b31086757
commit
edb3d1cbf8
@ -38,15 +38,14 @@ type NodeSelectionConfig struct {
|
|||||||
AuditReputationUplinkWeight float64 `help:"weight to apply to audit reputation for total uplink reputation calculation" default:"1.0"`
|
AuditReputationUplinkWeight float64 `help:"weight to apply to audit reputation for total uplink reputation calculation" default:"1.0"`
|
||||||
AuditReputationAlpha0 float64 `help:"the initial shape 'alpha' used to calculate audit SNs reputation" default:"1.0"`
|
AuditReputationAlpha0 float64 `help:"the initial shape 'alpha' used to calculate audit SNs reputation" default:"1.0"`
|
||||||
AuditReputationBeta0 float64 `help:"the initial shape 'beta' value used to calculate audit SNs reputation" default:"0.0"`
|
AuditReputationBeta0 float64 `help:"the initial shape 'beta' value used to calculate audit SNs reputation" default:"0.0"`
|
||||||
AuditReputationLambda float64 `help:"the forgetting factor used to calculate the audit SNs reputation" default:"1.0"`
|
AuditReputationLambda float64 `help:"the forgetting factor used to calculate the audit SNs reputation" default:"0.95"`
|
||||||
AuditReputationWeight float64 `help:"the normalization weight used to calculate the audit SNs reputation" default:"1.0"`
|
AuditReputationWeight float64 `help:"the normalization weight used to calculate the audit SNs reputation" default:"1.0"`
|
||||||
// TODO(nat): figure out default for DQs
|
AuditReputationDQ float64 `help:"the reputation cut-off for disqualifying SNs based on audit history" default:"0.6"`
|
||||||
AuditReputationDQ float64 `help:"the reputation cut-off for disqualifying SNs based on audit history" default:"0.5"`
|
|
||||||
UptimeReputationRepairWeight float64 `help:"weight to apply to uptime reputation for total repair reputation calculation" default:"1.0"`
|
UptimeReputationRepairWeight float64 `help:"weight to apply to uptime reputation for total repair reputation calculation" default:"1.0"`
|
||||||
UptimeReputationUplinkWeight float64 `help:"weight to apply to uptime reputation for total uplink reputation calculation" default:"1.0"`
|
UptimeReputationUplinkWeight float64 `help:"weight to apply to uptime reputation for total uplink reputation calculation" default:"1.0"`
|
||||||
UptimeReputationAlpha0 float64 `help:"the initial shape 'alpha' used to calculate uptime SNs reputation" default:"1.0"`
|
UptimeReputationAlpha0 float64 `help:"the initial shape 'alpha' used to calculate uptime SNs reputation" default:"2.0"`
|
||||||
UptimeReputationBeta0 float64 `help:"the initial shape 'beta' value used to calculate uptime SNs reputation" default:"0.0"`
|
UptimeReputationBeta0 float64 `help:"the initial shape 'beta' value used to calculate uptime SNs reputation" default:"0.0"`
|
||||||
UptimeReputationLambda float64 `help:"the forgetting factor used to calculate the uptime SNs reputation" default:"1.0"`
|
UptimeReputationLambda float64 `help:"the forgetting factor used to calculate the uptime SNs reputation" default:"0.99"`
|
||||||
UptimeReputationWeight float64 `help:"the normalization weight used to calculate the uptime SNs reputation" default:"1.0"`
|
UptimeReputationWeight float64 `help:"the normalization weight used to calculate the uptime SNs reputation" default:"1.0"`
|
||||||
UptimeReputationDQ float64 `help:"the reputation cut-off for disqualifying SNs based on uptime history" default:"0.5"`
|
UptimeReputationDQ float64 `help:"the reputation cut-off for disqualifying SNs based on uptime history" default:"0.6"`
|
||||||
}
|
}
|
||||||
|
10
scripts/testdata/satellite-config.yaml.lock
vendored
10
scripts/testdata/satellite-config.yaml.lock
vendored
@ -203,10 +203,10 @@ kademlia.operator.wallet: ""
|
|||||||
# overlay.node.audit-reputation-beta0: 0
|
# overlay.node.audit-reputation-beta0: 0
|
||||||
|
|
||||||
# the reputation cut-off for disqualifying SNs based on audit history
|
# the reputation cut-off for disqualifying SNs based on audit history
|
||||||
# overlay.node.audit-reputation-dq: 0.5
|
# overlay.node.audit-reputation-dq: 0.6
|
||||||
|
|
||||||
# the forgetting factor used to calculate the audit SNs reputation
|
# the forgetting factor used to calculate the audit SNs reputation
|
||||||
# overlay.node.audit-reputation-lambda: 1
|
# overlay.node.audit-reputation-lambda: 0.95
|
||||||
|
|
||||||
# weight to apply to audit reputation for total repair reputation calculation
|
# weight to apply to audit reputation for total repair reputation calculation
|
||||||
# overlay.node.audit-reputation-repair-weight: 1
|
# overlay.node.audit-reputation-repair-weight: 1
|
||||||
@ -239,16 +239,16 @@ kademlia.operator.wallet: ""
|
|||||||
# overlay.node.uptime-ratio: 0.9
|
# overlay.node.uptime-ratio: 0.9
|
||||||
|
|
||||||
# the initial shape 'alpha' used to calculate uptime SNs reputation
|
# the initial shape 'alpha' used to calculate uptime SNs reputation
|
||||||
# overlay.node.uptime-reputation-alpha0: 1
|
# overlay.node.uptime-reputation-alpha0: 2
|
||||||
|
|
||||||
# the initial shape 'beta' value used to calculate uptime SNs reputation
|
# the initial shape 'beta' value used to calculate uptime SNs reputation
|
||||||
# overlay.node.uptime-reputation-beta0: 0
|
# overlay.node.uptime-reputation-beta0: 0
|
||||||
|
|
||||||
# the reputation cut-off for disqualifying SNs based on uptime history
|
# the reputation cut-off for disqualifying SNs based on uptime history
|
||||||
# overlay.node.uptime-reputation-dq: 0.5
|
# overlay.node.uptime-reputation-dq: 0.6
|
||||||
|
|
||||||
# the forgetting factor used to calculate the uptime SNs reputation
|
# the forgetting factor used to calculate the uptime SNs reputation
|
||||||
# overlay.node.uptime-reputation-lambda: 1
|
# overlay.node.uptime-reputation-lambda: 0.99
|
||||||
|
|
||||||
# weight to apply to uptime reputation for total repair reputation calculation
|
# weight to apply to uptime reputation for total repair reputation calculation
|
||||||
# overlay.node.uptime-reputation-repair-weight: 1
|
# overlay.node.uptime-reputation-repair-weight: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user