mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-22 20:42:03 +00:00
Added xpub_magic and xprv_magic to CoinType structure and coin_name to GetPublicKey message structure (#26)
This commit is contained in:
parent
a08782bd8c
commit
dd1f7a2b0b
@ -271,6 +271,7 @@ message GetPublicKey {
|
|||||||
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
repeated uint32 address_n = 1; // BIP-32 path to derive the key from master node
|
||||||
optional string ecdsa_curve_name = 2; // ECDSA curve name to use
|
optional string ecdsa_curve_name = 2; // ECDSA curve name to use
|
||||||
optional bool show_display = 3; // optionally show on display before sending the result
|
optional bool show_display = 3; // optionally show on display before sending the result
|
||||||
|
optional string coin_name = 4 [default='Bitcoin'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -166,6 +166,8 @@ message CoinType {
|
|||||||
optional uint32 address_type_p2wpkh = 6 [default=6];
|
optional uint32 address_type_p2wpkh = 6 [default=6];
|
||||||
optional uint32 address_type_p2wsh = 7 [default=10];
|
optional uint32 address_type_p2wsh = 7 [default=10];
|
||||||
optional string signed_message_header = 8;
|
optional string signed_message_header = 8;
|
||||||
|
optional uint32 xpub_magic = 9 [default=0x0488b21e];
|
||||||
|
optional uint32 xprv_magic = 10 [default=0x0488ade4];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user