mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +00:00
Refactor: changed PeerInfo to Peer_Info in autonat.proto to avoid conflicts
This commit is contained in:
committed by
Paul Robinson
parent
627c2cfe8e
commit
d55c57769f
@ -32,17 +32,17 @@ message Message {
|
|||||||
|
|
||||||
// Dial request
|
// Dial request
|
||||||
message DialRequest {
|
message DialRequest {
|
||||||
repeated PeerInfo peers = 1;
|
repeated Peer_Info peers = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dial response
|
// Dial response
|
||||||
message DialResponse {
|
message DialResponse {
|
||||||
Status status = 1;
|
Status status = 1;
|
||||||
repeated PeerInfo peers = 2;
|
repeated Peer_Info peers = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Peer information
|
// Peer information
|
||||||
message PeerInfo {
|
message Peer_Info {
|
||||||
bytes id = 1;
|
bytes id = 1;
|
||||||
repeated bytes addrs = 2;
|
repeated bytes addrs = 2;
|
||||||
bool success = 3;
|
bool success = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user