mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-03-22 12:20:07 +08:00
also removes embedded reference to Envelope from the record, as that was confusing. as a result, the CertifiedAddrBook now accepts/returns record.SignedEnvelope instead of a specialized type.
13 lines
204 B
Protocol Buffer
13 lines
204 B
Protocol Buffer
syntax = "proto3";
|
|
package peer.pb;
|
|
|
|
message PeerRecord {
|
|
message AddressInfo {
|
|
bytes multiaddr = 1;
|
|
}
|
|
|
|
bytes peerId = 1;
|
|
uint64 seq = 2;
|
|
repeated AddressInfo addresses = 3;
|
|
}
|