* Rename:
- SendLocalTrust → AnnounceLocalTrust
- SendIntermediateResult → AnnounceIntermediateResult
Those methods don't expect to Send anything, but to further announce
the trust information from the node.
* Change PeerID to explicitly use public key as a node identifier
* Minor comments reformat
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
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 `SendIntermediateResult` RPC to `ReputationService`. Define structures
of request and response messages.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>