1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-13 11:29:11 +00:00
trezor-firmware/protob/storage.proto

25 lines
652 B
Protocol Buffer
Raw Normal View History

2013-11-22 16:27:47 +00:00
/*
Structure of Storage area of TREZOR
Author: Marek Palatinus <slush@satoshilabs.com>
Version: 0.1
*/
// Some sugar for easier handling in Multibit
option java_package = "org.multibit.hd.hardware.trezor.protobuf";
option java_outer_classname = "TrezorStorage";
import "types.proto";
2013-11-22 16:27:47 +00:00
message Storage {
required uint32 version = 1;
2013-11-28 01:18:32 +00:00
optional HDNodeType node = 2;
2014-03-01 10:17:06 +00:00
optional string mnemonic = 3;
2013-11-28 00:05:50 +00:00
optional bool passphrase_protection = 4; // whether node_serialized or mnemonic are encrypted (protected by passphrase)
2013-11-26 15:10:55 +00:00
optional uint32 pin_failed_attempts = 5;
2014-03-01 10:17:06 +00:00
optional string pin = 6;
optional string language = 7;
optional string label = 8;
}