1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 09:58:27 +00:00

protob: add show_display to StellarGetPublicKey/StellarGetAddress

This commit is contained in:
Pavol Rusnak 2018-06-11 18:52:42 +02:00
parent 57a31feb2e
commit 0bf60dbda9
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -379,7 +379,7 @@ message PublicKey {
message GetAddress { 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 string coin_name = 2 [default='Bitcoin'];
optional bool show_display = 3 ; // optionally show on display before sending the result 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 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.) optional InputScriptType script_type = 5 [default=SPENDADDRESS]; // used to distinguish between various address formats (non-segwit, segwit, etc.)
} }
@ -1012,7 +1012,8 @@ message CosiSignature {
* @next StellarPublicKey * @next StellarPublicKey
*/ */
message StellarGetPublicKey { message StellarGetPublicKey {
repeated uint32 address_n = 1; // BIP-32 path. For compatibility with other wallets, must be m/44'/148'/index' repeated uint32 address_n = 1; // BIP-32 path. For compatibility with other wallets, must be m/44'/148'/index'
optional bool show_display = 2; // optionally show on display before sending the result
} }
/** /**
@ -1028,7 +1029,8 @@ message StellarPublicKey {
* @next StellarAddress * @next StellarAddress
*/ */
message StellarGetAddress { message StellarGetAddress {
repeated uint32 address_n = 1; // BIP-32 path. For compatibility with other wallets, must be m/44'/148'/index' repeated uint32 address_n = 1; // BIP-32 path. For compatibility with other wallets, must be m/44'/148'/index'
optional bool show_display = 2; // optionally show on display before sending the result
} }
/** /**