protob: drop CoinType

pull/41/head
Pavol Rusnak 6 years ago
parent 8c61c4c81e
commit 0c9d67954c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -164,7 +164,6 @@ message Features {
optional bool passphrase_protection = 8; // is node/mnemonic encrypted using passphrase?
optional string language = 9; // device language
optional string label = 10; // device description label
repeated CoinType coins = 11; // supported coins
optional bool initialized = 12; // does device contain seed?
optional bytes revision = 13; // SCM revision of firmware
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
}
/**
* 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
* @used_in TxInputType

Loading…
Cancel
Save