Andrew Kozlik
31506d81e9
core/cbor: move CBOR from cardano to common
...
- add support for text strings and boolean values
- add support negative integers and decoding maps
- fix decoding of short strings
- encode maps canonically
- add unit tests for decoding
- sort maps lexicographically by encoded key
2019-06-01 11:38:52 +02:00
Pavol Rusnak
751715dc15
common/defs: add to support.json, regenerate
2019-06-01 08:57:06 +02:00
Dusan Klinec
16317f1814
xmr: get_address - pagination, integrated address
...
- pagination added to show_address
- integrated address supported
- QR code fixed (prefix with monero: as GUI does)
2019-05-31 13:18:11 +02:00
Jan Pochyla
961499fdcf
core: fix uppercase ripple address in qr code
...
Fixes #191
2019-05-28 15:57:04 +02:00
Jan Pochyla
36534325f0
core: revamp the UI subsystem
2019-05-28 13:12:46 +02:00
Jan Pochyla
09da577fd9
core: use const in trezor.crypto.slip39
2019-05-28 11:17:07 +02:00
Pavol Rusnak
a3717c7b6c
core/slip39: use condensed wordlist
2019-05-27 19:39:41 +02:00
Pavol Rusnak
07ce935725
core/eos: revert new pubkey format
2019-05-26 11:48:49 +02:00
Pavol Rusnak
684862a7f5
common: more TRX cleanup
2019-05-25 12:48:04 +02:00
Tomas Susanka
cc5c8ae7e0
common+python: Revert Ontology support
...
This reverts commit 402e72e36e
.
This reverts commit 21326d3a41
.
This reverts commit 18739987ee
.
2019-05-25 11:59:35 +02:00
Jan Pochyla
9586358e44
core: log memory info if TREZOR_LOG_MEMORY env is set
2019-05-24 16:28:11 +02:00
Pavol Rusnak
8c1f5c88f7
core: fix style
2019-05-24 16:09:12 +02:00
Jan Pochyla
c2f5174b43
core: optimize memory usage in signing
2019-05-24 16:04:20 +02:00
Pavol Rusnak
a6e51434f2
core/eos: use new pubkey format
2019-05-24 16:01:28 +02:00
Pavol Rusnak
414b33dbfb
core/eos: reduce code duplication
2019-05-24 15:52:57 +02:00
Pavol Rusnak
1583ea62f9
core: serialize signature in EosSignedTx message
2019-05-24 12:49:19 +02:00
Tomas Susanka
279b40bdb7
build: templates
...
Fixes tests broken by 9e05517872
2019-05-24 11:49:03 +02:00
Pavol Rusnak
5f1586e049
core: regenerate templates
2019-05-23 20:24:44 +02:00
Pavol Rusnak
164336cb56
core: add equality function to mako template too
2019-05-22 22:46:22 +02:00
Pavol Rusnak
a99ccbc4d2
core: add equality function to coininfo
2019-05-22 16:59:06 +02:00
Pavol Rusnak
2060ca569f
core: fix flake8 warning
2019-05-22 16:28:26 +02:00
Jan Pochyla
1f3adc7069
core: store bitcoin-like coins as a decision tree
2019-05-22 16:15:39 +02:00
Pavol Rusnak
9676eec4df
common: update support for core coins
2019-05-22 16:06:58 +02:00
Trustfarm-heart
31fca6d25d
common/defs: add TEO ( #163 )
2019-05-22 15:43:47 +02:00
matejcik
984c6b6236
style: drop tokens.py from style checks
...
because pyflakes / stdlib's ast will exceed recursion depth
while analyzing the main function
2019-05-22 15:06:23 +02:00
Pavol Rusnak
60d1460185
core/ethereum: simplify code for token list
2019-05-20 18:04:12 +02:00
Jan Pochyla
d56de2c5fe
core: import some modules lazily to save memory
2019-05-20 16:51:47 +02:00
Jan Pochyla
875579867e
core/ethereum: store tokens as a decision tree
2019-05-20 16:51:46 +02:00
matejcik
e2ab5d0565
core: fix usage of EthereumAddress after old field was restored
2019-05-17 15:49:01 +02:00
matejcik
0b50d671e1
make gen && make style
2019-05-17 15:48:57 +02:00
Pavol Rusnak
b5b4a2ca5f
core: remove empty __init__.py files
2019-05-17 11:46:04 +02:00
Pavol Rusnak
1812be5d49
core: fix missing value for mnemonic_type when upgrading firmware
2019-05-17 00:31:41 +02:00
Konnor Klashinsky
fe65a70dce
Do not display token values in Wei for low-decimal value tokens ( #141 )
...
* Do not display token values in Wei for low-decimal value tokens
* update logic
* add unit tests
2019-05-16 12:50:23 +02:00
Pavol Rusnak
0a52b51a26
core: regenerate templates
2019-05-14 17:15:14 +02:00
Pavol Rusnak
4097f254d5
core: don't erase passphrase on ClearSession
2019-05-13 19:35:32 +02:00
Pavol Rusnak
00564f4a1c
core/cache: fix setting of None passphrase
2019-05-13 16:53:41 +02:00
Pavol Rusnak
1dc2ccf4a5
core/xmr: fix style
2019-05-13 15:53:44 +02:00
Pavol Rusnak
7fe09e52bd
core/cache: use different default value for passphrase_fprint
2019-05-13 15:46:23 +02:00
Pavol Rusnak
f1c34701b8
core/cache: cache passphrase_fingerprint, compute it only on change
2019-05-13 15:34:23 +02:00
Dušan Klinec
9f36c73a78
core/xmr: authorize live refresh per passphrase ( #129 )
...
Improves UX as the live refresh prompts were too often.
2019-05-13 15:27:04 +02:00
matejcik
2e578572dd
add EOS support
...
Squashed commit of the following:
commit 060563458fbc3b4a17f4d77ba5cd62d0c265c806
Author: matejcik <ja@matejcik.cz>
Date: Fri May 10 16:16:19 2019 +0200
skip t1 in eos test
commit f759089fef29501467b62bf1540715132a72c4cf
Author: matejcik <ja@matejcik.cz>
Date: Fri May 10 15:55:20 2019 +0200
make style
commit 3ecdd5f77b331d7a6e5a46a10c79d80f214f31bd
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Thu May 9 22:05:41 2019 +0300
Refinements in asset to to string conversion function according to code review and test cases for amounts less than 1
commit 72e44a35bada76abdd94ab866c2113a6d9d85191
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Wed May 8 00:27:45 2019 +0300
Moved to input_flow rest of the tests, cleanup and styling
commit 92f9acbabcbef44a6912b074a309393450f0c8de
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Tue May 7 21:47:12 2019 +0300
Fix for amounts less then 1
commit 8a0154f7432ab78e69a123202a97194d34c2a3cb
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 23:26:24 2019 +0300
removed unnecessary peace of code
commit b25c15de3eb1df863760e81ca69f09094349c26e
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 23:16:57 2019 +0300
Fixed validate path parameters
commit f0f6e7036a8b88d9c5c6b702a8d851e9a9bd3378
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 23:04:58 2019 +0300
Fixes
commit 0c64d3814300df86d452975b2bd46fea13f512d2
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 22:19:51 2019 +0300
Fixed styling
commit 41d1e77231e7da78fade9b2efa1b7d1980f0d3a8
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 22:13:58 2019 +0300
Changes to core, added CURVE to path validation
commit c045b4554ee8e058dbfe35f715b003d0d85ab1d4
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 22:07:37 2019 +0300
Changes according to review
commit 3f0e6cfd40e7d87dc3287bc3a0b2b9db5dea5377
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon Apr 29 21:37:16 2019 +0300
Added change to make expiration date timezone agnostic
commit efdf44c326cc3f3137c447e798db5439b57c91fa
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Thu Apr 18 00:14:30 2019 +0300
changes according to code review
commit 3b3723da8f8f536c7c370a14236ea81aac25080a
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Tue Apr 16 23:44:50 2019 +0300
Merged python to monorepo
commit da6b0c683c29388e15c889ecea6e7f7471961a19
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Tue Apr 16 23:13:42 2019 +0300
Merged core to monorepo
2019-05-10 16:23:18 +02:00
matejcik
23306d2a0d
defs: drop Aquachain from generated templates
...
before we enable it through support.json
2019-05-10 16:22:36 +02:00
aerth
ffde130003
common/defs: add Aquachain (AQUA) ETH network ( #138 )
2019-05-07 21:32:45 +02:00
matejcik
afdfd5fbdb
cardano: optimize transaction signing
...
squash merge. closes #94 and #130
Squashed commit of the following:
commit 1adc68051df863f5ce3767f6594d91fc9ad7bb16
Author: refi93 <rafael.korbas@gmail.com>
Date: Tue May 7 00:13:07 2019 +0200
cr fix
commit 833b831754aa3dfce4630e9d64e7fb6c5147ceb1
Author: refi93 <rafael.korbas@gmail.com>
Date: Mon May 6 21:59:49 2019 +0200
cr fix style
commit 2962e697c993d3df9a53dcc6cebc9148c1d701f5
Author: Matúš Juran <matus.juran@vacuumlabs.com>
Date: Thu May 2 16:57:55 2019 +0200
cardano: optimize transaction signing
Optimize the storage of previous transactions. Instead of passing a list
of transactions to the Transaction object, verify all inputs beforehand.
Stop creating helper lists when serializing the transaction. This allows
to process a few more inputs.
2019-05-07 17:33:00 +02:00
matejcik
e55b42dddb
common: fix tGOR entry
2019-05-07 16:45:34 +02:00
matejcik
bf067cc0c6
core: better handling of TxRequest with mixed inputs
...
fixes #133
2019-05-07 16:31:40 +02:00
matejcik
388400bc1b
core: remove or mark star imports
2019-05-07 16:31:04 +02:00
ligi
e388b69fbd
common/defs: Add Ethereum Testnet Goerli ( #137 )
2019-05-07 12:34:28 +02:00
Andrew Kozlik
bebce78881
core/slip39: Update code logic, tests and test vectors in accordance with the new requirement that the number of shares provided is equal to the threshold.
2019-05-03 18:28:14 +02:00
Andrew Kozlik
0248671438
core/slip39: Resolve code review comments.
2019-05-03 15:12:13 +02:00