Skip to content

Commit

Permalink
GossipType -> String (#202)
Browse files Browse the repository at this point in the history
* save

* change to name

* delete vlov index

---------

Co-authored-by: a <a@tuxpa.in>
  • Loading branch information
Giulio2002 and elee1766 authored Dec 30, 2023
1 parent d7f393a commit d3bfc9c
Showing 1 changed file with 1 addition and 13 deletions.
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

0 comments on commit d3bfc9c

Please sign in to comment.