Commit graph

130 commits

Author SHA1 Message Date
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
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
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
SomberNight
2187615c08
verifier: request proofs in batches 2018-09-06 14:17:43 +02:00
SomberNight
14a032a0b1
disconnect from servers on exception 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
f12074397f
aiorpcx: reintroduce periodic fee updates 2018-09-06 14:17:39 +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
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
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
1bb1fc37f4
network: don't ask for block -1 if server is on wrong chain 2018-08-30 19:25:42 +02:00
SomberNight
531cdeffa9
blockchain.py: rename 'checkpoint' to 'forkpoint' 2018-08-03 18:25:53 +02:00
SomberNight
f64062b6f1
add --noonion option to filter out onion servers
closes #4531
2018-07-31 20:25:53 +02:00
SomberNight
eaf72aa951
network: handle one-block-long fork
also add fixme about incorrect behaviour in case of a fork height higher than our local chain tip
2018-07-29 04:00:02 +02:00
ghost43
0d05b84dc3
network: handle reorg (sooner) in case of multiple forks at given height (#4537) 2018-07-29 03:56:10 +02:00
SomberNight
0100af9389
fix #4572 2018-07-19 13:59:38 +02:00
Janus
780b2d067c Whitelist classes in verbose (-v) option 2018-07-19 01:21:33 +02:00
SomberNight
b44aca1654
network: disconnect from server on incorrect header length
fix #4522
2018-07-13 18:11:48 +02:00
Janus
097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00
Renamed from lib/network.py (Browse further)