update proto json definition

This commit is contained in:
Marin Petrunić 2020-02-06 09:53:50 +01:00
parent e97453490c
commit 6fa34d43f8
No known key found for this signature in database
GPG Key ID: 834D07135E110DA5
2 changed files with 3 additions and 15 deletions

View File

@ -1,8 +0,0 @@
syntax = "proto3";
package pb;
message NoiseHandshakePayload {
bytes identity_key = 1;
bytes identity_sig = 2;
bytes data = 3;
}

View File

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