go-libp2p-core/sec/insecure/pb/plaintext.proto
Yusef Napora 62b2c6c482
bring back plaintext 2.0.0 with new constructor (#42)
* 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
2019-07-30 16:46:24 -04:00

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;
}