Commit graph

9816 commits

Author SHA1 Message Date
Filip Gospodinov
f05f3b430a build-wine: fix locale path
`$i` already contains `locale/`.
2018-09-14 14:37:14 +02:00
Filip Gospodinov
bdecef0eaf contrib: bump pyinstaller to 3.4
PyInstaller 3.4 highlights:

* patch for deterministic builds by electrum
* improved support for Qt5-based applications
* added support for Python 3.7
2018-09-14 14:29:19 +02:00
SomberNight
2bd5e0f25d
packaging: check in make_tgz if packages folder exists
related: #4714
2018-09-13 23:29:44 +02:00
SomberNight
2e61359d50
network: stop pending connections when stopping network 2018-09-13 21:20:55 +02:00
SomberNight
23f56ffa8a
network: avoid infinite reconnect loop to same server 2018-09-13 21:02:37 +02:00
SomberNight
e4bd445a38
network.new_interface: clarify how timed out interfaces are closed 2018-09-13 20:50:32 +02:00
SomberNight
64ab8222f7
interface: if request times out, no need to dump trace 2018-09-13 20:17:58 +02:00
SomberNight
819044221b
verifier: need to wait for reorg
fixes race between verifier and block header download.
scenario: client starts, connects to server. while client was offline,
there was a reorg. txn A was not mined in the old chain, but is mined
after reorg. client subscribes to addresses and starts downloading headers,
concurrently. server tells client txn A is mined at height H >= reorg height.
client sees it has block header at height H, asks for SPV proof for txn A.
but the header the client has is still the old one, the verifier was faster
than the block header download (race...). client receives proof. proof is
incorrect for old header. client disconnects.
2018-09-13 19:00:21 +02:00
SomberNight
78e9152723
network: get_servers to always include recent servers 2018-09-13 16:06:41 +02:00
SomberNight
43664d5f11
fixes for stdio/text gui 2018-09-13 15:11:28 +02:00
SomberNight
1f14894c43
network: add server to recent_servers only after checks 2018-09-13 03:45:21 +02:00
SomberNight
a9fcf2fabf
bump min aiorpcx to 0.8.1 2018-09-13 01:21:53 +02:00
SomberNight
c93d137c5e
interface: minor clean-up split out _set_proxy from init 2018-09-13 01:20:20 +02:00
SomberNight
c40468a8d3
interface: disable bw rate limiting done by aiorpcx 2018-09-12 22:58:36 +02:00
SomberNight
2e18e3c62b
adapt to aiorpcx 0.8.1: rm report_crash kwarg from group.spawn 2018-09-12 22:09:59 +02:00
SomberNight
a3fb865db0
follow-up prev
this is already running inside interface.group
2018-09-12 21:22:46 +02:00
SomberNight
6452582a17
network: batch requests in request_server_info 2018-09-12 21:18:08 +02:00
SomberNight
e7fa42ce3e
wallet: don't write to disk when switching servers 2018-09-12 20:25:13 +02:00
SomberNight
cad4fb80c1
interface: throttle messages 2018-09-12 20:17:12 +02:00
SomberNight
47a97279af
rename CustomTaskGroup to SilentTaskGroup 2018-09-12 19:24:58 +02:00
SomberNight
2039c07a2d
interface.mark_ready: handle cancellation 2018-09-12 18:45:15 +02:00
SomberNight
1419a5c60d
interface: change how GracefulDisconnect is handled 2018-09-12 18:43:50 +02:00
SomberNight
6f7a065081
bump aiorpcx version 2018-09-12 18:43:07 +02:00
SomberNight
3842205b8a
keystore: add note regarding xpubkeys 2018-09-12 18:22:34 +02:00
SomberNight
152c6abb86
network: fix another race in session.subscribe
key in session.subscriptions does not imply key in session.cache
2018-09-12 16:58:15 +02:00
SomberNight
9505a203d8
util: rm dead network code 2018-09-12 16:57:12 +02:00
ThomasV
15b21abc99 fix fee_histogram notifications 2018-09-12 12:56:51 +02:00
ThomasV
ce4608ae76 add help text to bump fee dialog 2018-09-12 12:18:27 +02:00
SomberNight
8cd08cc0fa
network: rm dead code; simplify 2018-09-12 01:40:54 +02:00
SomberNight
ab3c3c5ed7
interface: small clean-up 2018-09-11 22:16:30 +02:00
SomberNight
a5b3f809ce
blockchain.py: add type annotations 2018-09-11 22:14:57 +02:00
SomberNight
014c0d3a41
network: update UI when downloading chunks 2018-09-11 21:44:17 +02:00
SomberNight
518c6280e9
interface: minor clean-up re timeouts 2018-09-11 21:23:37 +02:00
SomberNight
6b9a83ae80
don't test with python 3.5
also, typing is no longer needed (part of stdlib from 3.5)
2018-09-11 21:10:47 +02:00
SomberNight
bed35a65c7
bump min python to 3.6 2018-09-11 21:04:36 +02:00
SomberNight
9ffd2de492
Merge branch 'aiorpcx' 2018-09-11 20:52:58 +02:00
SomberNight
ecc296cf67
fix race in session.subscribe 2018-09-11 20:39:16 +02:00
SomberNight
8b8ca14c6d
move get_index from network to session 2018-09-11 20:37:53 +02:00
SomberNight
e829d6bbcf
wallet: put Sync and Verifier in their own TaskGroup, and that into interface.group 2018-09-11 20:24:01 +02:00
SomberNight
19d4bd4837
simplify prev 2018-09-11 18:28:59 +02:00
SomberNight
4e0d179937
rate limit txn notifications in qt 2018-09-11 18:13:52 +02:00
Janus
09dfb0fd1d fix off-by-one error when syncing from genesis w/o checkpoints 2018-09-11 17:16:37 +02:00
ThomasV
3b6af914e1 add multiplexing capability to NotificationSession, simplify interface 2018-09-11 17:06:41 +02:00
SomberNight
1728dff576
fix prev: that's not how you use the context manager... 2018-09-11 12:25:57 +02:00
SomberNight
557334aa36
interface: introduce tip_lock 2018-09-11 11:44:49 +02:00
SomberNight
20957ac4d9
follow-up prev 2018-09-11 02:43:54 +02:00
Calin Culianu
a4396f4f13
Fixed potential bug when clicking in History List on slow wallet synch 2018-09-11 02:38:57 +02:00
SomberNight
19e244a85e
interface: rm unnecessary writes to self.tip 2018-09-10 19:47:36 +02:00
SomberNight
54cc822227
network: send out 'interfaces' event on new_interface
network dialog was not always showing up-to-date data
2018-09-10 19:03:06 +02:00
SomberNight
e2338581eb
broadcast_transaction: introduce async variant 2018-09-10 18:39:10 +02:00