mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +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
|
||||
message DialRequest {
|
||||
repeated PeerInfo peers = 1;
|
||||
repeated Peer_Info peers = 1;
|
||||
}
|
||||
|
||||
// Dial response
|
||||
message DialResponse {
|
||||
Status status = 1;
|
||||
repeated PeerInfo peers = 2;
|
||||
repeated Peer_Info peers = 2;
|
||||
}
|
||||
|
||||
// Peer information
|
||||
message PeerInfo {
|
||||
message Peer_Info {
|
||||
bytes id = 1;
|
||||
repeated bytes addrs = 2;
|
||||
bool success = 3;
|
||||
|
||||
Reference in New Issue
Block a user