-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ccf indicator flag to grpc #1343
Conversation
@@ -105,6 +105,7 @@ message GetEventsForBlockIDsResponse { | |||
repeated entities.Event events = 3; | |||
} | |||
repeated Result results = 1; | |||
bool is_ccf = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it make sense to instead use a more generic: eventEncodingVersion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great suggestion Janez! 👍
It would be helpful if eventEncodingVersion
identifies the combination of encoding format + format version. E.g. if it's an enum then members like:
- JSON_CDC_V0
- ...
- CCF_V0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
@@ -14,7 +14,8 @@ message BlockHeader { | |||
google.protobuf.Timestamp timestamp = 4; | |||
bytes payload_hash = 5; | |||
uint64 view = 6; | |||
repeated bytes parent_voter_ids = 7; // deprecated!! value will be empty. replaced by parent_vote_indices | |||
repeated bytes parent_voter_ids = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is some really weird formatting. Is this ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is auto from make format
, I'll undo this for pragmatism
bors merge |
Creates flag for ccf endcoding
remaining changes are from
make format
fixes #2283