From 0c9d67954c871553a7d44575a7a9198cba83df88 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 24 May 2018 13:49:54 +0200 Subject: [PATCH] protob: drop CoinType --- protob/messages.proto | 1 - protob/types.proto | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/protob/messages.proto b/protob/messages.proto index 04e869fda..62d8300fc 100644 --- a/protob/messages.proto +++ b/protob/messages.proto @@ -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 diff --git a/protob/types.proto b/protob/types.proto index 3f9c2201a..2f408bfaa 100644 --- a/protob/types.proto +++ b/protob/types.proto @@ -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