mirror of https://github.com/status-im/go-waku.git
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;
|
|
} |