Commit Graph

2032 Commits

Author SHA1 Message Date
SomberNight 7500b1fbee detect lost connection
supersedes #4697
2018-09-07 20:26:45 +02:00
SomberNight 56c3c76d8b follow-up 26172686b8 2018-09-07 19:54:26 +02:00
SomberNight fd40dee337 make sure to retry nodes for network 2018-09-07 19:35:35 +02:00
SomberNight 26172686b8 restructure synchronizer/verifier <--> interface coupling 2018-09-07 19:34:28 +02:00
SomberNight 1fa07c920c network: restore previous API for broadcast_transaction 2018-09-07 17:07:15 +02:00
Janus 52b877ac3d network: add singleton accessor classmethod, port trustedcoin to aiohttp 2018-09-07 11:35:16 +02:00
Janus 617103bb2a labels: fix saving single label 2018-09-06 18:30:24 +02:00
SomberNight dc51e82f54 fx: don't dump trace if getting rates fails 2018-09-06 18:25:23 +02:00
Johann Bauer e5cd2ed52f Goldcard: Change spelling mistake 2018-09-06 18:15:44 +02:00
SomberNight 8467f95a28 rm @profiler from Transaction.estimated_size
in certain situations, estimated_size is called hundreds of times, flooding the log
2018-09-06 17:51:13 +02:00
ThomasV 8fe066707a rm import 2018-09-06 17:47:10 +02:00
Janus 573760daf0 remove generated kivy theming 2018-09-06 17:25:11 +02:00
ThomasV 73bf7a92a2 Merge pull request #4690 from spesmilo/aiorpcx-fx
asyncio: port exchange_rate and labels to aiohttp
2018-09-06 17:18:55 +02:00
Janus be50394f11 aiorpcx: increase crash reporter timeout, avoid is_running in kivy 2018-09-06 17:18:26 +02:00
SomberNight 0ad504bdf0 interface: catch many common exceptions explicitly 2018-09-06 16:45:43 +02:00
Janus 6e80ba7b4f asyncio: labels, crash_reporter, fx: migrate requests use to aiohttp 2018-09-06 16:18:45 +02:00
ThomasV 5ef04a039b move NotificationSession 2018-09-06 15:53:41 +02:00
ThomasV 234273809a set interface.session before marking as ready 2018-09-06 15:44:11 +02:00
SomberNight 0142e0fa22 fix 'daemon load_wallet' over RPC for python > 3.5.3
related: #3764
2018-09-06 15:14:35 +02:00
Janus d367199553 async block headers: remove BlockHeaderInterface and Conn classes, make self.height a local 2018-09-06 14:17:45 +02:00
Janus 9c363db440 async block headers: avoid duplicate tip fields, handle electrumx server skipping blocks 2018-09-06 14:17:44 +02:00
SomberNight 4d95452ae7 wallet: partial fix for race in on_default_server_changed 2018-09-06 14:17:44 +02:00
SomberNight 2187615c08 verifier: request proofs in batches 2018-09-06 14:17:43 +02:00
Janus c89020725b address synchronizer: fetch initial addresses from wallet 2018-09-06 14:17:43 +02:00
SomberNight 14a032a0b1 disconnect from servers on exception 2018-09-06 14:17:42 +02:00
SomberNight 3f0d79f07d blockchain.py: better handling of missing headers. more restrictive verify_chunk. 2018-09-06 14:17:42 +02:00
SomberNight 2157eae499 fix request_chunk 2018-09-06 14:17:41 +02:00
Janus e9ceeb85af async block headers 2018-09-06 14:17:41 +02:00
Janus 19387ff911 aiorpcx: simplify open_session 2018-09-06 14:17:39 +02:00
Janus f12074397f aiorpcx: reintroduce periodic fee updates 2018-09-06 14:17:39 +02:00
SomberNight a4ffa0b22a interface: clean-up proxy username/pw handling 2018-09-06 14:17:38 +02:00
SomberNight 6700364ac8 interface: fix cert handling
notably os.unlink cannot be inside the "with open"
2018-09-06 14:17:38 +02:00
Janus 9543a108be aiorpcx: revive some maintain_sockets code, reintroduce NODES_RETRY_INTERVAL and SERVER_RETRY_INTERVAL usage, and fix --oneserver 2018-09-06 14:17:37 +02:00
ThomasV 5117a520ae fix start_network 2018-09-06 14:17:37 +02:00
Janus 9bfb5fe71f address synchronizer: use aiorpcx session object in network's interface,
request, fees
2018-09-06 14:17:36 +02:00
Janus 8f36c9167d aiorpcx: remove callback based code, add session to Interface 2018-09-06 14:17:29 +02:00
Janus b120584f97 aiorpcx address synchronizer 2018-09-06 14:11:36 +02:00
Janus f733cb8947 aiorpcx: socks support 2018-09-06 14:11:36 +02:00
ThomasV c53caecd1e fix else statement 2018-09-06 14:11:35 +02:00
Janus 89a01a6463 aiorpcx: pin certificates 2018-09-06 14:11:35 +02:00
Janus 8080a713b2 aiorpcx: pass ssl context, sleep after connecting 2018-09-06 14:11:34 +02:00
Janus 97ea0fc439 aiorpcx: replace network loop with asyncio and try to maintain ten sessions 2018-09-06 14:11:20 +02:00
SomberNight 40ceabff79 rm redundant function from util 2018-09-05 18:36:13 +02:00
SomberNight 69a204d726 fix #4657 2018-09-05 18:30:53 +02:00
ThomasV 951fd8a47f bump apk version number 2018-09-05 15:33:31 +02:00
SomberNight 1e3c3a528c attempt at fixing wallet syncing crash
fix #3998
fix #4689
2018-09-05 15:22:57 +02:00
Janus 73e367dc3b wallet: don't cache NaN coin price
if NaN coin price is cached, historial acquisition prices are not shown
correctly since the historial prices are requested after the full
history is initially shown. As such, "No data" will be shown, even
though the user required using historical pricing.
2018-09-05 14:38:43 +02:00
SomberNight 1ec71cbaca follow-up prev
fix #4078
2018-09-04 16:42:08 +02:00
SomberNight 7d84409628 fix #4078 2018-09-04 16:31:35 +02:00
ThomasV 56e7ba41c4 prepare release 3.2.3 and release notes 2018-09-03 14:57:29 +02:00