github.com/keltia/go-ipfs@v0.3.8-0.20150909044612-210793031c63/p2p/protocol/identify/pb/identify.proto (about)

     1  package identify.pb;
     2  
     3  message Identify {
     4  
     5    // protocolVersion determines compatibility between peers
     6    optional string protocolVersion = 5; // e.g. ipfs/1.0.0
     7  
     8    // agentVersion is like a UserAgent string in browsers, or client version in bittorrent
     9    // includes the client name and client.
    10    optional string agentVersion = 6; // e.g. go-ipfs/0.1.0
    11  
    12    // publicKey is this node's public key (which also gives its node.ID)
    13    // - may not need to be sent, as secure channel implies it has been sent.
    14    // - then again, if we change / disable secure channel, may still want it.
    15    optional bytes publicKey = 1;
    16  
    17    // listenAddrs are the multiaddrs the sender node listens for open connections on
    18    repeated bytes listenAddrs = 2;
    19  
    20    // oservedAddr is the multiaddr of the remote endpoint that the sender node perceives
    21    // this is useful information to convey to the other side, as it helps the remote endpoint
    22    // determine whether its connection to the local peer goes through NAT.
    23    optional bytes observedAddr = 4;
    24  
    25    // protocols are the services this node is running
    26    repeated string protocols = 3;
    27  }