From 00900951e072aaa2d7c48da807bb0032b6b898c1 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 24 Jul 2017 16:05:13 +0200 Subject: [PATCH] add SignMessage.script_type --- protob/messages.proto | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/protob/messages.proto b/protob/messages.proto index 2a2c071c8..cab381484 100644 --- a/protob/messages.proto +++ b/protob/messages.proto @@ -304,11 +304,11 @@ message PublicKey { * @next Failure */ message GetAddress { - repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node + repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node optional string coin_name = 2 [default='Bitcoin']; - optional bool show_display = 3; // optionally show on display before sending the result - optional MultisigRedeemScriptType multisig = 4; // Filled if we are showing a multisig address - optional InputScriptType script_type = 5 [default=SPENDADDRESS]; // Used to distinguish segwit addresses + optional bool show_display = 3 ; // optionally show on display before sending the result + optional MultisigRedeemScriptType multisig = 4; // filled if we are showing a multisig address + optional InputScriptType script_type = 5 [default=SPENDADDRESS]; // used to distinguish between various address formats (non-segwit, segwit, etc.) } /** @@ -451,9 +451,10 @@ message WordAck { * @next Failure */ message SignMessage { - repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node - required bytes message = 2; // message to be signed - optional string coin_name = 3 [default='Bitcoin']; // coin to use for signing + repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node + required bytes message = 2; // message to be signed + optional string coin_name = 3 [default='Bitcoin']; // coin to use for signing + optional InputScriptType script_type = 4 [default=SPENDADDRESS]; // used to distinguish between various address formats (non-segwit, segwit, etc.) } /**