1
0
Commit Graph

9526 Commits

Author SHA1 Message Date
SomberNight
1635bc8cb3 blockchain: use HEADER_SIZE named constant instead of magic numbers 2018-09-16 03:06:21 +02:00
SomberNight
a9197236a2 change 'new_transaction' notification to include wallet 2018-09-16 02:48:13 +02:00
SomberNight
2453872a09 synchronizer: rm redundant 'updated' notification 2018-09-16 02:31:56 +02:00
SomberNight
6f5a4a5502 fix prev: rm incorrect assert 2018-09-15 08:23:49 +02:00
SomberNight
482259df8b interface: further clean-up in 'step' 2018-09-15 07:26:36 +02:00
SomberNight
beb37aafc5 interface: clean-up 'step'; backwards search 2018-09-15 06:44:18 +02:00
SomberNight
2a958499b6 fx: disable checking mime type in get_json
looking at you, CoinDesk..
2018-09-15 00:30:43 +02:00
SomberNight
f38ec93ae9 qt fx settings: restore selected exchange in combobox if list changes 2018-09-14 23:07:13 +02:00
SomberNight
6ccd83397c fx: asyncio.Event is not thread-safe; also the 'timeout' field was removed 2018-09-14 23:01:28 +02:00
SomberNight
d1f11f5fe9 fix #4717 2018-09-14 16:12:47 +02:00
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