mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
don't use serialized hdnode
This commit is contained in:
parent
2c621ca20f
commit
8180263d75
@ -331,7 +331,7 @@ message DebugLinkState {
|
|||||||
optional bytes matrix = 3; // Current PIN matrix
|
optional bytes matrix = 3; // Current PIN matrix
|
||||||
optional bytes mnemonic = 4; // current mnemonic format
|
optional bytes mnemonic = 4; // current mnemonic format
|
||||||
optional HDNodeType node = 5; // current node (BIP32 format)
|
optional HDNodeType node = 5; // current node (BIP32 format)
|
||||||
// optional bytes state = 6 [(binary) = true];
|
optional bool passphrase_protection = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ask device to shutdown/restart
|
// Ask device to shutdown/restart
|
||||||
|
@ -10,7 +10,7 @@ import "types.proto";
|
|||||||
|
|
||||||
message Storage {
|
message Storage {
|
||||||
required uint32 version = 1;
|
required uint32 version = 1;
|
||||||
optional bytes node_serialized = 2 [(binary) = true];
|
optional HDNodeType node = 2;
|
||||||
optional bytes mnemonic = 3 [(binary) = true];
|
optional bytes mnemonic = 3 [(binary) = true];
|
||||||
optional bool passphrase_protection = 4; // whether node_serialized or mnemonic are encrypted (protected by passphrase)
|
optional bool passphrase_protection = 4; // whether node_serialized or mnemonic are encrypted (protected by passphrase)
|
||||||
optional uint32 pin_failed_attempts = 5;
|
optional uint32 pin_failed_attempts = 5;
|
||||||
|
Loading…
Reference in New Issue
Block a user