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-05-13 11:41:59 +02:00
2014-10-14 15:42:01 -07:00
2014-10-13 16:57:09 +01:00
2014-10-09 10:25:30 -04:00
2014-10-09 10:25:30 -04:00
2014-09-14 12:43:56 +02:00
2014-10-08 14:58:16 -07:00
2014-09-08 20:21:35 +02:00
2014-10-14 15:42:01 -07:00
2014-10-10 11:01:00 +02:00
2014-10-08 14:58:16 -07:00
2014-10-08 14:58:16 -07:00
2014-09-16 04:12:52 +02:00
2014-10-02 06:10:19 +02:00
2014-10-02 06:10:19 +02:00
2014-09-16 04:47:55 +02:00
2014-09-14 12:43:56 +02:00
2014-10-14 11:35:17 +02:00
2014-10-03 04:29:51 +02:00
2014-10-03 04:29:51 +02:00
2014-10-14 15:42:01 -07:00
2014-10-14 15:42:01 -07:00
2014-10-02 20:26:17 +02:00
2014-10-09 10:39:29 -04:00
2014-10-14 15:42:01 -07:00
2014-10-14 15:42:01 -07:00
2014-08-28 22:25:21 +02:00
2014-09-14 12:43:56 +02:00
2014-09-18 10:15:48 +02:00
2014-09-17 13:05:41 +02:00
2014-10-03 04:29:51 +02:00
2014-10-14 15:42:01 -07:00
2014-09-14 12:43:56 +02:00
2014-08-28 22:25:21 +02:00
2014-10-08 14:58:16 -07:00
2014-09-26 15:42:04 -07:00
2014-10-03 04:29:51 +02:00
2014-10-02 10:59:28 +02:00
2014-08-26 13:25:22 +02:00
2014-10-08 14:58:16 -07:00
2014-10-08 14:58:16 -07:00
2014-10-08 14:58:16 -07:00
2014-09-01 15:35:09 +02:00
2014-09-14 12:43:56 +02:00
2014-09-25 15:24:36 +02:00
2014-08-26 13:25:22 +02:00
2014-08-26 13:25:22 +02:00
2014-08-28 22:25:21 +02:00
2014-10-14 15:42:01 -07:00
2014-10-13 13:57:07 +02:00
2014-10-13 13:57:07 +02:00
2014-10-13 13:57:07 +02:00
2014-10-03 04:29:51 +02:00