Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
vendor: update trezor-common
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak committed Jul 27, 2018
1 parent 32fbc69 commit 51d810b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
21 changes: 21 additions & 0 deletions src/apps/ethereum/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ def __init__(
name='Ethereum Testnet Kovan',
rskip60=False,
),
NetworkInfo(
chain_id=60,
slip44=6060,
shortcut='GO',
name='GoChain',
rskip60=False,
),
NetworkInfo(
chain_id=61,
slip44=61,
Expand Down Expand Up @@ -140,4 +147,18 @@ def __init__(
name='EtherGem',
rskip60=False,
),
NetworkInfo(
chain_id=31102,
slip44=31102,
shortcut='ESN',
name='Ethersocial Network',
rskip60=False,
),
NetworkInfo(
chain_id=200625,
slip44=200625,
shortcut='AKA',
name='Akroma',
rskip60=False,
),
]
3 changes: 3 additions & 0 deletions src/trezor/messages/GetPublicKey.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class GetPublicKey(p.MessageType):
2: ('ecdsa_curve_name', p.UnicodeType, 0),
3: ('show_display', p.BoolType, 0),
4: ('coin_name', p.UnicodeType, 0), # default=Bitcoin
5: ('script_type', p.UVarintType, 0), # default=SPENDADDRESS
}

def __init__(
Expand All @@ -23,8 +24,10 @@ def __init__(
ecdsa_curve_name: str = None,
show_display: bool = None,
coin_name: str = None,
script_type: int = None,
) -> None:
self.address_n = address_n if address_n is not None else []
self.ecdsa_curve_name = ecdsa_curve_name
self.show_display = show_display
self.coin_name = coin_name
self.script_type = script_type
2 changes: 1 addition & 1 deletion vendor/trezor-common
Submodule trezor-common updated 63 files
+7 −6 defs/coins/bcash.json
+2 −1 defs/coins/bcash_testnet.json
+7 −6 defs/coins/bgold.json
+2 −1 defs/coins/bgold_testnet.json
+7 −6 defs/coins/bitcoin.json
+6 −2 defs/coins/bitcoin_testnet.json
+3 −2 defs/coins/bitcore.json
+3 −2 defs/coins/bprivate.json
+4 −3 defs/coins/crown.json
+7 −6 defs/coins/dash.json
+2 −1 defs/coins/dash_testnet.json
+3 −2 defs/coins/decred.json
+3 −2 defs/coins/decred_testnet.json
+2 −1 defs/coins/denarius.json
+3 −2 defs/coins/digibyte.json
+7 −6 defs/coins/dogecoin.json
+2 −1 defs/coins/feathercoin.json
+3 −2 defs/coins/flashcoin.json
+3 −2 defs/coins/fujicoin.json
+3 −2 defs/coins/groestlcoin.json
+3 −2 defs/coins/groestlcoin_testnet.json
+3 −2 defs/coins/koto.json
+8 −7 defs/coins/litecoin.json
+3 −2 defs/coins/litecoin_testnet.json
+4 −4 defs/coins/monacoin.json
+4 −3 defs/coins/monetaryunit.json
+2 −1 defs/coins/myriad.json
+2 −1 defs/coins/namecoin.json
+4 −3 defs/coins/pesetacoin.json
+3 −2 defs/coins/terracoin.json
+7 −6 defs/coins/vertcoin.json
+3 −2 defs/coins/viacoin.json
+7 −6 defs/coins/zcash.json
+3 −2 defs/coins/zcash_testnet.json
+3 −2 defs/coins/zcoin.json
+2 −1 defs/coins/zcoin_testnet.json
+3 −2 defs/coins/zencash.json
+8 −0 defs/ethereum/networks.json
+3 −1 defs/support.json
+1 −0 protob/.gitignore
+1 −1 protob/Makefile
+72 −0 protob/graph.py
+24 −22 protob/messages-bitcoin.proto
+2 −2 protob/messages-bootloader.proto
+34 −31 protob/messages-cardano.proto
+15 −12 protob/messages-common.proto
+13 −7 protob/messages-crypto.proto
+13 −2 protob/messages-debug.proto
+15 −15 protob/messages-ethereum.proto
+49 −44 protob/messages-lisk.proto
+25 −20 protob/messages-management.proto
+402 −0 protob/messages-monero.proto
+6 −4 protob/messages-nem.proto
+4 −2 protob/messages-ripple.proto
+19 −37 protob/messages-stellar.proto
+24 −22 protob/messages-tezos.proto
+23 −1 protob/messages.proto
+0 −4 signer/.gitignore
+0 −29 signer/config.json
+0 −32 signer/config.proto
+0 −5 signer/sample.key
+0 −101 signer/sign.py
+1 −1 tools/build_coins.py

0 comments on commit 51d810b

Please sign in to comment.