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>
Add `version` field as a first field of `GlobalTrust` message. This field
will allow you to quickly extract the version of the message from the binary
representation.
Additionally fix `signature` field's package format.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Add `SendIntermediateResult` RPC to `ReputationService`. Define structures
of request and response messages.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>