1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 23:08:14 +00:00

vendor: update trezor-common, enable Zencash

This commit is contained in:
Pavol Rusnak 2018-06-28 14:15:28 +02:00
parent 6ab2b5d6ee
commit 4b58162b54
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 42 additions and 2 deletions

View File

@ -15,7 +15,8 @@ class CoinInfo:
segwit: bool,
fork_id: int,
force_bip143: bool,
version_group_id: int
version_group_id: int,
bip115: bool
):
self.coin_name = coin_name
self.coin_shortcut = coin_shortcut
@ -31,6 +32,7 @@ class CoinInfo:
self.fork_id = fork_id
self.force_bip143 = force_bip143
self.version_group_id = version_group_id
self.bip115 = bip115
# the following list is generated using tools/codegen/gen_coins.py
@ -51,6 +53,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Testnet',
@ -67,6 +70,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Bcash',
@ -83,6 +87,7 @@ COINS = [
fork_id=0,
force_bip143=True,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Bcash Testnet',
@ -99,6 +104,7 @@ COINS = [
fork_id=0,
force_bip143=True,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Bgold',
@ -115,6 +121,7 @@ COINS = [
fork_id=79,
force_bip143=True,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Bprivate',
@ -131,6 +138,7 @@ COINS = [
fork_id=42,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Dash',
@ -147,6 +155,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='DigiByte',
@ -163,6 +172,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Dogecoin',
@ -179,6 +189,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Fujicoin',
@ -195,6 +206,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Litecoin',
@ -211,6 +223,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Litecoin Testnet',
@ -227,6 +240,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Monacoin',
@ -243,6 +257,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Namecoin',
@ -259,6 +274,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Vertcoin',
@ -275,6 +291,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Viacoin',
@ -291,6 +308,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Zcash',
@ -307,6 +325,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=0x03c48270,
bip115=False,
),
CoinInfo(
coin_name='Zcash Testnet',
@ -323,6 +342,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=0x03c48270,
bip115=False,
),
CoinInfo(
coin_name='Zcoin',
@ -339,6 +359,7 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Zcoin Testnet',
@ -355,5 +376,23 @@ COINS = [
fork_id=None,
force_bip143=False,
version_group_id=None,
bip115=False,
),
CoinInfo(
coin_name='Zencash',
coin_shortcut='ZEN',
address_type=8329,
address_type_p2sh=8342,
maxfee_kb=2000000,
signed_message_header='Zencash Signed Message:\n',
xpub_magic=0x0488b21e,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=121,
segwit=False,
fork_id=0,
force_bip143=False,
version_group_id=None,
bip115=True,
),
]

View File

@ -16,6 +16,7 @@ fields = [
'fork_id',
'force_bip143',
'version_group_id',
'bip115',
]
support = json.load(open('../../vendor/trezor-common/defs/support.json', 'r'))

@ -1 +1 @@
Subproject commit 5d61471108300a86deff300a482fd0d96f238070
Subproject commit ef306159aa984d0ed33c49c1d8e0d52bd04b33b9