mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-16 17:42:02 +00:00
feat(common): add more required fields
This commit is contained in:
parent
185c2ac17d
commit
396de3f05e
@ -156,5 +156,5 @@ message HDNodeType {
|
|||||||
required uint32 child_num = 3;
|
required uint32 child_num = 3;
|
||||||
required bytes chain_code = 4;
|
required bytes chain_code = 4;
|
||||||
optional bytes private_key = 5;
|
optional bytes private_key = 5;
|
||||||
optional bytes public_key = 6;
|
required bytes public_key = 6;
|
||||||
}
|
}
|
||||||
|
@ -301,7 +301,7 @@ message RecoveryDevice {
|
|||||||
optional uint32 word_count = 1; // number of words in BIP-39 mnemonic
|
optional uint32 word_count = 1; // number of words in BIP-39 mnemonic
|
||||||
optional bool passphrase_protection = 2; // enable master node encryption using passphrase
|
optional bool passphrase_protection = 2; // enable master node encryption using passphrase
|
||||||
optional bool pin_protection = 3; // enable PIN protection
|
optional bool pin_protection = 3; // enable PIN protection
|
||||||
optional string language = 4 [default='en-US']; // device language (IETF BCP 47 language tag)
|
optional string language = 4; // device language (IETF BCP 47 language tag)
|
||||||
optional string label = 5; // device label
|
optional string label = 5; // device label
|
||||||
optional bool enforce_wordlist = 6; // enforce BIP-39 wordlist during the process
|
optional bool enforce_wordlist = 6; // enforce BIP-39 wordlist during the process
|
||||||
// 7 reserved for unused recovery method
|
// 7 reserved for unused recovery method
|
||||||
|
Loading…
Reference in New Issue
Block a user