1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

Removed 'version' from HDNodeType

GetPublicKey - removed coin_type
This commit is contained in:
slush0 2014-02-21 22:14:41 +01:00
parent 304de4fc4a
commit 7755fa0a78
2 changed files with 7 additions and 11 deletions

View File

@ -182,7 +182,6 @@ message Entropy {
// Response: PublicKey, Failure
message GetPublicKey {
repeated uint32 address_n = 1;
optional bytes coin_name = 2 [default='Bitcoin'];
}
// Contains public key derived from device's seed.

View File

@ -63,14 +63,13 @@ enum ButtonRequestType {
// Structure of BIP32 (hierarchical deterministic) node
// Used for imports of private key into the device and exporting public key out of device
message HDNodeType {
required uint32 version = 1;
required uint32 depth = 2;
required uint32 fingerprint = 3;
required uint32 child_num = 4;
required bytes chain_code = 5 [(binary) = true];
optional bytes private_key = 6 [(binary) = true];
optional bytes public_key = 7 [(binary) = true];
optional bytes address = 8;
required uint32 depth = 1;
required uint32 fingerprint = 2;
required uint32 child_num = 3;
required bytes chain_code = 4 [(binary) = true];
optional bytes private_key = 5 [(binary) = true];
optional bytes public_key = 6 [(binary) = true];
optional bytes address = 7;
}
message CoinType {
@ -78,8 +77,6 @@ message CoinType {
optional bytes coin_shortcut = 2;
optional uint32 address_type = 3;
optional uint64 maxfee_kb = 4;
optional uint32 ser_private = 5; // bip32 serialization for privkey
optional uint32 ser_public = 6; // bip32 serialization for pubkey
}
message TxInputType {