mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-15 08:14:33 +00:00
18 lines
306 B
Protocol Buffer
18 lines
306 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
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;
|
||
|
}
|