storj/satellite/reputation
paul cannon 737d7c7dfc satellite/reputation: new ApplyUpdates() method
The ApplyUpdates() method on the reputation.DB interface acts like the
similar Update() method, but can allow for applying the changes from
multiple audit events, instead of only one.

This will be necessary for the reputation write cache, which will batch
up changes to each node's reputation in order to flush them
periodically.

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

Change-Id: I44cc47767ea2d9423166bb8fed080c8a11182041
2022-06-07 15:22:25 +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 satellite/reputation: new ApplyUpdates() method 2022-06-07 15:22:25 +00:00
config.go satellite/reputation: move Config fields into a Config struct 2022-05-24 20:57:51 +00:00
db_test.go satellite/reputation: new ApplyUpdates() method 2022-06-07 15:22:25 +00:00
service_test.go satellite/reputation: new ApplyUpdates() method 2022-06-07 15:22:25 +00:00
service.go satellite/reputation: new ApplyUpdates() method 2022-06-07 15:22:25 +00:00
suspension_test.go satellite/reputation: move Config fields into a Config struct 2022-05-24 20:57:51 +00:00