Logo
Explore Help
Sign In
fluencelabs/rust-libp2p
1
0
Fork 0
You've already forked rust-libp2p
mirror of https://github.com/fluencelabs/rust-libp2p synced 2025-05-14 03:41:20 +00:00
Code Issues Projects Releases Wiki Activity
rust-libp2p/core/src/keys.proto

20 lines
260 B
Protocol Buffer
Raw Normal View History

*: Consolidate protobuf scripts and update to rust-protobuf 2.8.1 (#1275) * *: Consolidate protobuf generation scripts * *: Update to rust-protobuf 2.8.1 * *: Mark protobuf generated modules with '_proto'
2019-10-22 13:39:07 +02:00
syntax = "proto2";
Replace protobuf crate with prost! (#1390) * Replace protobuf crate with prost! * Add copyright headers to build.rs files. * kad: Fix error when mapping connection types. Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com> * Fix more mapping mistakes. Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
2020-01-15 12:02:02 +01:00
package keys_proto;
Fix the public key format in the IdentifyInfo (#264) * Fix the public key format in the IdentifyInfo * Move PublicKey type to core * Oops
2018-06-25 14:54:55 +02:00
enum KeyType {
RSA = 0;
Ed25519 = 1;
Secp256k1 = 2;
}
message PublicKey {
required KeyType Type = 1;
required bytes Data = 2;
}
message PrivateKey {
required KeyType Type = 1;
required bytes Data = 2;
Replace protobuf crate with prost! (#1390) * Replace protobuf crate with prost! * Add copyright headers to build.rs files. * kad: Fix error when mapping connection types. Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com> * Fix more mapping mistakes. Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
2020-01-15 12:02:02 +01:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 49ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API