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
mcudev
d325e7b5a2
firmware: update flash_firmware target to use two-part flashing fix ( #266 )
2018-07-05 22:42:46 +02:00
Pavol Rusnak
8f46f3d46b
trezorctl: fix grammar in confirm messages
2018-07-05 13:52:09 +02:00
Pavol Rusnak
c4918cea97
firmware: update flash_firmware target to use two-part flashing
2018-07-05 13:49:28 +02:00
Pavol Rusnak
aa1a036216
bootloader: use SL keys by default (keep universal keys in comment)
2018-07-05 13:48:44 +02:00
Pavol Rusnak
1ee1afd978
protob: drop StellarSignTx.protocol_version
2018-07-05 13:12:47 +02:00
Pavol Rusnak
2ee57da5d8
src/apps/wallet/sign_tx: fix last commit, add bip115 test
2018-07-04 18:08:05 +02:00
Pavol Rusnak
622eb001a6
src/apps/wallet/sign_tx: correct processing of block_height in bip115
2018-07-04 17:54:13 +02:00
Pavol Rusnak
5eae03131c
defs: fix zencash backend uri
2018-07-04 17:37:55 +02:00
Pavol Rusnak
f215c8cb5c
protob: prev_block_height_bip115 is uint32 not bytes
2018-07-04 17:30:37 +02:00
Pavol Rusnak
13c659c202
vendor: update trezor-common, regenerate messages
2018-07-04 17:13:46 +02:00
matejcik
1b9b7d6c8e
pb2py: properly handle nested messages and enums
2018-07-04 17:08:09 +02:00