bitcoin/src
Pieter Wuille 0aa89c08ff Prevent stuck block download in large reorganisations
In cases of very large reorganisations (hundreds of blocks), a situation
may appear where an 'inv' is sent as response to a 'getblocks', but the
last block mentioned in the inv is already known to the receiver node.
However, the supplying node uses a request for this last block as a
trigger to send the rest of the inv blocks. If it never comes, the block
chain download is stuck.

This commit makes the receiver node always request the last inv'ed block,
even if it is already known, to prevent this problem.
2012-03-21 05:09:02 +01:00
..
json Back out spacing changes to json spirit code 2012-01-19 14:32:45 -05:00
obj Boost unit-testing framework. 2011-06-27 14:12:48 -04:00
obj-test Rename src/obj/test to src/obj-test to workaround bug in older GNU Make 2012-01-23 14:27:08 -05:00
qt Proper support for Growl 1.3 notifications 2012-03-20 12:54:51 -04:00
test DoS fix for mapOrphanTransactions 2012-02-29 11:46:46 -05:00
base58.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
bignum.h Workaround for BN_bn2mpi reading/writing out of bounds 2012-02-18 13:32:25 +01:00
bitcoinrpc.cpp Resolves issue #922 - "wallet passphrase timeout of several years doesn't work" 2012-03-10 17:38:37 -05:00
bitcoinrpc.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
checkpoints.cpp Checkpoint block 168,000 2012-02-23 13:33:30 -05:00
checkpoints.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
compat.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
crypter.cpp Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
crypter.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
db.cpp Print more diagnostic info for the various DB_CORRUPT conditions 2012-03-12 14:01:15 -04:00
db.h bitcoind changes to stop storing settings in wallet.dat. 2012-02-26 23:21:33 +01:00
headers.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
init.cpp Print wallet load errors (to debug.log) 2012-03-11 17:57:47 -04:00
init.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
irc.cpp Fix #626: RecvLine wrong error message 2012-02-19 19:06:42 +01:00
irc.h Fix #626: RecvLine wrong error message 2012-02-19 19:06:42 +01:00
key.cpp Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
key.h Merge pull request #864 from sipa/fix_856 2012-02-19 18:21:19 -08:00
keystore.cpp Move GenerateNewKey back to CWallet 2012-02-18 15:42:38 +01:00
keystore.h Move GenerateNewKey back to CWallet 2012-02-18 15:42:38 +01:00
main.cpp Prevent stuck block download in large reorganisations 2012-03-21 05:09:02 +01:00
main.h Bump CLIENT_VERSION for rc4 release 2012-03-16 15:08:57 -04:00
makefile.linux-mingw Compile with extra warnings turned on. And more makefile/code tidying up. 2012-01-12 20:02:47 -05:00
makefile.mingw Compile with extra warnings turned on. And more makefile/code tidying up. 2012-01-12 20:02:47 -05:00
makefile.osx Support makefile.osx building test_bitcoin with dynamic boost 2012-01-23 15:58:06 -05:00
makefile.unix Properly include $*_LIB_PATH in makefile.unix 2012-02-15 16:39:02 -05:00
mruset.h Add mruset and use it for setInventoryKnown 2012-02-27 21:04:32 +01:00
net.cpp fix typo src/net.cpp 2012-03-05 19:33:24 +01:00
net.h Add mruset and use it for setInventoryKnown 2012-02-27 21:04:32 +01:00
netbase.cpp fix typo in CNetAddr::IsRFC4843() (fixes #850) 2012-02-17 14:40:21 +01:00
netbase.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
noui.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
protocol.cpp Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
protocol.h Post-feb20 simplifications 2012-02-21 20:46:39 +01:00
qtui.h Add support for opening bitcoin: URIs directly. 2012-01-05 00:29:28 -05:00
rpcdump.cpp Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
script.cpp Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
script.h Update all copyrights to 2012 2012-02-07 11:28:30 -05:00
serialize.h Fix compilation warning. 2012-02-18 01:22:22 -05:00
strlcpy.h move back to original directory structure 2011-06-11 22:11:58 +02:00
uint256.h Fix #616: remove base_uint::operator&=(uint64 b) 2012-02-19 19:12:41 +01:00
util.cpp Merge branch '2012_02_getspecialfolderpath_overflow' of https://github.com/laanwj/bitcoin 2012-02-28 11:45:14 -05:00
util.h Resolves issue #922 - "wallet passphrase timeout of several years doesn't work" 2012-03-10 17:38:37 -05:00
wallet.cpp Merge pull request #864 from sipa/fix_856 2012-02-19 18:21:19 -08:00
wallet.h Move GenerateNewKey back to CWallet 2012-02-18 15:42:38 +01:00