reduce vetting requirement (#2416)
This commit is contained in:
parent
ea55ae63e3
commit
9e62423f47
@ -25,8 +25,8 @@ type Config struct {
|
||||
// NodeSelectionConfig is a configuration struct to determine the minimum
|
||||
// values for nodes to select
|
||||
type NodeSelectionConfig struct {
|
||||
UptimeCount int64 `help:"the number of times a node's uptime has been checked to not be considered a New Node" releaseDefault:"500" devDefault:"0"`
|
||||
AuditCount int64 `help:"the number of times a node has been audited to not be considered a New Node" releaseDefault:"500" devDefault:"0"`
|
||||
UptimeCount int64 `help:"the number of times a node's uptime has been checked to not be considered a New Node" releaseDefault:"100" devDefault:"0"`
|
||||
AuditCount int64 `help:"the number of times a node has been audited to not be considered a New Node" releaseDefault:"100" devDefault:"0"`
|
||||
NewNodePercentage float64 `help:"the percentage of new nodes allowed per request" default:"0.05"` // TODO: fix, this is not percentage, it's ratio
|
||||
MinimumVersion string `help:"the minimum node software version for node selection queries" default:""`
|
||||
OnlineWindow time.Duration `help:"the amount of time without seeing a node before its considered offline" default:"1h"`
|
||||
|
4
scripts/testdata/satellite-config.yaml.lock
vendored
4
scripts/testdata/satellite-config.yaml.lock
vendored
@ -221,7 +221,7 @@ kademlia.operator.wallet: ""
|
||||
# orders.expiration: 1080h0m0s
|
||||
|
||||
# the number of times a node has been audited to not be considered a New Node
|
||||
# overlay.node.audit-count: 500
|
||||
# overlay.node.audit-count: 100
|
||||
|
||||
# the initial shape 'alpha' used to calculate audit SNs reputation
|
||||
# overlay.node.audit-reputation-alpha0: 1
|
||||
@ -257,7 +257,7 @@ kademlia.operator.wallet: ""
|
||||
# overlay.node.online-window: 1h0m0s
|
||||
|
||||
# the number of times a node's uptime has been checked to not be considered a New Node
|
||||
# overlay.node.uptime-count: 500
|
||||
# overlay.node.uptime-count: 100
|
||||
|
||||
# the initial shape 'alpha' used to calculate uptime SNs reputation
|
||||
# overlay.node.uptime-reputation-alpha0: 2
|
||||
|
Loading…
Reference in New Issue
Block a user