mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-09 20:41:20 +00:00
b8d7219d9d
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
25 lines
464 B
Protocol Buffer
25 lines
464 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package lightrpc;
|
|
|
|
import "beacon_block.proto";
|
|
|
|
message GossipRequest {}
|
|
|
|
enum GossipType {
|
|
// Lightclient gossip
|
|
LightClientFinalityUpdateGossipType = 0;
|
|
LightClientOptimisticUpdateGossipType = 1;
|
|
// Legacy gossip
|
|
BeaconBlockGossipType = 2;
|
|
}
|
|
|
|
message GossipData {
|
|
bytes data = 1; // SSZ encoded data
|
|
GossipType type = 2;
|
|
}
|
|
|
|
service Sentinel {
|
|
rpc SubscribeGossip(GossipRequest) returns (stream GossipData);
|
|
}
|