mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-15 09:50:57 +00:00
protob: drop CoinType
This commit is contained in:
parent
8c61c4c81e
commit
0c9d67954c
@ -164,7 +164,6 @@ message Features {
|
|||||||
optional bool passphrase_protection = 8; // is node/mnemonic encrypted using passphrase?
|
optional bool passphrase_protection = 8; // is node/mnemonic encrypted using passphrase?
|
||||||
optional string language = 9; // device language
|
optional string language = 9; // device language
|
||||||
optional string label = 10; // device description label
|
optional string label = 10; // device description label
|
||||||
repeated CoinType coins = 11; // supported coins
|
|
||||||
optional bool initialized = 12; // does device contain seed?
|
optional bool initialized = 12; // does device contain seed?
|
||||||
optional bytes revision = 13; // SCM revision of firmware
|
optional bytes revision = 13; // SCM revision of firmware
|
||||||
optional bytes bootloader_hash = 14; // hash of the bootloader
|
optional bytes bootloader_hash = 14; // hash of the bootloader
|
||||||
|
@ -161,24 +161,6 @@ message HDNodePathType {
|
|||||||
repeated uint32 address_n = 2; // BIP-32 path to derive the key from node
|
repeated uint32 address_n = 2; // BIP-32 path to derive the key from node
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Structure representing Coin
|
|
||||||
* @used_in Features
|
|
||||||
*/
|
|
||||||
message CoinType {
|
|
||||||
optional string coin_name = 1;
|
|
||||||
optional string coin_shortcut = 2;
|
|
||||||
optional uint32 address_type = 3 [default=0];
|
|
||||||
optional uint64 maxfee_kb = 4;
|
|
||||||
optional uint32 address_type_p2sh = 5 [default=5];
|
|
||||||
optional string signed_message_header = 8;
|
|
||||||
optional uint32 xpub_magic = 9 [default=76067358]; // default=0x0488b21e
|
|
||||||
optional uint32 xprv_magic = 10 [default=76066276]; // default=0x0488ade4
|
|
||||||
optional bool segwit = 11;
|
|
||||||
optional uint32 forkid = 12;
|
|
||||||
optional bool force_bip143 = 13;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type of redeem script used in input
|
* Type of redeem script used in input
|
||||||
* @used_in TxInputType
|
* @used_in TxInputType
|
||||||
|
Loading…
Reference in New Issue
Block a user