mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-10 05:51:31 +00:00
update proto json definition
This commit is contained in:
parent
e97453490c
commit
6fa34d43f8
@ -1,8 +0,0 @@
|
||||
syntax = "proto3";
|
||||
package pb;
|
||||
|
||||
message NoiseHandshakePayload {
|
||||
bytes identity_key = 1;
|
||||
bytes identity_sig = 2;
|
||||
bytes data = 3;
|
||||
}
|
@ -2,21 +2,17 @@
|
||||
"nested": {
|
||||
"NoiseHandshakePayload": {
|
||||
"fields": {
|
||||
"libp2pKey": {
|
||||
"identity_key": {
|
||||
"type": "bytes",
|
||||
"id": 1
|
||||
},
|
||||
"noiseStaticKeySignature": {
|
||||
"identity_sig": {
|
||||
"type": "bytes",
|
||||
"id": 2
|
||||
},
|
||||
"libp2pData": {
|
||||
"data": {
|
||||
"type": "bytes",
|
||||
"id": 3
|
||||
},
|
||||
"libp2pDataSignature": {
|
||||
"type": "bytes",
|
||||
"id": 4
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user