1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-21 21:00:58 +00:00
Commit Graph

7223 Commits

Author SHA1 Message Date
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
Pavol Rusnak
000d832632
proto: split messages into more files by topic 2018-07-04 16:46:14 +02:00
Akira Takizawa
981b9d1a9e Fix typo for Ethereum Social [ETSC] (#160) 2018-07-04 15:35:17 +02:00
Pavol Rusnak
d480b2b45a
protob: drop unused proto files, merge types.proto into messages.proto 2018-07-04 14:20:28 +02:00
Pavol Rusnak
571c2b4a1d
proto: fix whitespace 2018-07-04 14:04:29 +02:00
jurajselep
7b13d2e886 Tezos integration (#139) 2018-07-04 14:02:05 +02:00
Dušan Plavák
6eb330345e Add Cardano currency support (#148) 2018-07-04 13:52:08 +02:00
Pavol Rusnak
6d5a8645fd
src/apps/wallet/sign_tx: don't append bip115 replay protection script if no arguments provided 2018-07-04 12:59:19 +02:00
Jan Pochyla
2b66deb3d6 ui.text: type -> normal 2018-07-03 16:49:52 +02:00
Jan Pochyla
ec06ccf43f apps: use default icon from Text API 2018-07-03 16:49:52 +02:00
Jan Pochyla
f74a29b56a ui.text: remove old API 2018-07-03 16:49:52 +02:00
Jan Pochyla
b3d3da7f7a apps: use mutable Text API 2018-07-03 16:49:52 +02:00
Jan Pochyla
49e75851c7 ui.text: add mutable API 2018-07-03 16:49:52 +02:00
matejcik
6575418de9 pb2py: smarter protobuf include handling
support PROTOC_INCLUDE env variable (fixes #158)
support multiple `-I` arguments
smarter detection of `protoc` presence and its include dirs
2018-07-03 15:31:49 +02:00
Pavol Rusnak
d522f211fd
defs: update backend urls, add backend check to build_coins.py 2018-07-03 12:59:48 +02:00
FundacionPesetacoin
f2864f892f Pesetacoin (#145) 2018-07-03 12:59:01 +02:00
FujiCoin
dde1f6dffc fix fee rate, max fee, etc. (#156) 2018-07-03 12:20:12 +02:00
Pavol Rusnak
ac5e3f200a
src: rename wire_types to MessageType, drop copy in tools/build_protobuf 2018-07-02 20:40:51 +02:00
matejcik
28e2970cfb vendor: update trezor-common, regenerate messages 2018-07-02 20:19:16 +02:00
matejcik
2091ae97bf tools: use pb2py from trezor-common 2018-07-02 20:19:16 +02:00