1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-16 09:32:00 +00:00
Commit Graph

106 Commits

Author SHA1 Message Date
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
b3d3da7f7a apps: use mutable Text API 2018-07-03 16:49:52 +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
Pavol Rusnak
9f90ca21a9
src/apps/wallet/sign_tx: fix bip115 code in last commit 2018-07-02 14:29:58 +02:00
idimon4uk
3b345f3c76 src/apps/wallet/sign_tx: add Zencash support (#252) 2018-07-02 14:16:26 +02:00
Pavol Rusnak
3d796b971a
src/apps/wallet/sign_tx: refactor address_short function 2018-06-28 11:21:07 +02:00
Jochen Hoenicke
37ae7c06a4 signtx layout: check if address starts with prefix
Only addresses starting with bitcoincash: should get their prefix
skipped. This fixes a bug where it skips the first bytes of legacy
addresses.
2018-06-28 11:07:38 +02:00
Pavol Rusnak
d38d4d2b36
style: fix flake8 warnings 2018-06-21 17:04:06 +02:00
Pavol Rusnak
ac0bdd5902
src/apps/wallet: fix address_n_matches_coin function 2018-06-21 17:01:46 +02:00
Jan Pochyla
51df249949 sign_tx: require confirmation of inputs from other chains 2018-06-21 14:00:29 +02:00
Pavol Rusnak
97bb26b7f3
embed/extmod/modtrezorcrypto: use kwargs for Blake2b/Blake2s 2018-06-19 18:15:58 +02:00
Pavol Rusnak
0a6d890335
src/apps/wallet/sign_tx: refactor writers.get_tx_hash usage 2018-06-13 17:19:56 +02:00
Pavol Rusnak
da4bea34a0
src/apps/wallet: small docu fix in Bip143 class 2018-06-12 17:41:49 +02:00
Pavol Rusnak
6c2c99688b
src/apps/wallet: drop cashaddr prefix from the ui 2018-06-11 13:48:15 +02:00
Pavol Rusnak
a5952d16db
src/apps/wallet/sign_tx: more changes for zcash overwinter 2018-06-06 16:53:36 +02:00
Pavol Rusnak
b22f0aad86
src/apps: some import refactoring 2018-06-05 20:21:31 +02:00
Pavol Rusnak
cfa73b276e
src/apps/wallet: more work on zcash overwinter 2018-06-05 17:18:37 +02:00
Pavol Rusnak
dfd02821af
src/apps/wallet: add support for zcash overwinter 2018-06-05 16:04:23 +02:00
Pavol Rusnak
4d1b2f0ca5
vendor: update trezor-common 2018-06-05 13:37:17 +02:00
Pavol Rusnak
bc2f371886
src/apps/wallet: use hex value in asserts in sign_tx.writers 2018-06-04 12:15:02 +02:00
Pavol Rusnak
6d21723330
src/apps/wallet: add asserts to sign_tx.writers 2018-06-02 15:49:55 +02:00
Pavol Rusnak
6433862a11
coins: update how coins are being generated from trezor-common 2018-05-30 11:42:18 +02:00
Pavol Rusnak
df17be0287
src/apps/wallet: import CoinInfo from correct module 2018-05-28 15:37:29 +02:00
Tomas Susanka
37f6525c15 isinstance is used instead of __qualname__ 2018-05-25 13:43:42 +02:00
Pavol Rusnak
0cd3e411f4
src/apps/wallet/sign_tx: implement cashaddr 2018-05-24 16:38:56 +02:00
Pavol Rusnak
ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead 2018-05-24 15:18:05 +02: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
Tomas Susanka
2dec30828b wallet/signing: segwit has priority over force_bip143
This commit only rearranges the `if` main branch, so the segwit branch
has priority over bip143. Since Bitcoin Gold is allowing both segwit and
forcing bip143, the bitcoin gold segwit transactions were failing.

updates #147
2018-03-09 18:31:31 +01:00
Jan Pochyla
5ec3ef7835 src/apps/wallet/sign_tx: use visual progress 2018-02-28 01:49:05 +01:00
Pavol Rusnak
97fee650ca
src/apps/wallet/sign_tx: poor man's signtx progress 2018-02-27 23:53:44 +01:00
Peter Jensen
e43ce25611 src/trezor/ui/style: update resources and icons in dialogs 2018-02-27 23:52:49 +01:00
Pavol Rusnak
f9b16cfa34
src/apps/wallet/sign_tx: op_return ui 2018-02-27 20:28:28 +01:00
Pavol Rusnak
fa056518f1
src/apps/wallet: implement SignMessage/VerifyMessage for Segwit 2018-02-27 17:50:34 +01:00
Jan Pochyla
a4081bab72 src: move HashWriter to trezor.utils 2018-02-27 16:35:28 +01:00
Tomas Susanka
5f362f7493 signing/multisig: multisig exception 2018-02-27 13:00:35 +01:00
Pavol Rusnak
b97e5b7a55
src/trezor/ui: use ICON_DEFAULT by default, not ICON_RESET 2018-02-26 23:00:50 +01:00
Jan Pochyla
4622ee32bc signing: export more errors to client 2018-02-26 16:13:00 +01:00
Jan Pochyla
b88e4e5d5a signing: rely on address_n being always list 2018-02-26 16:13:00 +01:00
Jan Pochyla
9291de47d0 signing: code style 2018-02-26 16:13:00 +01:00
Jan Pochyla
c01ebeb552 signing/multisig: reuse some code 2018-02-26 16:13:00 +01:00
Jan Pochyla
fa5dbadc93 src/apps/wallet/sign_tx: cleanup and split scripts/addresses 2018-02-26 16:13:00 +01:00
Jan Pochyla
0ad58aad2b signing/scripts: doc cleanup 2018-02-26 16:13:00 +01:00
Jan Pochyla
e3847cf31f signing/addresses: SPENDADDRESS can be multisig too 2018-02-26 16:13:00 +01:00
Jan Pochyla
b8769bd9a5 signing/multisig: fix for force_bip143 coins 2018-02-26 16:13:00 +01:00
Jan Pochyla
e9ae9e6f1e signing/multisig: fix signature order in input_script_multisig 2018-02-26 16:13:00 +01:00
Jan Pochyla
d6c0fae045 signing: check for empty address_n 2018-02-26 16:13:00 +01:00
Jan Pochyla
6472b201f7 signing/multisig: fix missing pubkey, remove dead code 2018-02-26 16:13:00 +01:00
Jan Pochyla
a46934459a signing/multisig: minor refactoring 2018-02-26 16:13:00 +01:00
Jan Pochyla
1b64088957 signing/multisig: fix pubkey index lookup 2018-02-26 16:13:00 +01:00