Skip to content

Commit b95adc8

Browse files
committed
Introduce two new message for gossip proto
To be able to run state transfer across the gossiping peer two message type has been added into gossip protos. Change-Id: Iae4b155115a07175b098aab9f9fe5df470a2fc3a Signed-off-by: Artem Barger <[email protected]>
1 parent 3b6c70d commit b95adc8

File tree

2 files changed

+174
-67
lines changed

2 files changed

+174
-67
lines changed

gossip/proto/message.pb.go

+162-66
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gossip/proto/message.proto

+12-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ message GossipMessage {
3838

3939
// ConnEstablish, used for establishing a connection
4040
ConnEstablish conn = 12;
41+
42+
RemoteStateRequest stateRequest = 14;
43+
RemoteStateResponse stateResponse = 15;
4144
}
4245
}
4346

@@ -118,4 +121,12 @@ message Member {
118121
bytes pkiID = 3;
119122
}
120123

121-
message Empty {}
124+
message RemoteStateRequest {
125+
repeated uint64 seqNums = 1;
126+
}
127+
128+
message RemoteStateResponse {
129+
repeated Payload payloads = 1;
130+
}
131+
132+
message Empty {}

0 commit comments

Comments
 (0)