mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
Removed 'version' from HDNodeType
GetPublicKey - removed coin_type
This commit is contained in:
parent
304de4fc4a
commit
7755fa0a78
@ -182,7 +182,6 @@ message Entropy {
|
|||||||
// Response: PublicKey, Failure
|
// Response: PublicKey, Failure
|
||||||
message GetPublicKey {
|
message GetPublicKey {
|
||||||
repeated uint32 address_n = 1;
|
repeated uint32 address_n = 1;
|
||||||
optional bytes coin_name = 2 [default='Bitcoin'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Contains public key derived from device's seed.
|
// Contains public key derived from device's seed.
|
||||||
|
@ -63,14 +63,13 @@ enum ButtonRequestType {
|
|||||||
// Structure of BIP32 (hierarchical deterministic) node
|
// Structure of BIP32 (hierarchical deterministic) node
|
||||||
// Used for imports of private key into the device and exporting public key out of device
|
// Used for imports of private key into the device and exporting public key out of device
|
||||||
message HDNodeType {
|
message HDNodeType {
|
||||||
required uint32 version = 1;
|
required uint32 depth = 1;
|
||||||
required uint32 depth = 2;
|
required uint32 fingerprint = 2;
|
||||||
required uint32 fingerprint = 3;
|
required uint32 child_num = 3;
|
||||||
required uint32 child_num = 4;
|
required bytes chain_code = 4 [(binary) = true];
|
||||||
required bytes chain_code = 5 [(binary) = true];
|
optional bytes private_key = 5 [(binary) = true];
|
||||||
optional bytes private_key = 6 [(binary) = true];
|
optional bytes public_key = 6 [(binary) = true];
|
||||||
optional bytes public_key = 7 [(binary) = true];
|
optional bytes address = 7;
|
||||||
optional bytes address = 8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message CoinType {
|
message CoinType {
|
||||||
@ -78,8 +77,6 @@ message CoinType {
|
|||||||
optional bytes coin_shortcut = 2;
|
optional bytes coin_shortcut = 2;
|
||||||
optional uint32 address_type = 3;
|
optional uint32 address_type = 3;
|
||||||
optional uint64 maxfee_kb = 4;
|
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 {
|
message TxInputType {
|
||||||
|
Loading…
Reference in New Issue
Block a user