matejcik
b502169bae
protobuf: drop const() markers as they are currently useless
2018-05-24 15:41:07 +02:00
matejcik
2c70ac3a2f
protobuf: only import list when needed
2018-05-24 15:41:07 +02:00
matejcik
389f1418ed
protobuf: drop Optional markers (relying on implicit optional)
...
and add a conditional import for List
2018-05-24 15:41:07 +02:00
matejcik
efa0f60493
protobuf: use trezor-common submodule to generate messages
2018-05-24 15:41:07 +02:00
matejcik
fb318fb69b
tools: update build_protobuf and pb2py to the refactored versions
...
from python-trezor, with appropriate modifications for trezor-core
The end goal is to have these files identical, ideally coming from
trezor-common. This is most of the way there, only thing remaining
is handling of target paths.
2018-05-24 15:41:07 +02:00
Pavol Rusnak
ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead
2018-05-24 15:18:05 +02:00
Jan Pochyla
7bafad494d
Merge pull request #90 from alepop/add-lisk-support
...
Add Lisk support
2018-05-23 13:54:00 +02:00
Jan Pochyla
e6dc6eb6d7
app.lisk: enable lisk tests
2018-05-23 13:29:12 +02:00
Jan Pochyla
3a81a4b2f0
app.lisk: remove sign/verify code
2018-05-23 11:47:07 +02:00
Jan Pochyla
523e57ea52
app.lisk: code style
2018-05-23 11:47:07 +02:00
Jan Pochyla
04c652c120
app.lisk: use == for comparing ints, code style
2018-05-23 11:47:07 +02:00
Jan Pochyla
c78c6616f6
app.lisk: simplify pubkey computation
2018-05-23 11:47:07 +02:00
Aleksey Popov
83a1df99f4
app.lisk: add require confirm layout for message signing
2018-05-23 11:47:07 +02:00
Aleksey Popov
d331ff245f
app.lisk: fix lisk_verify_message
2018-05-23 11:47:07 +02:00
Aleksey Popov
a0f5bbb734
app.lisk: review improvments
2018-05-23 11:47:07 +02:00
Aleksey Popov
ea938b6301
app.lisk: refactor helpers code
2018-05-23 11:47:07 +02:00
Aleksey Popov
b6949f6153
app.lisk: Add lisk_sign_tx and layouts
2018-05-23 11:47:07 +02:00
Aleksey Popov
3334163e85
app.lisk: Add lisk_verify_message
2018-05-23 11:47:07 +02:00
Aleksey Popov
dc5115055f
app.lisk: Add lisk_sign_message
2018-05-23 11:47:07 +02:00
Aleksey Popov
a37493a861
app.lisk: Add lisk_get_public_key
2018-05-23 11:47:07 +02:00
Aleksey Popov
a2a861a688
app.lisk: Add lisk_get_address and helpers
2018-05-23 11:47:07 +02:00
Aleksey Popov
59e6e49111
protob: Generate new messages
2018-05-23 11:47:07 +02:00
Aleksey Popov
452ad41575
common: update trezor-common submodule
2018-05-23 11:47:07 +02:00
Pavol Rusnak
90975f6b6e
embed/extmod/modtrezorcrypto: add support to variable outlen for Blake2{b,s}
2018-05-22 19:44:52 +02:00
Pavol Rusnak
a1204d8d7d
src: cleanup CoinType usage, don't return coins in Features
2018-05-22 18:52:26 +02:00
Pavol Rusnak
577cb361dc
src/trezor/crypto: add cashaddr support
2018-05-22 17:47:54 +02:00
matejcik
003d77b209
testing: configure pytest.ini and update testing documentation
...
as per https://github.com/trezor/python-trezor/pull/263
2018-05-22 17:28:52 +02:00
Pavol Rusnak
df967821e7
emu.sh: rename OPTLEVEL to PYOPT (to match variable name used in the C source)
2018-05-22 16:36:24 +02:00
Tomas Susanka
fc69ddf38f
ethereum: note about message sign/verify
2018-05-14 14:21:20 +02:00
Tomas Susanka
376a3cbec5
Merge pull request #200 from trezor/tsusanka/unknown-token-fix
...
eth: unknown token transfer is recognized and displayed as unknown
2018-05-11 15:33:33 +02:00
Tomas Susanka
55de110ee9
eth: unknown token changed to (None, None..)
2018-05-10 14:51:08 +02:00
Tomas Susanka
2d0d360944
eth: unknown token transfer is recognized and displayed as unknown
...
updates #198
2018-05-10 14:19:23 +02:00
matejcik
a8351d1bda
docs: testing instructions
2018-05-04 17:47:44 +02:00
matejcik
75fb38f63c
docs: make build instructions more compact, reflect use of pipenv
2018-05-04 17:47:44 +02:00
matejcik
ac33a0f86e
travis: use pipenv to run python-trezor testsuite reproducibly
2018-05-04 17:47:44 +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
Peter van Mourik
6a062ec5ea
Wanchain support ( #149 )
2018-05-02 15:48:10 +01:00
Pavol Rusnak
5e90d5116c
prodtest: add wipe command to erase vendorheader
2018-04-28 14:49:20 +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
Pavol Rusnak
7df4b251ea
prodtest: update sconscript file
2018-04-23 12:19:57 +01:00
Pavol Rusnak
d3844977a8
vendor: update trezor-crypto
2018-04-23 11:14:57 +01:00
Jan Pochyla
074e7c1b9b
src/main: simplify, extract USB code into usb.py
2018-04-16 17:17:45 +02:00
Jan Pochyla
3b67cb6bea
tests: fix loop.select usage
2018-04-13 15:00:50 +02:00
Jan Pochyla
e223173b4e
loop: wait -> spawn, select -> wait
...
select was a bit confusing name, as we always block on only one
interface.
2018-04-13 14:57:04 +02:00
Jan Pochyla
ebf4d2035e
src/trezor/utils: fix warnings in unimport_end
2018-04-05 17:01:21 +02:00
Jan Pochyla
60bec0b4d1
src/trezor/wire: allow passing MessageType classes to register()
2018-04-05 12:34:51 +02:00
Jan Pochyla
2731742d34
src/trezor/messages: allow registration of custom messages
2018-04-05 12:34:51 +02:00
Pavol Rusnak
eff139e4fc
style: fix flake8 warning
2018-04-04 01:22:40 +02:00