mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-06-11 00:11:41 +00:00
update proto json definition
This commit is contained in:
@ -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": {
|
"nested": {
|
||||||
"NoiseHandshakePayload": {
|
"NoiseHandshakePayload": {
|
||||||
"fields": {
|
"fields": {
|
||||||
"libp2pKey": {
|
"identity_key": {
|
||||||
"type": "bytes",
|
"type": "bytes",
|
||||||
"id": 1
|
"id": 1
|
||||||
},
|
},
|
||||||
"noiseStaticKeySignature": {
|
"identity_sig": {
|
||||||
"type": "bytes",
|
"type": "bytes",
|
||||||
"id": 2
|
"id": 2
|
||||||
},
|
},
|
||||||
"libp2pData": {
|
"data": {
|
||||||
"type": "bytes",
|
"type": "bytes",
|
||||||
"id": 3
|
"id": 3
|
||||||
},
|
|
||||||
"libp2pDataSignature": {
|
|
||||||
"type": "bytes",
|
|
||||||
"id": 4
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user