From b50b951dd0e376e34ec9ed20c0741812a07fc18f Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Wed, 21 Apr 2021 18:57:30 +0300 Subject: [PATCH] [#149] reputation: Change SendIntermediateResultRequest.Body Add `epoch` field to the `SendIntermediateResultRequest.Body` message. Signed-off-by: Pavel Karpy --- reputation/service.proto | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reputation/service.proto b/reputation/service.proto index 563ed39..7c52716 100644 --- a/reputation/service.proto +++ b/reputation/service.proto @@ -68,11 +68,14 @@ message SendLocalTrustResponse { message SendIntermediateResultRequest { // Request body structure. message Body { + // The number of the epoch in which the iteration was executed. + uint64 epoch = 1; + // Sequence number of the iteration. - uint32 iteration = 1; + uint32 iteration = 2; // Current global trust value computed at the specified iteration. - PeerToPeerTrust trust = 2; + PeerToPeerTrust trust = 3; } // Body of the request message.