mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-02-07 06:10:09 +08:00
62b2c6c482
* bring back plaintext 2.0.0 with new constructor * fix deprecation comment * rm unused context argument * only check remote id validity if we actually have keys * bring back msgio & simultaneous read/write
11 lines
203 B
Protocol Buffer
11 lines
203 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
package plaintext.pb;
|
|
|
|
import "github.com/libp2p/go-libp2p-core/crypto/pb/crypto.proto";
|
|
|
|
message Exchange {
|
|
optional bytes id = 1;
|
|
optional crypto.pb.PublicKey pubkey = 2;
|
|
}
|