cosmetic changes

pull/41/head
Pavol Rusnak 10 years ago
parent bfcc001fd2
commit df45b3cf06

@ -6,24 +6,24 @@
import "google/protobuf/descriptor.proto";
message DeviceDescriptor {
optional uint32 vendor_id = 1;
optional uint32 product_id = 2;
optional bytes serial_number = 3;
optional bytes path = 4;
optional uint32 vendor_id = 1;
optional uint32 product_id = 2;
optional bytes serial_number = 3;
optional bytes path = 4;
}
message Configuration {
// regexes of allowed/forbidden urls
repeated bytes whitelist_urls = 1;
repeated bytes blacklist_urls = 2;
// regexes of allowed/forbidden urls
repeated bytes whitelist_urls = 1;
repeated bytes blacklist_urls = 2;
// compiled specification of the wire protocol, serialized
// FileDescriptorSet can be generated with `protoc -o`
required google.protobuf.FileDescriptorSet wire_protocol = 3;
// compiled specification of the wire protocol, serialized
// FileDescriptorSet can be generated with `protoc -o`
required google.protobuf.FileDescriptorSet wire_protocol = 3;
// descriptors of allowed devices
repeated DeviceDescriptor known_devices = 4;
// descriptors of allowed devices
repeated DeviceDescriptor known_devices = 4;
// timestamp of expiration
optional int32 valid_until = 5;
// timestamp of expiration
optional uint32 valid_until = 5;
}

@ -80,7 +80,7 @@ message Features {
optional string vendor = 1; // Name of the manufacturer, e.g. "bitcointrezor.com"
optional uint32 major_version = 2; // Major version of the device, e.g. 1
optional uint32 minor_version = 3; // Minor version of the device, e.g. 0
optional uint32 bugfix_version = 4;
optional uint32 patch_version = 4; // Patch version of the device, e.g. 0
optional bool bootloader_mode = 5;
optional string device_id = 6; // Device's unique identifier
optional bool pin_protection = 7; // True if Trezor is covered by PIN

Loading…
Cancel
Save