From 02e5a81cacd33309538fa9ae77f43aaea5c26270 Mon Sep 17 00:00:00 2001 From: stefano galassi Date: Thu, 12 Sep 2019 14:17:17 +0800 Subject: [PATCH 1/2] merged develop --- documentation.swagger.json | 5 +++-- model/block.proto | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/documentation.swagger.json b/documentation.swagger.json index a8d46ad..636ae8e 100644 --- a/documentation.swagger.json +++ b/documentation.swagger.json @@ -565,8 +565,9 @@ "type": "string", "format": "byte" }, - "BlocksmithAddress": { - "type": "string" + "BlocksmithPublicKey": { + "type": "string", + "format": "byte" }, "CumulativeDifficulty": { "type": "string" diff --git a/model/block.proto b/model/block.proto index 583bb7a..b11d76c 100644 --- a/model/block.proto +++ b/model/block.proto @@ -16,7 +16,7 @@ message Block { bytes BlockSignature = 6; string CumulativeDifficulty = 7; int64 SmithScale = 8 [jstype = JS_STRING]; - string BlocksmithAddress = 9; + bytes BlocksmithPublicKey = 9; int64 TotalAmount = 10 [jstype = JS_STRING]; int64 TotalFee = 11 [jstype = JS_STRING]; int64 TotalCoinBase = 12 [jstype = JS_STRING]; From a39ae5f79f6d911514b42667d148c9fef0e26a5d Mon Sep 17 00:00:00 2001 From: stefano galassi Date: Fri, 13 Sep 2019 08:52:26 +0800 Subject: [PATCH 2/2] recompiled schema (updated documentation.swagger.json) --- documentation.swagger.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/documentation.swagger.json b/documentation.swagger.json index f85ba5c..3394b7c 100644 --- a/documentation.swagger.json +++ b/documentation.swagger.json @@ -1510,5 +1510,19 @@ } } } + }, + "x-stream-definitions": { + "modelGetNodeHardwareResponse": { + "properties": { + "error": { + "$ref": "#/definitions/runtimeStreamError" + }, + "result": { + "$ref": "#/definitions/modelGetNodeHardwareResponse" + } + }, + "title": "Stream result of modelGetNodeHardwareResponse", + "type": "object" + } } }