mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-04 06:53:06 +00:00
20 lines
319 B
Protocol Buffer
20 lines
319 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package pb;
|
|
|
|
message PeerInfo {
|
|
bytes ENR = 1;
|
|
}
|
|
|
|
message PeerExchangeQuery {
|
|
uint64 numPeers = 1; // number of peers requested
|
|
}
|
|
|
|
message PeerExchangeResponse {
|
|
repeated PeerInfo peerInfos = 1;
|
|
}
|
|
|
|
message PeerExchangeRPC {
|
|
PeerExchangeQuery query = 1;
|
|
PeerExchangeResponse response = 2;
|
|
} |