mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
such happy doge
This commit is contained in:
parent
92cfcd1565
commit
43ff5baeab
@ -25,6 +25,7 @@ const CoinType coins[COINS_COUNT] = {
|
|||||||
{true, "Testnet", true, "TEST", true, 111, true, 10000000},
|
{true, "Testnet", true, "TEST", true, 111, true, 10000000},
|
||||||
{true, "Namecoin", true, "NMC", true, 52, true, 10000000},
|
{true, "Namecoin", true, "NMC", true, 52, true, 10000000},
|
||||||
{true, "Litecoin", true, "LTC", true, 48, true, 10000000},
|
{true, "Litecoin", true, "LTC", true, 48, true, 10000000},
|
||||||
|
{true, "Dogecoin", true, "DOGE", true, 30, true, 100000000},
|
||||||
};
|
};
|
||||||
|
|
||||||
const CoinType *coinByShortcut(const char *shortcut)
|
const CoinType *coinByShortcut(const char *shortcut)
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "types.pb.h"
|
#include "types.pb.h"
|
||||||
|
|
||||||
#define COINS_COUNT 4
|
#define COINS_COUNT 5
|
||||||
|
|
||||||
extern const CoinType coins[COINS_COUNT];
|
extern const CoinType coins[COINS_COUNT];
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ Features.vendor max_size:33
|
|||||||
Features.device_id max_size:25
|
Features.device_id max_size:25
|
||||||
Features.language max_size:17
|
Features.language max_size:17
|
||||||
Features.label max_size:33
|
Features.label max_size:33
|
||||||
Features.coins max_count:4
|
Features.coins max_count:5
|
||||||
Features.revision max_size:20
|
Features.revision max_size:20
|
||||||
Features.bootloader_hash max_size:32
|
Features.bootloader_hash max_size:32
|
||||||
|
|
||||||
|
@ -312,7 +312,7 @@ typedef struct _Features {
|
|||||||
bool has_label;
|
bool has_label;
|
||||||
char label[33];
|
char label[33];
|
||||||
pb_size_t coins_count;
|
pb_size_t coins_count;
|
||||||
CoinType coins[4];
|
CoinType coins[5];
|
||||||
bool has_initialized;
|
bool has_initialized;
|
||||||
bool initialized;
|
bool initialized;
|
||||||
bool has_revision;
|
bool has_revision;
|
||||||
@ -518,7 +518,7 @@ extern const char SimpleSignTx_coin_name_default[17];
|
|||||||
|
|
||||||
/* Initializer values for message structs */
|
/* Initializer values for message structs */
|
||||||
#define Initialize_init_default {0}
|
#define Initialize_init_default {0}
|
||||||
#define Features_init_default {false, "", false, 0, false, 0, false, 0, false, 0, false, "", false, 0, false, 0, false, "", false, "", 0, {CoinType_init_default, CoinType_init_default, CoinType_init_default, CoinType_init_default}, false, 0, false, {0, {0}}, false, {0, {0}}, false, 0}
|
#define Features_init_default {false, "", false, 0, false, 0, false, 0, false, 0, false, "", false, 0, false, 0, false, "", false, "", 0, {CoinType_init_default, CoinType_init_default, CoinType_init_default, CoinType_init_default, CoinType_init_default}, false, 0, false, {0, {0}}, false, {0, {0}}, false, 0}
|
||||||
#define ClearSession_init_default {0}
|
#define ClearSession_init_default {0}
|
||||||
#define ApplySettings_init_default {false, "", false, ""}
|
#define ApplySettings_init_default {false, "", false, ""}
|
||||||
#define ChangePin_init_default {false, 0}
|
#define ChangePin_init_default {false, 0}
|
||||||
@ -569,7 +569,7 @@ extern const char SimpleSignTx_coin_name_default[17];
|
|||||||
#define DebugLinkStop_init_default {0}
|
#define DebugLinkStop_init_default {0}
|
||||||
#define DebugLinkLog_init_default {false, 0, false, "", false, ""}
|
#define DebugLinkLog_init_default {false, 0, false, "", false, ""}
|
||||||
#define Initialize_init_zero {0}
|
#define Initialize_init_zero {0}
|
||||||
#define Features_init_zero {false, "", false, 0, false, 0, false, 0, false, 0, false, "", false, 0, false, 0, false, "", false, "", 0, {CoinType_init_zero, CoinType_init_zero, CoinType_init_zero, CoinType_init_zero}, false, 0, false, {0, {0}}, false, {0, {0}}, false, 0}
|
#define Features_init_zero {false, "", false, 0, false, 0, false, 0, false, 0, false, "", false, 0, false, 0, false, "", false, "", 0, {CoinType_init_zero, CoinType_init_zero, CoinType_init_zero, CoinType_init_zero, CoinType_init_zero}, false, 0, false, {0, {0}}, false, {0, {0}}, false, 0}
|
||||||
#define ClearSession_init_zero {0}
|
#define ClearSession_init_zero {0}
|
||||||
#define ApplySettings_init_zero {false, "", false, ""}
|
#define ApplySettings_init_zero {false, "", false, ""}
|
||||||
#define ChangePin_init_zero {false, 0}
|
#define ChangePin_init_zero {false, 0}
|
||||||
@ -797,7 +797,7 @@ extern const pb_field_t DebugLinkLog_fields[4];
|
|||||||
|
|
||||||
/* Maximum encoded size of messages (where known) */
|
/* Maximum encoded size of messages (where known) */
|
||||||
#define Initialize_size 0
|
#define Initialize_size 0
|
||||||
#define Features_size (224 + 4*CoinType_size)
|
#define Features_size (230 + 5*CoinType_size)
|
||||||
#define ClearSession_size 0
|
#define ClearSession_size 0
|
||||||
#define ApplySettings_size 54
|
#define ApplySettings_size 54
|
||||||
#define ChangePin_size 2
|
#define ChangePin_size 2
|
||||||
|
Loading…
Reference in New Issue
Block a user