storj/satellite/overlay
Jennifer Johnson 03e5f922c3 satellite/overlay: updates node with a vetted_at timestamp if they meet the vetting criteria
What: As soon as a node passes the vetting criteria (total_audit_count and total_uptime_count
are greater than the configured thresholds), we set vetted_at to the current timestamp.

Why: We may want to use this timestamp in future development to select new vs vetted nodes.
It also allows flexibility in node vetting experiments and allows for better metrics around
vetting times.

Please describe the tests: satellitedb_test: TestUpdateStats and TestBatchUpdateStats make sure vetted_at is set appropriately
Please describe the performance impact: This change does add extra logic to BatchUpdateStats and UpdateStats and
commits another variable to the db (vetted_at), but this should be negligible.

Change-Id: I3de804549b5f1bc359da4935bc859758ceac261d
2020-05-20 16:30:26 -04:00
..
benchmark_test.go satellite/overlay: remove MinimumRequiredNodes 2020-05-07 15:41:23 +00:00
config.go satellite/overlay: Add flag for enabling/disabling disqualification from suspension mode 2020-05-04 17:25:09 +00:00
inspector.go all: fix comments about grpc 2020-05-11 13:05:34 +03:00
nodeselectioncache_test.go satellite/overlay: remove MinimumRequiredNodes 2020-05-07 15:41:23 +00:00
nodeselectioncache.go satellite/overlay: enable node selection cache on all satellites (#3895) 2020-05-19 19:25:53 +02:00
peeridentities_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
peeridentities.go common: separate repository 2019-12-27 14:11:15 +02:00
piececount_test.go satellite/overlay: remove old updateaddress method 2020-04-30 06:41:48 +00:00
selection_test.go satellite/overlay: updates node with a vetted_at timestamp if they meet the vetting criteria 2020-05-20 16:30:26 -04:00
service_test.go satellite/{contact,downtime,overlay}: use NodeURL 2020-05-20 11:09:05 +00:00
service.go satellite/overlay: updates node with a vetted_at timestamp if they meet the vetting criteria 2020-05-20 16:30:26 -04:00
statdb_test.go satellite/overlay: remove old updateaddress method 2020-04-30 06:41:48 +00:00
suspension_test.go satellite/overlay: Add flag for enabling/disabling disqualification from suspension mode 2020-05-04 17:25:09 +00:00