Skip to content

Commit a52b9e9

Browse files
authored
Clarify field names for simplex p2p messages (#4002)
1 parent d46be73 commit a52b9e9

File tree

2 files changed

+85
-84
lines changed

2 files changed

+85
-84
lines changed

proto/p2p/p2p.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,22 +473,22 @@ message Signature {
473473
}
474474

475475
message Vote {
476-
BlockHeader vote = 1;
476+
BlockHeader block_header = 1;
477477
Signature signature = 2;
478478
}
479479

480480
message EmptyVote {
481-
ProtocolMetadata vote = 1;
481+
ProtocolMetadata metadata = 1;
482482
Signature signature = 2;
483483
}
484484

485485
message QuorumCertificate {
486-
BlockHeader finalization = 1;
486+
BlockHeader block_header = 1;
487487
bytes quorum_certificate = 2;
488488
}
489489

490490
message EmptyNotarization {
491-
ProtocolMetadata empty_vote = 1;
491+
ProtocolMetadata metadata = 1;
492492
bytes quorum_certificate = 2;
493493
}
494494

proto/pb/p2p/p2p.pb.go

Lines changed: 81 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)