Skip to content
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

GossipType -> String #202

Merged
merged 4 commits into from
Dec 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions p2psentinel/sentinel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,14 @@ import "types/types.proto";

message EmptyMessage {}

enum GossipType {
// Global gossip topics.
BeaconBlockGossipType = 0;
AggregateAndProofGossipType = 1;
VoluntaryExitGossipType = 2;
ProposerSlashingGossipType = 3;
AttesterSlashingGossipType = 4;
BlobSidecarType = 5;
BlsToExecutionChangeGossipType = 6;
}

message Peer {
string pid = 1;
}

message GossipData {
bytes data = 1; // SSZ encoded data
GossipType type = 2;
string name = 2;
optional Peer peer = 3;
optional uint32 blob_index = 4; // Blob identifier for EIP4844
}

message Status {
Expand Down
Loading