storj/satellite/reputation
paul cannon 951a842fd4 satellite/{reputation,satellitedb}: move addAudit
This functionality will be needed in both packages, so here we move it
into the more general reputation-code package and export it for use in
satellitedb.

This also removes the related UpdateAuditHistory() signature from the
reputation DB interface, since it doesn't have anything to do with the
db. It doesn't need to be a method, either.

Finally, this changes the test for addAudit to be a plain test function
instead of using testplanet.Run(). It didn't need a whole testplanet
setup or any databases.

Refs: https://github.com/storj/storj/issues/4601

Change-Id: I90f6a909e5404f03ad776b95cfa2f248308c57c1
2022-05-20 15:37:31 +00:00
..
audithistory_test.go satellite/{reputation,satellitedb}: move addAudit 2022-05-20 15:37:31 +00:00
audithistory.go satellite/{reputation,satellitedb}: move addAudit 2022-05-20 15:37:31 +00:00
benchmark_test.go satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
config.go satellite/{repair,audit}: simplify reputation reporter 2022-05-10 14:04:43 +00:00
db_test.go satellite/satellitedb: add reputations.disqualification_reason 2022-05-17 10:09:36 -05:00
service_test.go satellite/reputation: add disqualification reason for status update 2022-04-20 13:29:10 +00:00
service.go satellite/{reputation,satellitedb}: move addAudit 2022-05-20 15:37:31 +00:00
suspension_test.go satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00