mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Update Makefile to handle the import in `plaintext.proto`.
Import path is modified to be relative to the project root.
And we run `protoc` from where `Makefile` locates, i.e. the project
root.
Reference:
- plaintext.proto: 62b2c6c482/sec/insecure/pb/plaintext.proto
11 lines
177 B
Protocol Buffer
11 lines
177 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
package plaintext.pb;
|
|
|
|
import "libp2p/crypto/pb/crypto.proto";
|
|
|
|
message Exchange {
|
|
optional bytes id = 1;
|
|
optional crypto.pb.PublicKey pubkey = 2;
|
|
}
|