mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-05 13:26:57 +00:00
add ApplySettings.passphrase_source
This commit is contained in:
parent
7e61f37038
commit
998eb4c7a7
@ -173,6 +173,7 @@ message ApplySettings {
|
|||||||
optional string label = 2;
|
optional string label = 2;
|
||||||
optional bool use_passphrase = 3;
|
optional bool use_passphrase = 3;
|
||||||
optional bytes homescreen = 4;
|
optional bytes homescreen = 4;
|
||||||
|
optional PassphraseSourceType passphrase_source = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -283,6 +283,16 @@ message IdentityType {
|
|||||||
optional uint32 index = 6 [default=0]; // identity index
|
optional uint32 index = 6 [default=0]; // identity index
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Structure representing passphrase source
|
||||||
|
* @used_in ApplySettings
|
||||||
|
*/
|
||||||
|
enum PassphraseSourceType {
|
||||||
|
ASK = 0;
|
||||||
|
DEVICE = 1;
|
||||||
|
HOST = 2;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Structure representing the common part for NEM transactions
|
* Structure representing the common part for NEM transactions
|
||||||
* @used_in NEMSignTx
|
* @used_in NEMSignTx
|
||||||
|
Loading…
Reference in New Issue
Block a user