frostfs-node/cmd/neofs-node
Leonard Lyubich 28fb8c971c [#428] cmd/node: Overload client constructor for Object service
There is a need to track the results of Object interactions with the remote
peers during node's lifetime. Each successful operation should increment the
number of satisfactory interactions with the remote peer, and the failed
ones, on the contrary, decrement. Collected numbers of satisfactory
interactions are going to be used for calculation of the normalized local
trust values according to original EigenTrust algorithm.

Implement wrapper over local trust storage that calls `Update` method on it
with the result of any object operation. The wrapper provides interface of
the remote client constructor. It is used as a `ClientConstructor` component
in Object service server of the app.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-24 10:11:52 +03:00
..
accounting.go [#83] services: Remove setting of meta header from executing services 2020-10-23 10:54:48 +03:00
attributes.go [#362] cmd/node: Use const key to UN/LOCODE attribute from the API lib 2021-02-11 14:01:35 +03:00
cache.go [#441] cmd/neofs-node: Don't update access time in ttlNetCache 2021-03-23 20:19:16 +03:00
config.go [#428] cmd/node: Trigger local trust controller on new epoch 2021-03-24 10:11:52 +03:00
container.go [#428] client: Hide client cache behind interface in dependent packages 2021-03-24 10:11:52 +03:00
control.go [#401] control: Serve DropObjects RPC 2021-02-24 13:07:53 +03:00
grpc.go [#323] cmd/node: Compose functions for closing components in app 2021-01-18 18:53:39 +03:00
main.go [#428] cmd/node: Trigger local trust controller on new epoch 2021-03-24 10:11:52 +03:00
metrics.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
morph.go [#419] cmd/node: Cache network maps read from sidechain 2021-03-04 16:33:29 +03:00
netmap.go [#398] cmd/node: Serve NetmapService.NetworkInfo RPC 2021-02-19 19:16:40 +03:00
object.go [#428] cmd/node: Overload client constructor for Object service 2021-03-24 10:11:52 +03:00
pprof.go [#68] Add go pprof to neofs-storage 2020-10-02 19:47:08 +03:00
reputation.go [#428] cmd/node: Trigger local trust controller on new epoch 2021-03-24 10:11:52 +03:00
session.go [#83] services: Remove setting of meta header from executing services 2020-10-23 10:54:48 +03:00
worker.go [#108] cmd/neofs-node: Listen new epoch notifications from morph 2020-10-21 14:42:51 +03:00