storj/satellite/audit
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
..
chore.go satellite: add control panel 2020-01-30 08:06:43 -05:00
containment_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
containment.go common: separate repository 2019-12-27 14:11:15 +02:00
cryptosource.go satellite/audit: worker now verifies and reverifies (#2965) 2019-09-11 18:37:01 -04:00
disqualification_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
integration_test.go common: separate repository 2019-12-27 14:11:15 +02:00
pathcollector_test.go satellite/metainfo: move RS configuration to satellite 2020-01-22 09:33:53 +00:00
pathcollector.go common: separate repository 2019-12-27 14:11:15 +02:00
queue_test.go common: separate repository 2019-12-27 14:11:15 +02:00
queue.go common: separate repository 2019-12-27 14:11:15 +02:00
reporter_test.go satellite/satellitedb/overlaycache: fix behavior around gracefully exited nodes 2020-04-28 23:58:43 +00:00
reporter.go satellite/audit: clean up logging (#3832) 2020-03-30 12:09:50 -06:00
reservoir.go common: separate repository 2019-12-27 14:11:15 +02:00
reverify_test.go private/testplanet: add StopNodeAndUpdate 2020-05-08 13:02:19 +00:00
verifier_test.go private/testplanet: add StopNodeAndUpdate 2020-05-08 13:02:19 +00:00
verifier_unit_test.go common: separate repository 2019-12-27 14:11:15 +02:00
verifier.go all: use DialNodeURL throughout the codebase 2020-05-20 10:36:30 +00:00
worker.go satellite/audit: increases audit worker concurrency to 2 2020-05-05 11:31:55 +00:00