From a01a9cef9e8690e998839be719880925c5991231 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 26 Jul 2018 17:04:03 +0200 Subject: [PATCH] protob: add GetPublicKey.script_type --- protob/messages-bitcoin.proto | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/protob/messages-bitcoin.proto b/protob/messages-bitcoin.proto index 86111bdfe..cd1d73062 100644 --- a/protob/messages-bitcoin.proto +++ b/protob/messages-bitcoin.proto @@ -41,10 +41,11 @@ message MultisigRedeemScriptType { * @next Failure */ message GetPublicKey { - repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node - optional string ecdsa_curve_name = 2; // ECDSA curve name to use - optional bool show_display = 3; // optionally show on display before sending the result - optional string coin_name = 4 [default='Bitcoin']; // coin to use for verifying + repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node + optional string ecdsa_curve_name = 2; // ECDSA curve name to use + optional bool show_display = 3; // optionally show on display before sending the result + optional string coin_name = 4 [default='Bitcoin']; // coin to use for verifying + optional InputScriptType script_type = 5 [default=SPENDADDRESS]; // used to distinguish between various address formats (non-segwit, segwit, etc.) } /**