]> Git Repo - VerusCoin.git/commit - src/version.h
Headers-first synchronization
authorPieter Wuille <[email protected]>
Fri, 11 Jul 2014 22:02:35 +0000 (00:02 +0200)
committerPieter Wuille <[email protected]>
Tue, 14 Oct 2014 22:42:01 +0000 (15:42 -0700)
commit341735eb8f42e898cf9d4d130709471e5d01abe2
tree7986b1d3056a776e3423d75353b3282a99edbd44
parent992ab87114b8c9ea8230e97a9c8d8bd71939074d
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.
src/chain.h
src/main.cpp
src/main.h
src/net.cpp
src/net.h
src/qt/forms/rpcconsole.ui
src/qt/rpcconsole.cpp
src/rpcnet.cpp
src/version.h
This page took 0.027649 seconds and 4 git commands to generate.