1
0
Commit Graph

9059 Commits

Author SHA1 Message Date
Neil
e0a6b082d2 First message on an interface is server.version (#4407)
- Use server.ping to ping (valid as of protocol version 1.2) rather
  than server.version (deprecated as a ping)
- Ping every 5 mins rather than every 1 minute.  By default servers
  don't consider a connection stale until 10 minutes of inactivity.
- Remove unused last_request member of interface

Port of c3f26e59db
2018-06-05 12:41:41 +02:00
SomberNight
f0daf2d37b Qt: addresses tab - align text 2018-06-04 22:37:34 +02:00
Johann Bauer
10c0746287 Make new status icons closer to their original color 2018-06-04 21:30:22 +02:00
SomberNight
792c248919 Qt: FeerateEdit.get_amount now returns sat/byte 2018-06-04 21:17:25 +02:00
SomberNight
9788ca0250 Qt: feerate edit was sometimes rounding inconsistently 2018-06-04 21:01:47 +02:00
ghost43
d667c5d46e Merge pull request #4402 from kyuupichan/master
Subscribe to raw headers
2018-06-04 17:15:49 +02:00
SomberNight
105101bb5c fix #4403 2018-06-04 17:07:50 +02:00
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