Jan Pochyla
2f6386e041
ethereum: fix get_address for very short paths
2018-07-10 14:53:39 +02:00
Pavol Rusnak
51eeb0ed5f
protob: remove source_account from Stellar messages
2018-07-10 13:52:03 +02:00
Pavol Rusnak
28455a8789
tools: add fmt:off to res_collect
2018-07-10 13:46:49 +02:00
Jan Pochyla
9122587825
Merge pull request #263 from trezor/style
...
Automatic code style enforcement
2018-07-10 13:19:27 +02:00
Jan Pochyla
57ce7b9a3e
travis: use python3.6 from deadsnakes PPA
2018-07-10 13:05:16 +02:00
Jan Pochyla
808b67ff43
apps.common: simplify address_type
2018-07-10 13:05:16 +02:00
Jan Pochyla
22abb6d07a
tests: auto-detect pytest config
2018-07-10 13:05:15 +02:00
Jan Pochyla
dcb15f77c3
src: run black
2018-07-10 13:05:15 +02:00
Jan Pochyla
ead154b907
src: run isort
2018-07-10 13:05:15 +02:00
Jan Pochyla
e8af00d21d
travis: run the style target
2018-07-10 13:05:15 +02:00
Jan Pochyla
3997eb0e80
make: add black and isort to style target
2018-07-10 13:05:15 +02:00
Jan Pochyla
d49e594ce0
pipenv: add black and isort
2018-07-10 11:19:47 +02:00
Jan Pochyla
d83c0fa932
flake8: make rules compatible with black
2018-07-10 11:17:12 +02:00
Jan Pochyla
bf9f503c3c
apps: remove unused imports
2018-07-10 11:17:12 +02:00
Jan Pochyla
6751d84236
style: skip formatting in special cases
2018-07-10 11:17:12 +02:00
Jan Pochyla
93d1b0751b
make: combine formatting tools, add black and isort
2018-07-10 11:17:12 +02:00
Pavol Rusnak
1628521ef2
vendor: update trezor-common
2018-07-09 21:33:35 +02:00
Pavol Rusnak
0cc19fcab9
defs: enable Groestlcoin for T2
2018-07-09 21:32:11 +02:00
Yura Pakhuchiy
7684db4702
Add Groestlcoin transaction signing tests
2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
0f53fd16ec
Add tests for Groestlcoin addresses
2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
c0458f71e8
Add Groestl512 hash tests
...
Added some test vectors from refrence implementation:
www.groestl.info/Groestl.zip
2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
4237adb7cc
Fix tests broken by API changes
2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
d09547fec3
Introduce coininfo.b58_hash
2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
b48cc1d6f8
Use single SHA256 for groestl curve for tx and msg signing
2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
a3542a6441
wallet: use coin's .curve_name
2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
7db1061123
Add .curve_name and Groestlcoin to coininfo.py
2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
28bff537be
Add Groestl512 to modtrezorcrypto
2018-07-09 21:30:10 +02:00
Pavol Rusnak
820798998b
build: use COPT in all SConscript files
2018-07-09 21:03:25 +02:00
mcudev
d897d5e23c
build: make it easier to build binaries optimized for debugging ( #267 )
2018-07-09 20:59:35 +02:00
matejcik
a94ea094a0
travis: install protobuf compiler and add modules to Pipfile
2018-07-09 18:02:13 +02:00
matejcik
497c290c81
build: run pb2py through sys.executable
...
* makes this actually work on Windows where pb2py isn't executable by itself
* might prevent problems when installing python-trezor in Travis from git
2018-07-09 17:46:57 +02:00
matejcik
87837bc305
stellar: drop protocol_version
2018-07-09 14:06:11 +02:00
matejcik
7083eb7a5c
trezorlib: drop @field decorator
...
its function is replaced by @expect(field="name") -- it doesn't make sense
to use @field without @expect anyway
2018-07-09 13:57:30 +02:00
matejcik
00617817c3
trezorlib: disable encrypt/decrypt message functionality
...
it is disabled in Trezors and its utility is unclear
2018-07-09 13:56:22 +02:00
matejcik
7e90e89e69
client: get rid of TrezorClient._convert_prime
2018-07-09 13:56:22 +02:00
matejcik
8f03bd0165
build: add Construct to requires, use package autodetection
2018-07-09 13:56:22 +02:00
matejcik
23b58cc0cb
flake8: fix complaints
2018-07-09 13:56:22 +02:00
matejcik
46307cc4ba
trezorctl: use Stellar default network passphrase
2018-07-09 13:56:22 +02:00
matejcik
f3a042db80
trezorlib: split out methods from ProtocolMixin
2018-07-09 13:56:22 +02:00
matejcik
1820f529fc
trezorlib: shuffling things from client
2018-07-09 13:50:25 +02:00
matejcik
9dc86f3955
build: update protobuf build process and update vendored definitions
2018-07-09 13:46:18 +02:00
matejcik
2f3a32f8e8
trezorlib: drop support for EncryptMessage and DecryptMessage
2018-07-09 13:46:18 +02:00
matejcik
fd39692ec9
build: set requirements for proper python 3.3 and 3.4 support, make tox happy
2018-07-09 13:46:18 +02:00
matejcik
ed3bdc8111
changelog: update
2018-07-09 13:46:18 +02:00
matejcik
5e7e491308
travis: fix build problems
...
* remove "in-tree vs generated" check as there is no in-tree anymore
* add protobuf to requirements-dev
* use requirements-dev in tox
travis: do not diff generated against (missing) in-tree messages
travis: in tox env, use requirements-dev
2018-07-09 13:46:18 +02:00
matejcik
19a0f4cc7b
tx_api: support blockbook, allow url-less operation
...
Bitcoin Testnet backends were removed.
This broke our tests that work purely on local data but nevertheless
need to know backend URLs. Because the design is less than ideal.
Here, we do a little cleanup:
* blockbook URLs are respected
* Dogecoin is now supported by our blockbook backend so we don't need
a special tx-api implementation
* it's possible to instantiate a TxApi that is backed by the cache,
without a known URL
* relevant tests now make use of this feature
2018-07-09 13:46:18 +02:00
matejcik
85a32d01b9
build: do not import trezorlib in setup.py, parse out __version__
by hand
...
also update path to coin generating tool
2018-07-09 13:46:18 +02:00
matejcik
ef736e837c
build: replace local copy of pb2py / build_protobuf with pb2py from trezor-common
2018-07-09 13:46:18 +02:00
matejcik
6f23331dfc
build: remove prebuilt protobuf files
...
Also clean out .gitignore a little while we're at it
2018-07-09 13:46:18 +02:00
FundacionPesetacoin
2301f7034c
Update pesetacoin.json ( #161 )
2018-07-06 10:40:25 +02:00