1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00
trezor-firmware/protob/storage.proto
2014-03-01 11:17:06 +01:00

25 lines
652 B
Protocol Buffer

/*
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";
message Storage {
required uint32 version = 1;
optional HDNodeType node = 2;
optional string mnemonic = 3;
optional bool passphrase_protection = 4; // whether node_serialized or mnemonic are encrypted (protected by passphrase)
optional uint32 pin_failed_attempts = 5;
optional string pin = 6;
optional string language = 7;
optional string label = 8;
}