update proto json definition

This commit is contained in:
Marin Petrunić
2020-02-06 09:53:50 +01:00
parent e97453490c
commit 6fa34d43f8
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": { "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
} }
} }
} }