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

14446 Commits

Author SHA1 Message Date
Saleem Rashid
e3460b9f00 reset: Call storage_commit after initialization
Fixes #230
2017-11-14 13:42:44 +01:00
Jochen Hoenicke
e1fa7af1da Byte-precise size estimate for fees
Fixes issue #232.

It assumes largest possible signature size for all inputs.  For segwit
multisig it can be .25 bytes off due to difference between segwit
encoding (varint) vs. non-segwit encoding (op_push) of the multisig script.
2017-11-14 13:39:17 +01:00
Pavol Rusnak
05ab19e58e
add travis check for coins.json 2017-11-14 02:18:28 +01:00
motty
21ea45bc0e Add Fujicoin 2017-11-14 01:14:17 +01:00
Pavol Rusnak
a4d46b7ae1
vendor: update trezor-common, increase coins count 2017-11-13 22:32:11 +01:00
Jochen Hoenicke
b8bca1c444 Fix segwit forkid signatures 2017-11-13 22:20:08 +01:00
Jochen Hoenicke
8da2770051 Increase coin count 2017-11-13 22:20:08 +01:00
Jochen Hoenicke
a8bc3cb6bd Remove add_hash_type fields.
The 4 byte hash_type/forkid is part of the signed message, but not
part of the transaction.  Instead of hacking it into the transaction,
add it after the transaction when computing the signature.
2017-11-13 22:20:08 +01:00
Saleem Rashid
d39e4be1c8 signing: Use force_bip143 instead of has_forkid 2017-11-13 22:20:08 +01:00
Saleem Rashid
c6246b5fba coins: Add force_bip143 2017-11-13 22:20:08 +01:00
Saleem Rashid
b6f11c9f93 signing: Add signing_hash_type function
This also enables SIGHASH_FORKID for SegWit
2017-11-13 22:20:08 +01:00
Nicola Larosa
5d2d621055 Fix error when using trezorctl to connect to the trezor-core emulator. (#152)
* Fix error when using trezorctl to connect to the trezor-core emulator.

* Restore the ability to specify the host without the port
2017-11-13 22:15:09 +01:00
Pavol Rusnak
0d9ee4376d
use Mnemonic.normalize_string where possible 2017-11-13 22:13:32 +01:00
Jonathan Cross
9e068ce903 Adding xpub example (#149) 2017-11-13 21:54:33 +01:00
cryptcoin-junkey
7325936f86
add Monacoin to coins.json 2017-11-13 21:52:54 +01:00
Pavol Rusnak
9c21bc758e
add digiexplorer to digicoin in coins.json 2017-11-13 21:46:06 +01:00
DigiByte
193be4d4a5
add DigiByte to coins.json 2017-11-13 21:38:53 +01:00
Karel Bílek
ff32a2e8a6 Increase maxfee for bitcoin 2017-11-13 21:33:47 +01:00
Saleem Rashid
782ac45158 coins: Add Bitcoin Gold 2017-11-13 21:32:07 +01:00
Saleem Rashid
6701821fb9 coins: Add force_bip143 2017-11-13 21:32:07 +01:00
Jan Pochyla
40a9ac2e29 tests: fix trezor.config test 2017-11-10 15:18:43 +01:00
Jonathan Cross
fa6624129c Adding note: trezorctl is installed on debian / tails (#148) 2017-11-09 17:01:05 +01:00
Jonathan Cross
a6562ccc15 README.rst : Adding Mac requirements and simplifying Linux (#147) 2017-11-09 15:53:52 +01:00
Jochen Hoenicke
91a541e862 Expect confirm button for unusual change address (#138)
Changed two tests to different (existing) txs with correct change
address, changed the other tests to expect an additional button
confirmation.
2017-11-08 22:09:28 +01:00
Pavol Rusnak
b9b11fa265
style: fix flake8 error 2017-11-08 21:25:15 +01:00
Jonathan Cross
04bb0069c0 USAGE: Adding more examples 2017-11-08 21:22:44 +01:00
Karel Bílek
9c1e61e460
Removing Bitcoin2x from coins.json
Goodbye, Bitcoin2x, we hardly even knew you.
2017-11-08 18:42:53 +01:00
Jan Pochyla
5bd39c70b0 storage: fix change_pin and small details 2017-11-08 18:08:19 +01:00
Jan Pochyla
cf14717d43 unix: add shutdown()
As sys/socket.h defines shutdown also, we can't include common.h in unix mocks.
2017-11-08 18:07:33 +01:00
Karel Bílek
c9cc3537aa
Bitcoin2x xpub segwit magic 2017-11-08 16:41:26 +01:00
Karel Bílek
b5423a606c
Correcting Bitcoin2x coin name 2017-11-08 15:03:50 +01:00
Karel Bílek
e1fbae35d4
Renaming BTC->B2X 2017-11-08 14:50:37 +01:00
Pavol Rusnak
879a3e85bd
trezorhal: reorder stuff in common.{c,h}; remove unnecessary externs for functions 2017-11-07 20:44:30 +01:00
Pavol Rusnak
d9574bf131
trezorhal: enable BOR level 3, PVD level 5, turn off display in PVD handler 2017-11-07 18:06:42 +01:00
Jonathan Cross
972459281b Fixing Bitcoin usage & adding note this is non-SegWit 2017-11-07 15:00:02 +01:00
Pavol Rusnak
e4360a7296
bootloader: change upgrade criteria to vendor keyset comparison 2017-11-07 13:46:18 +01:00
Jan Pochyla
88b1222ad0 tests: ignore new segwit tests 2017-11-06 18:36:05 +01:00
mcudev
e3a87b8ea4 firmware: get_entropy text wrapping 2017-11-06 18:03:01 +01:00
Jan Pochyla
237740de9c storage: implement change_pin 2017-11-06 17:47:05 +01:00
Jan Pochyla
5e643e9195 modtrezorconfig: fix has_pin 2017-11-06 17:26:25 +01:00
Jan Pochyla
df77e74988 storage: fix unlock 2017-11-06 17:26:13 +01:00
Pavol Rusnak
f8c6043325
makefile: use build_dir variables where possible 2017-11-06 16:44:34 +01:00
Pavol Rusnak
3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar 2017-11-06 16:31:09 +01:00
Pavol Rusnak
5444410e04
unix: use return value from fread properly 2017-11-06 15:44:35 +01:00
Pavol Rusnak
e40c436b82
emu: increase heap size 2017-11-06 14:56:41 +01:00
mcudev
430900ea2c boardloader: ensure check_sdcard fails when read fails 2017-11-06 14:36:56 +01:00
Pavol Rusnak
2e3b8336c2
unix: fix unused-result warning 2017-11-06 11:12:43 +01:00
Pavol Rusnak
a5fc76d8c9
don't use generic Exception, but rather specific subclass 2017-11-06 11:10:23 +01:00
Pavol Rusnak
1ab602423c
requirements: add pyblake2 2017-11-06 11:10:23 +01:00
Pavol Rusnak
ee7d260d2f
trezorhal: use const where possible for flash 2017-11-05 23:51:10 +01:00