storj/satellite/reputation
paul cannon 355ea2133b satellite/audit: remove pieces when audits fail
When pieces fail an audit (hard fail, meaning the node acknowledged it
did not have the piece or the piece was corrupted), we will now remove
those pieces from the segment.

Previously, we did not do this, and some node operators were seeing the
same missing piece audited over and over again and losing reputation
every time.

This change will include both verification and reverification audits. It
will also apply to pieces found to be bad during repair, if
repair-to-reputation reporting is enabled.

Change-Id: I0ca7af7e3fecdc0aebbd34fee4be3a0eab53f4f7
2023-06-22 14:19:00 +00:00
..
audithistory_test.go satellite/reputation: new ApplyUpdates() method 2022-06-07 15:22:25 +00:00
audithistory.go satellite/reputation: new ApplyUpdates() method 2022-06-07 15:22:25 +00:00
benchmark_test.go satellite/reputation: move Config fields into a Config struct 2022-05-24 20:57:51 +00:00
calculations.go all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
config.go satellite/reputation: reconfigure lambda and alpha 2022-08-17 18:52:53 +00:00
db_test.go satellite/reputation: reconfigure lambda and alpha 2022-08-17 18:52:53 +00:00
service_test.go satellite/audit: remove segments loop parts 2023-04-24 15:52:11 +00:00
service.go satellite/reputation: if node is DQd or exited skip applying audit 2023-02-21 18:31:21 +00:00
suspension_test.go satellite/audit: remove pieces when audits fail 2023-06-22 14:19:00 +00:00
writecache_service_test.go satellite/reputation: reconfigure lambda and alpha 2022-08-17 18:52:53 +00:00
writecache_unit_test.go satellite/reputation: offset write times by random, not by satelliteID 2022-08-03 21:14:06 +00:00
writecache.go satellite/reputation: reconfigure lambda and alpha 2022-08-17 18:52:53 +00:00