You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/protob/storage.proto

27 lines
667 B

/*
Structure of Storage area of TREZOR
Author: Marek Palatinus <slush@satoshilabs.com>
Version: 0.1
*/
import "types.proto";
message Storage {
required uint32 version = 1;
optional bytes node_serialized = 2 [(binary) = true];
optional bytes mnemonic = 3 [(binary) = true];
optional bool encrypted = 4; // whether node_serialized or mnemonic are encrypted (protected by passphrase)
optional uint32 pin_failed_attempts = 5;
optional bytes pin = 6;
optional bytes language = 7;
optional bytes label = 8 [(binary) = true];
}
message Session {
optional bytes passphrase = 1 [(binary) = true];
optional CoinType coin = 2;
optional HDNodeType node = 3;
}