Commit graph

4 commits

Author SHA1 Message Date
Pavel Karpy
b50b951dd0 [#149] reputation: Change SendIntermediateResultRequest.Body
Add `epoch` field to the `SendIntermediateResultRequest.Body`
message.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
028f9e8c1a [#143] reputation: Change SendIntermediateResultRequest.Body.trust type
Change `trust` field type of `SendIntermediateResultRequest.Body` message to
`PeerToPeerTrust` since `SendIntermediateResult` call transfers the node's
directed trust to the node.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
f4974b0e44 [#143] reputation: Add SendIntermediateResult RPC
Add `SendIntermediateResult` RPC to `ReputationService`. Define structures
of request and response messages.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
b334bada34 [#143] Add proto definitions of Reputation service
Define `Trust` message structure. Define `ReputationService` service. Add
`SendLocalTrust` RPC to `ReputationService`. Define structures of request
and response messages.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00