Neil Booth
b164cc4bba
Pass raw=True when subscribing to headers
...
Remove use of deprecated bitcoin address
2018-06-04 16:52:44 +09:00
Neil Booth
1900e58e88
Subscribe to raw headers
...
The old interface is deprecated
Port of fe303c97c3
2018-06-04 16:19:11 +09:00
SomberNight
219c2a363a
fix #4401
2018-06-03 17:17:56 +02:00
SomberNight
3031f594cb
scaled pixmaps no longer pixelated
2018-06-01 22:36:56 +02:00
SomberNight
cfc52e6441
follow-up #4396 : new 2fa wallets could not be created
2018-06-01 22:19:00 +02:00
SomberNight
141994ed1b
tests: TestWalletSending - also test raw_tx and wtxid
2018-06-01 18:05:49 +02:00
ThomasV
8d07094ede
Merge pull request #4396 from SomberNight/storage_upgrade_wizard
...
storage upgrade as part of the wizard. fix storage upgrade on kivy.
2018-06-01 13:22:10 +02:00
ThomasV
4fc677c876
Merge pull request #4394 from bauerj/new-icons
...
New icons
2018-06-01 09:39:03 +02:00
SomberNight
2b84fba67b
storage upgrade as part of the wizard. fix storage upgrade on kivy.
2018-05-31 19:43:50 +02:00
Johann Bauer
edb6de92d8
New icons
2018-05-31 17:26:52 +02:00
Johann Bauer
d288999036
i18n template improvements
2018-05-31 11:05:44 +02:00
SomberNight
ec5931ae54
rename dylib for libsecp
...
follow c76375de91
2018-05-30 22:50:03 +02:00
Johann Bauer
4a65db54c9
Travis: Fix Windows build from PRs
2018-05-30 22:29:51 +02:00
Johann Bauer
c76375de91
Build libsecp256k1
2018-05-30 21:47:28 +02:00
SomberNight
1e06b1921e
wallet.py: access unverified_tx with self.lock
...
Only actually needed due to Imported_Wallet.delete_address, but it takes some time to see this.
The verifier and the synchronizer both access unverified_tx but they are both run in the Network thread.
In any case, there does not seem to be a measurable performance hit when using the lock.
2018-05-30 19:01:47 +02:00
SomberNight
060404e17c
wallet/verifier: persist wallet.verified_tx when verifier finishes
...
Previously verified_tx was only persisted in wallet.stop_threads(), hence only on clean shutdowns.
2018-05-30 18:21:29 +02:00
SomberNight
4159322db0
synchronizer.py: rename tx_response to on_tx_response
2018-05-30 17:35:29 +02:00
SomberNight
ee9861f0d5
wallet.py: access verified_tx with lock
2018-05-30 13:24:58 +02:00
SomberNight
6bb7558f75
InvalidPassword undefined in wallet.py
2018-05-30 13:14:01 +02:00
SomberNight
deb945d810
tests: TestWalletHistory_EvilGapLimit
2018-05-29 20:51:04 +02:00
SomberNight
c34273b771
(minor) missing space in message when deleting wallet
2018-05-29 13:40:36 +02:00
SomberNight
9bd082cd82
trezor/keepkey: better handling of exceptions during device initialization
...
notably Trezor T is returning a different msg type when trying to get an xpub from an uninitialized device, which we are not handling. instead we should just realise ourselves that we did not initialize the device
2018-05-29 13:37:30 +02:00
Johann Bauer
46fcf686b1
Travis: Check if icons and locales are up to date on release
2018-05-29 00:00:37 +02:00
SomberNight
7218bf1d14
tests: bip32 extended version bytes
2018-05-28 20:27:08 +02:00
ghost43
9b7a449057
util.make_dir: 0o700 permissions on folders ( #4357 )
2018-05-28 14:22:54 +02:00
SomberNight
dbec3af810
tests: introduce FAST_TESTS flag for faster local testing
2018-05-28 14:02:07 +02:00
SomberNight
1f373c1eb9
ecc: don't print trace when can't find libsecp
2018-05-28 02:28:01 +02:00
SomberNight
86992aea6c
bundle libsecp256k1 in android apk
...
this works as there is already a p4a recipe upstream: 74bf788a29/pythonforandroid/recipes/libsecp256k1/__init__.py
2018-05-28 00:43:05 +02:00
SomberNight
483a2a40cd
wine-build: fetch pull requests from repo if can't find commit
...
follow-up 25089aa9c2
2018-05-27 04:25:11 +02:00
SomberNight
facb7bbc0e
ecc: (minor) use ECPubkey.from_point
2018-05-27 03:55:10 +02:00
SomberNight
25089aa9c2
travis: build-wine current commit, instead of HEAD
2018-05-27 02:35:23 +02:00
SomberNight
ac94d6d055
ecc: ECPrivkey.sign clean-up
2018-05-26 19:26:13 +02:00
SomberNight
d03da4d1a2
tests: test with all AES implementations
2018-05-25 22:06:45 +02:00
ThomasV
770f438249
Merge pull request #4381 from SomberNight/coincurve4
...
crypto refactoring take3
2018-05-25 18:49:36 +02:00
SomberNight
dc1d6ac1fe
avoid hardcoding the curve generator ourselves
2018-05-25 18:29:44 +02:00
SomberNight
7c53712750
load_library: remove ctypes.util.find_library calls. remove some code dupe
...
find_library was giving priority to system dll against local dll
2018-05-25 18:20:56 +02:00
SomberNight
9241f52a41
fix travis wine build
2018-05-25 16:56:30 +02:00
SomberNight
65601e9ec6
build and include libsecp256k1 in windows binaries
2018-05-25 16:04:29 +02:00
SomberNight
16e4827e8c
use libsecp256k1 if available. abstract away ecc stuff. move symmetric crypto and hash functions to crypto.py
2018-05-25 15:43:06 +02:00
SomberNight
756cc323e7
tests: dnssec
2018-05-24 22:20:58 +02:00
Johann Bauer
2e899bc38f
Add missing languages to settings dialog
2018-05-23 22:15:14 +02:00
SomberNight
2c3aa9ffa9
trezor: minor homescreen clean-up/fixes
2018-05-23 15:39:59 +02:00
SomberNight
51d047a35e
fix #4375
2018-05-22 12:55:50 +02:00
ThomasV
4c234397ec
Merge pull request #4351 from SomberNight/2fa_sign_then_otp
...
trustedcoin: sign first, then prompt for OTP
2018-05-18 17:36:18 +02:00
SomberNight
c113232e8b
tests: TestWalletHistory
...
check if wallet logic calculates correct balance regardless of the order in which we receive transactions from the server
2018-05-18 15:43:02 +02:00
SomberNight
5cfeb6b081
follow-up ab2f59590c
2018-05-18 10:56:01 +02:00
ThomasV
d538106caf
Merge pull request #4371 from haarts/remove-explicit-protocol-mentions
...
Remove explicit protocol mentions
2018-05-18 10:08:36 +02:00
Harm Aarts
ab2f59590c
Push network calls into network module
...
Eventually all network calls should go through the network module
without resorting to using raw protocol strings. This, then, makes
adding an other backend easier.
Please note that the behaviour slightly changed. Initially the caller
received an unmodified response from the ElectrumX server. In it the
scripthash is present. This change replaces that scripthash with the
original address.
2018-05-17 15:20:22 +02:00
Harm Aarts
812d570ee2
Rename method to reflect its goal
...
Answer the question *what* problem the method solves. Not *how* it is
solving it.
2018-05-17 15:17:06 +02:00
Harm Aarts
d0d39e534e
Make side effect explicit
...
The removed method didn't allude to the fact it was adding the generated
hash to a dictionary. This was problematic since the code base now
seemingly had two methods for converting an address to a scripthash. One
in the network module and one in the (logical) bitcoin module.
2018-05-17 12:04:54 +02:00