Commit Graph

303 Commits

Author SHA1 Message Date
WakiyamaP 0791b469e7 fix download failed blockchain headers 2017-09-08 10:57:22 +09:00
ThomasV 70af22c9e4 update scripts/servers to display server version 2017-09-07 09:41:21 +02:00
ThomasV 216e9403be cleanup six (no python2 support) 2017-09-04 14:43:31 +02:00
ThomasV 5f1d9cbcf5 separate network layer from synchronizer 2017-08-31 09:59:29 +02:00
ThomasV e02687bcf2 python3 updates 2017-08-26 08:28:24 +02:00
ThomasV ab15ff3a00 updates for python3 2017-08-26 08:28:24 +02:00
ThomasV 65aeb0bd3c fix 5e7169bf355f2ac3ec8791c4768f0cd971e1640d 2017-08-26 08:28:24 +02:00
Johann Bauer 8e54d5c4d4 Make proxies work 2017-08-26 08:28:24 +02:00
ThomasV c3388d9677 misc python3 updates:
- use jsonrpclib-pelix
 - update the kivy gui
 - update plugins
2017-08-26 08:28:24 +02:00
Dmitry Sorokin d304ccdf17 py3 in qtgui 2017-08-26 08:27:47 +02:00
Dmitry Sorokin 5be78950ca py3 2017-08-26 08:27:47 +02:00
ThomasV 169ca85a01 fix #2719 2017-08-10 03:45:10 +02:00
ThomasV 72706f8219 network: connection_down if interface fails to connect chunk 2017-08-04 15:34:23 +02:00
ThomasV 5872bd4722 force new headers download if file is corrupted 2017-08-03 14:25:50 +02:00
ThomasV 57013ca985 update blockchain size after initial file download 2017-08-03 07:11:27 +02:00
ThomasV 311f9eda17 close connection if server sends invalid headers 2017-07-26 14:55:39 +02:00
ThomasV 5f3e5866ad blockchain write method, that flushes file 2017-07-25 10:03:15 +02:00
ThomasV d71c9d5be3 make blockchain.size() threadsafe 2017-07-24 15:54:42 +02:00
ThomasV d5d5e8af5c fix: handle multiple forks at same checkpoint 2017-07-24 08:46:49 +02:00
ThomasV 313d53fe0b save header immediately when forking a chain 2017-07-21 07:52:38 +02:00
ThomasV c522c6b4d0 blockchain: store reference to parent_id instead of parent, so that it gets updated after swap 2017-07-20 15:05:47 +02:00
ThomasV 1457a869d3 network: call switch_lagging after catch up 2017-07-19 18:32:48 +02:00
ThomasV ad8a6f3eff fix: do not request beyond tip 2017-07-19 17:33:05 +02:00
ThomasV feb0f483f5 fix bug if headers file is empty 2017-07-19 17:23:46 +02:00
ThomasV 97343d95e5 speed-up search by starting at own height 2017-07-19 16:28:17 +02:00
ThomasV 0891798d1b minor fix 2017-07-19 11:57:15 +02:00
ThomasV b424a83a57 add blockchain.get_name method, update kivy gui 2017-07-19 09:29:20 +02:00
ThomasV 814792eee1 show only active chains 2017-07-18 21:37:04 +02:00
ThomasV 50ad656c87 blockchain: swap a chain with its parent, if the parent branch is too short to be saved on disk 2017-07-18 18:10:22 +02:00
ThomasV 637d52ce58 don't request headers beyond tip 2017-07-18 14:11:22 +02:00
ThomasV 214e2b89c2 network: use interface.bad_header 2017-07-18 09:21:49 +02:00
ThomasV ef1120b80c fix typo 2017-07-17 21:38:09 +02:00
ThomasV 702abf6581 simplification: do not request checkpoint, check headers against all known blockchains 2017-07-17 19:32:10 +02:00
ThomasV 3d4c64f9e0 improve blockchain search 2017-07-17 12:22:25 +02:00
ThomasV 2a10d3075e rm dead code 2017-07-17 11:25:05 +02:00
ThomasV 8260dfdbe7 network: use check_headers for binary search 2017-07-17 11:19:42 +02:00
ThomasV acd0ea3ff3 cleanup dead code 2017-07-17 09:51:31 +02:00
ThomasV 65bce569e4 network: interface.tip_header 2017-07-17 09:32:12 +02:00
ThomasV b0277d5426 blockchain: size method, various fixes 2017-07-17 08:44:09 +02:00
ThomasV 43c5657cb6 blockchain: parent pointer and recursive methods 2017-07-15 17:20:06 +02:00
ThomasV cf84068fdb blockchain fixes 2017-07-15 13:51:40 +02:00
ThomasV 37143fd628 fix blockchain offset 2017-07-14 06:20:05 +02:00
ThomasV ba2211f52e network dialog: refresh display on each new header 2017-07-13 17:23:24 +02:00
ThomasV bf7deaa1fb remove blockchain fork detection threshold 2017-07-13 16:23:41 +02:00
ThomasV e6116db565 network: minor fix 2017-07-13 09:31:27 +02:00
ThomasV 73b023e967 update network settings dialog of the kivy GUI 2017-07-11 18:04:33 +02:00
ThomasV 9b7102aed1 make fork_threshold configurable, fix backward mode 2017-07-08 16:45:09 +02:00
ThomasV 680e9a5552 network: go back if cannot connect during catch_up 2017-07-08 16:18:37 +02:00
ThomasV 568c14ca78 Refactor Network and Blockchain dialogs in qt and kivy 2017-07-08 11:38:32 +02:00
ThomasV 6b872b68bd hardcode another testnet server 2017-07-04 13:03:31 +02:00