mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Add core handler for identify protocol
This commit is contained in:
12
libp2p/identity/identify/pb/identify.proto
Normal file
12
libp2p/identity/identify/pb/identify.proto
Normal file
@ -0,0 +1,12 @@
|
||||
syntax = "proto2";
|
||||
|
||||
package identify.pb;
|
||||
|
||||
message Identify {
|
||||
optional string protocol_version = 5;
|
||||
optional string agent_version = 6;
|
||||
optional bytes public_key = 1;
|
||||
repeated bytes listen_addrs = 2;
|
||||
optional bytes observed_addr = 4;
|
||||
repeated string protocols = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user