1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-28 09:28:13 +00:00
Commit Graph

14446 Commits

Author SHA1 Message Date
matejcik
4c06a613b5 ethereum: do 'int_to_big_endian' conversion manually
instead of relying on 'rlp.utils' from which it was removed
by 1.0, and moved to 'eth_utils' which don't support py3.4
2018-05-04 17:43:58 +02:00
WO
44dfb07cfa Add Koto (#103) 2018-05-04 16:23:12 +02:00
matejcik
41d99764c6 build: reorganize requirements, mark hidapi as optional
This drops the command line options. `libusb` is now required
unconditionally (it's cffi so no harm there). hidapi is an extra.
You either need to install it manually, or specify it in your
requirements.txt like so:

trezor[hidapi] >= 0.9.2
2018-05-04 15:54:23 +02:00
matejcik
ce7a434f2d build: add the prebuild command as a dependency for develop
So, 'python setup.py develop' exists. And of course it doesn't have build_py as
a dependency, because of course it doesn't.
We could use 'data_files' instead of 'package_data and copying', and then use
pkg_resources to find the actual file location, and that could work in theory.
But pkg_resources API is weird and messy and this whole area of Python
packaging theory barely works as it is.

Instead we will force the prebuild command to be a dependency of develop as
well as build_py, and we do this by monkey-patching instead of the proper way,
because at this point it seems cleaner. I wonder if there are more commands
that would need this.
2018-05-03 18:55:32 +02:00
Pavol Rusnak
aa6405e23c
firmware: reintroduce dep into Makefile 2018-05-03 17:42:47 +02:00
Pavol Rusnak
ce88b30686
defs/nem: use standard json formatting for nem_mosaics.json 2018-05-03 17:27:47 +02:00
Pavol Rusnak
fb3e468ea2
fsm: split fsm_msg functions into various topic include files 2018-05-03 16:48:47 +02:00
Tomas Susanka
6f032456fc tests/device/nem: mosaic with levy test 2018-05-03 14:03:38 +02:00
Tomas Susanka
0d56ca922a ethereum: format amount already has int as an argument 2018-05-03 11:04:31 +02:00
Pavol Rusnak
736b02394f
src/apps: make flake8 happy 2018-05-02 16:51:57 +01:00
Tomas Susanka
c4beba839b nem: mosaics are generated from nem_mosaics.json in trezor-common
closes #344
2018-05-02 17:32:47 +02:00
Peter van Mourik
6a062ec5ea Wanchain support (#149) 2018-05-02 15:48:10 +01:00
Peter van Mourik
78ece6631f Wanchain support (#313) 2018-05-02 15:33:22 +01:00
Pavol Rusnak
a1cde6e0ce
vendor: update trezor-common (disable Lisk messages for now) 2018-05-02 15:24:37 +01:00
ZuluCrypto
8e8749dc68 Add support for Stellar 2018-05-02 15:19:05 +01:00
Tomas Susanka
b466b721a2 defs: nem mosaics 2018-05-02 15:11:39 +02:00
Pavol Rusnak
2c56c4de1b
firmware: use -Os except for crypto/nanopb parts 2018-05-02 13:15:12 +01:00
Alex Yocom-Piatt
17e89412a3 Add Decred mainnet coin definition (#101) 2018-05-01 00:00:51 +01:00
Pavol Rusnak
eb7d98ff5c
defs: fix travis build 2018-04-30 23:58:54 +01:00
Dusan Klinec
60805d0001 ed25519-donna/modm: sub more effective
- using trick: https://www.imperialviolet.org/2010/12/04/ecc.html
2018-04-30 23:55:11 +01:00
Dusan Klinec
6a20ba5586 ed25519-donna/modm: neg, sub added 2018-04-30 23:55:11 +01:00
Dusan Klinec
5708a7257f ed25519-donna/modm: comment typo fix 2018-04-30 23:55:11 +01:00
Pavol Rusnak
73d7fa8582
defs: add icons to coin definitions 2018-04-28 21:00:06 +01:00
Pavol Rusnak
bc6ccb66e4
defs: update coin icons 2018-04-28 20:59:30 +01:00
ZuluCrypto
7128347975
stellar tests - added missing pytest import 2018-04-28 13:06:13 -06:00
ZuluCrypto
5fccc4381b
fix style to match flake8 2018-04-28 12:59:08 -06:00
ZuluCrypto
200b5a71df
Merge remote-tracking branch 'upstream/master' into stellar 2018-04-28 12:54:32 -06:00
ZuluCrypto
2cf6414fa5
stellar - minor cleanup and simplification of some boolean field checks 2018-04-28 12:39:55 -06:00
Pavol Rusnak
81ca42a749
defs: move tools to def/coins/tools 2018-04-28 19:16:14 +01:00
Pavol Rusnak
7f2f37c62e
defs: use plain ints for coin defs 2018-04-28 19:14:28 +01:00
Pavol Rusnak
8fd80a5d09
defs: json cleanup 2018-04-28 16:11:49 +01:00
Pavol Rusnak
f20e374fcc
defs: generate wip coindefs in defs/coins/combine.py 2018-04-28 15:27:23 +01:00
Pavol Rusnak
7e39981133
defs: add more icons 2018-04-28 15:16:57 +01:00
Pavol Rusnak
5e90d5116c
prodtest: add wipe command to erase vendorheader 2018-04-28 14:49:20 +01:00
Jon D
ceacaaedc0 add btx logo (#99) 2018-04-28 14:06:01 +01:00
Pavol Rusnak
757ab636e7
gen: update trezor logo 2018-04-28 14:01:33 +01:00
Tomas Susanka
7cfbe689e8 tests/device/nem: different amounts; note about what is displayed 2018-04-27 17:39:04 +01:00
Tomas Susanka
50e755be46 tests/device/nem: known/unknown mosaics test 2018-04-27 17:37:29 +01:00
Pavol Rusnak
d75bf98c15
defs: add coins images 2018-04-25 19:12:42 +01:00
Pavol Rusnak
5ccdb5b3f8
defs: enable travis build 2018-04-24 15:14:45 +01:00
Pavol Rusnak
cc789677f0
defs: fix last commit 2018-04-24 15:13:34 +01:00
Pavol Rusnak
31fbb2b0a3
defs: update coin definitions 2018-04-24 15:11:18 +01:00
Jon D
e0da01371b Add Bitcore (BTX) support (#98) 2018-04-24 14:11:06 +01:00
Pavol Rusnak
d44f4f65b1
defs: add more info to coin definitions 2018-04-23 22:02:44 +01:00
Pavol Rusnak
71a38266ca
defs: add combine script 2018-04-23 21:15:58 +01:00
Pavol Rusnak
7dd3b37f66
defs: introduce combine script, add more fields to coin definitions 2018-04-23 16:57:59 +01:00
Jan Pochyla
0f2ed0f07c src/apps/ethereum: use wire.Error 2018-04-23 16:12:44 +01:00
Jan Pochyla
db696b23fd src/trezor/wire: add exceptions for all defined FailureTypes
Makes the error API much more ergonomic.
2018-04-23 16:12:44 +01:00
Aleksey Popov
8f31422adf lisk: Fix wrong signature in tx tests 2018-04-23 16:47:15 +02:00
Pavol Rusnak
1adcaea9cd
remove debug printfs from test_check_cashaddr 2018-04-23 15:20:01 +01:00