Pieter Wuille
341735eb8f
Headers-first synchronization
...
Many changes:
* Do not use 'getblocks', but 'getheaders', and use it to build a headers tree.
* Blocks are fetched in parallel from all available outbound peers, using a
limited moving window. When one peer stalls the movement of the window, it is
disconnected.
* No more orphan blocks. At all. We only ever request a block for which we have
verified the headers, and store it to disk immediately. This means that a
disk-fill attack would require PoW.
* Require protocol version 31800 for every peer (released in december 2010).
* No more syncnode (we sync from everyone we can, though limited to 1 during
initial *headers* sync).
* Introduce some extra named constants, comments and asserts.
2014-10-14 15:42:01 -07:00
..
2014-10-14 15:42:01 -07:00
2014-10-02 22:20:23 +02:00
2014-08-26 17:41:33 +02:00
2014-09-05 13:23:21 +02:00
2014-07-18 23:21:50 +02:00
2013-11-14 19:58:00 +01:00
2014-07-01 15:21:17 +02:00
2014-06-24 17:23:05 -07:00
2013-11-14 19:58:00 +01:00
2014-06-10 15:53:21 -04:00
2014-10-10 11:00:59 +02:00
2014-08-26 17:41:33 +02:00
2014-01-29 14:15:55 +01:00
2014-01-29 14:15:55 +01:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-10-10 11:00:59 +02:00
2014-10-10 11:00:59 +02:00
2014-10-02 22:20:23 +02:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-08-29 15:23:13 -04:00
2014-06-12 13:19:12 +02:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2013-11-18 08:16:12 +01:00
2013-11-18 08:16:12 +01:00
2013-12-17 07:56:40 +01:00
2013-11-14 19:58:00 +01:00
2014-08-28 23:14:10 +02:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-08-04 21:09:38 +02:00
2014-09-18 14:11:44 +02:00
2014-07-30 16:04:40 -04:00
2013-12-17 07:56:40 +01:00
2014-06-05 16:05:43 -04:00
2014-10-10 11:00:59 +02:00
2014-10-10 11:00:59 +02:00
2014-05-23 14:00:14 -03:00
2014-06-23 14:04:38 -04:00
2013-12-04 13:18:09 +10:00
2014-09-18 14:11:44 +02:00
2014-09-18 14:11:44 +02:00
2014-01-06 16:19:04 +01:00
2014-10-07 12:33:45 +02:00
2014-09-26 15:42:04 -07:00
2014-10-01 11:06:41 +02:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-06-12 13:19:12 +02:00
2014-08-10 02:28:23 +02:00
2014-08-04 15:46:18 +02:00
2014-01-29 14:15:55 +01:00
2014-01-29 14:15:55 +01:00
2014-05-06 12:52:21 +02:00
2014-09-18 14:11:44 +02:00
2014-06-23 14:04:38 -04:00
2014-06-03 15:01:50 +02:00
2014-09-02 02:27:03 +02:00
2014-09-02 09:58:09 +02:00
2014-10-14 15:42:01 -07:00
2014-09-18 14:11:44 +02:00
2014-10-01 11:06:41 +02:00
2014-09-26 15:42:04 -07:00
2014-07-23 17:58:47 +02:00
2013-11-24 16:30:14 +01:00
2014-06-23 15:11:28 +02:00
2013-11-14 19:58:00 +01:00
2014-10-10 11:56:58 +02:00
2014-10-10 11:00:59 +02:00
2014-09-26 15:42:04 -07:00
2014-06-03 15:01:50 +02:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-10-03 04:29:51 +02:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-08-11 21:38:36 +02:00
2014-09-26 15:42:04 -07:00
2014-08-11 21:38:36 +02:00
2014-09-22 10:13:52 +02:00
2014-09-22 10:13:52 +02:00
2013-11-13 09:22:00 +01:00
2013-11-13 09:22:00 +01:00
2014-10-03 04:29:51 +02:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-09-26 15:42:04 -07:00
2014-10-01 11:06:41 +02:00
2014-09-26 15:42:04 -07:00
2014-07-04 17:16:36 +02:00
2014-04-15 11:57:55 +02:00