0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-09 10:43:19 -05:00
bitcoin-bitcoin-core/src
Suhas Daftuar 76f74811c4 Add timeout for headers sync
At startup, we choose one peer to serve us the headers chain, until
our best header is close to caught up.  Disconnect this peer if more
than 15 minutes + 1ms/expected_header passes and our best header
is still more than 1 day away from current time.
2017-06-05 16:33:35 -04:00
..
bench Prevent warning: variable 'x' is uninitialized 2017-04-25 08:47:58 +02:00
compat Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
config
consensus [trivial] Fix typos in comments 2017-01-27 21:22:35 +01:00
crypto Add a FastRandomContext::randrange and use it 2017-03-29 11:26:08 -07:00
leveldb Merge in LevelDB 1.19 changes 2016-12-01 16:14:45 -08:00
obj
obj-test
policy Trivial: fix fee estimate write error log message 2017-04-23 10:36:26 -07:00
primitives Improved efficiency in COutPoint constructors 2017-04-28 09:33:34 +01:00
qt Merge #10093: [Qt] Don't add arguments of sensitive command to console window 2017-05-02 14:57:11 +02:00
rpc Merge #10310: [doc] Add hint about getmempoolentry to getrawmempool help. 2017-05-08 19:28:58 +02:00
script Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
secp256k1 Update libsecp256k1 to master 2016-12-12 11:08:47 -08:00
support Merge #8808: Do not shadow variables (gcc set) 2017-03-03 15:48:53 +01:00
test Merge #10280: [test] Unit test amount.h/amount.cpp 2017-04-26 23:49:39 +02:00
univalue Merge commit '2ca7faab4205822b06dc2ab2bbda0a9a70fce7e0' into HEAD 2016-09-30 19:58:11 +02:00
wallet Merge #10115: Avoid reading the old hd master key during wallet encryption 2017-05-03 09:11:45 +02:00
zmq Missing includes 2017-04-13 02:31:44 +02:00
.clang-format [doc] Remove unused clang format dev script 2017-01-28 16:57:08 +01:00
addrdb.cpp Use fsbridge for fopen and freopen 2017-04-03 12:32:32 +02:00
addrdb.h Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
addrman.cpp Merge #9792: FastRandomContext improvements and switch to ChaCha20 2017-04-24 14:28:49 +02:00
addrman.h Merge #9792: FastRandomContext improvements and switch to ChaCha20 2017-04-24 14:28:49 +02:00
amount.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
amount.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
arith_uint256.cpp Merge #8808: Do not shadow variables (gcc set) 2017-03-03 15:48:53 +01:00
arith_uint256.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
base58.cpp [trivial] Fix typos in comments 2017-03-21 19:49:08 +01:00
base58.h [trivial] Fix typos in comments 2017-01-27 21:22:35 +01:00
bitcoin-cli-res.rc
bitcoin-cli.cpp Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
bitcoin-tx-res.rc
bitcoin-tx.cpp Merge #9743: Fix several potential issues found by sanitizers 2017-04-26 12:29:05 +02:00
bitcoind-res.rc
bitcoind.cpp Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
blockencodings.cpp Change LogAcceptCategory to use uint32_t rather than sets of strings. 2017-04-01 18:53:29 +00:00
blockencodings.h [trivial] Fix typos in comments 2017-01-27 21:22:35 +01:00
bloom.cpp Fix msvc compiler error C4146 (minus operator applied to unsigned type) 2017-03-07 02:42:44 +09:00
bloom.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
chain.cpp Refactor: Remove using namespace <xxx> from src/*.cpp. 2017-01-27 18:13:20 +09:00
chain.h Merge #9908: Define 7200 second timestamp window constant 2017-03-06 10:02:05 +01:00
chainparams.cpp Remove unused code 2017-03-17 04:37:43 +01:00
chainparams.h Remove unused code 2017-03-17 04:37:43 +01:00
chainparamsbase.cpp Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
chainparamsbase.h Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
chainparamsseeds.h Pre-0.14.0 hardcoded seeds update 2017-02-10 11:04:34 +01:00
checkpoints.cpp [MOVEONLY] Move progress estimation out of checkpoints 2017-01-04 13:18:49 -08:00
checkpoints.h [MOVEONLY] Move progress estimation out of checkpoints 2017-01-04 13:18:49 -08:00
checkqueue.h Missing includes 2017-04-13 02:31:44 +02:00
clientversion.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
clientversion.h Fix build warning from #error text 2017-04-07 14:37:25 -04:00
coins.cpp [cleanup] Remove coin age priority completely. 2017-03-03 16:50:20 -05:00
coins.h Switch CCoinsMap from boost to std unordered_map 2017-04-21 05:34:14 -07:00
compat.h compat: use unsigned int instead of u_int 2017-03-05 09:51:21 +00:00
compressor.cpp
compressor.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
core_io.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
core_memusage.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
core_read.cpp Fail in DecodeHexTx if there is extra data at the end 2017-02-02 17:32:27 -05:00
core_write.cpp refactor TxToJSON() and ScriptPubKeyToJSON() 2017-04-28 10:01:56 -04:00
cuckoocache.h Merge #9533: Allow non-power-of-2 signature cache sizes 2017-04-03 13:24:34 +02:00
dbwrapper.cpp Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
dbwrapper.h Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
fs.cpp Add fs.cpp/h 2017-04-03 12:32:32 +02:00
fs.h Add fs.cpp/h 2017-04-03 12:32:32 +02:00
hash.cpp Remove redundant semicolons 2017-01-14 21:45:32 +01:00
hash.h Avoid VLA in hash.h 2017-02-17 15:28:28 -08:00
httprpc.cpp Change LogAcceptCategory to use uint32_t rather than sets of strings. 2017-04-01 18:53:29 +00:00
httprpc.h
httpserver.cpp Set BCLog::LIBEVENT correctly for old libevent versions. 2017-04-10 17:05:59 -04:00
httpserver.h Set BCLog::LIBEVENT correctly for old libevent versions. 2017-04-10 17:05:59 -04:00
indirectmap.h prepend license statement to indirectmap 2016-07-27 16:27:07 -07:00
init.cpp Merge #9966: Control mempool persistence using a command line parameter 2017-05-03 11:03:48 +02:00
init.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
key.cpp Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
key.h Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
keystore.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
keystore.h
limitedmap.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
Makefile.am [Makefile] Alphabetically Reorder addrdb.cpp 2017-04-30 13:25:39 +02:00
Makefile.bench.include Merge #9505: Prevector Quick Destruct 2017-03-14 10:43:10 +01:00
Makefile.leveldb.include Merge #8826: Do not include env_win.cc on non-Windows systems 2016-09-29 17:27:28 +02:00
Makefile.qt.include Make qt wallet test compatible with qt4 2017-03-27 14:34:38 -04:00
Makefile.qttest.include Add simple qt wallet test sending a transaction 2017-03-15 12:02:02 -05:00
Makefile.test.include Merge #9792: FastRandomContext improvements and switch to ChaCha20 2017-04-24 14:28:49 +02:00
memusage.h Add support for std::unordered_{map,set} to memusage.h 2017-04-21 05:26:23 -07:00
merkleblock.cpp Trivial: remove extra character from comment 2017-05-01 14:18:30 -07:00
merkleblock.h Fixed typo in documentation for merkleblock.h 2017-04-22 07:22:17 -04:00
miner.cpp Remove excess logic. 2017-04-10 10:24:49 +02:00
miner.h Merge #9959: Mining: Prevent slowdown in CreateNewBlock on large mempools 2017-03-30 20:55:29 +02:00
net.cpp Merge #10189: devtools/net: add a verifier for scriptable changes. Use it to make CNode::id private. 2017-05-07 10:01:51 +02:00
net.h net: make CNode's id private 2017-05-04 01:04:47 -04:00
net_processing.cpp Add timeout for headers sync 2017-06-05 16:33:35 -04:00
net_processing.h Add timeout for headers sync 2017-06-05 16:33:35 -04:00
netaddress.cpp Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
netaddress.h Remove unused C++ code not covered by unit tests 2017-04-26 21:20:02 +02:00
netbase.cpp Change LogAcceptCategory to use uint32_t rather than sets of strings. 2017-04-01 18:53:29 +00:00
netbase.h Merge #9289: net: drop boost::thread_group 2017-01-04 12:21:53 +01:00
netmessagemaker.h Net: Make CNetMsgMaker more const 2017-01-31 23:29:28 +01:00
noui.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
noui.h
pow.cpp pow: GetNextWorkRequired never called with NULL pindexLast 2017-02-15 22:11:29 +09:00
pow.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
prevector.h Merge #9505: Prevector Quick Destruct 2017-03-14 10:43:10 +01:00
protocol.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
protocol.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
pubkey.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
pubkey.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
random.cpp Merge #9792: FastRandomContext improvements and switch to ChaCha20 2017-04-24 14:28:49 +02:00
random.h Add a FastRandomContext::randrange and use it 2017-03-29 11:26:08 -07:00
rest.cpp refactor TxToJSON() and ScriptPubKeyToJSON() 2017-04-28 10:01:56 -04:00
reverselock.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
scheduler.cpp scheduler: fix sub-second precision with boost < 1.50 2017-03-31 11:54:58 -04:00
scheduler.h CScheduler boost->std::function, use millisecs for times, not secs 2017-03-06 18:33:50 -05:00
serialize.h Prevent integer overflow in ReadVarInt. 2017-02-06 02:52:27 +00:00
streams.h Fix some empty vector references 2017-04-21 05:58:31 -07:00
sync.cpp Remove unused code 2017-03-17 04:37:43 +01:00
sync.h Remove unused code 2017-03-17 04:37:43 +01:00
threadinterrupt.cpp net: add CThreadInterrupt and InterruptibleSleep 2017-01-03 17:53:09 -05:00
threadinterrupt.h net: add CThreadInterrupt and InterruptibleSleep 2017-01-03 17:53:09 -05:00
threadsafety.h
timedata.cpp Change LogAcceptCategory to use uint32_t rather than sets of strings. 2017-04-01 18:53:29 +00:00
timedata.h Merge #8808: Do not shadow variables (gcc set) 2017-03-03 15:48:53 +01:00
tinyformat.h util: Throw tinyformat::format_error on formatting error 2017-03-13 06:51:15 +01:00
torcontrol.cpp torcontrol: Use fs::path instead of std::string for private key path 2017-04-03 12:33:14 +02:00
torcontrol.h
txdb.cpp Change LogAcceptCategory to use uint32_t rather than sets of strings. 2017-04-01 18:53:29 +00:00
txdb.h Make threshold for flushing more conservative. 2017-03-31 14:30:31 -04:00
txmempool.cpp Read and Write fee estimate file directly from CBlockPolicyEstimator 2017-04-10 13:56:50 -04:00
txmempool.h Read and Write fee estimate file directly from CBlockPolicyEstimator 2017-04-10 13:56:50 -04:00
ui_interface.cpp [wallet] Add high transaction fee warnings 2016-09-26 01:11:27 +02:00
ui_interface.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
uint256.cpp uint256: replace sprintf with HexStr and reverse-iterator 2017-02-27 10:02:45 +01:00
uint256.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
undo.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
util.cpp Remove Clang workaround for Boost 1.46 2017-04-25 09:16:57 +08:00
util.h [rpc] Add logging RPC 2017-04-10 17:05:59 -04:00
utilmoneystr.cpp Refactor: Remove using namespace <xxx> from util* 2017-03-08 08:47:02 -08:00
utilmoneystr.h
utilstrencodings.cpp Refactor: Remove using namespace <xxx> from util* 2017-03-08 08:47:02 -08:00
utilstrencodings.h Wallet: Sanitise -wallet parameter 2017-02-27 20:45:18 +00:00
utiltime.cpp fix tsan: utiltime race on nMockTime 2017-04-20 06:25:15 -07:00
utiltime.h [trivial] Fix recently introduced typos in comments 2017-02-14 20:19:40 +01:00
validation.cpp Merge #10297: Simplify DisconnectBlock arguments/return value 2017-05-02 20:42:15 -07:00
validation.h Merge #9966: Control mempool persistence using a command line parameter 2017-05-03 11:03:48 +02:00
validationinterface.cpp Remove CValidationInterface::UpdatedTransaction 2017-04-13 10:36:21 -04:00
validationinterface.h Remove CValidationInterface::UpdatedTransaction 2017-04-13 10:36:21 -04:00
version.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
versionbits.cpp Don't require segwit in getblocktemplate for segwit signalling or mining 2017-03-14 06:43:37 -04:00
versionbits.h RPC: augment getblockchaininfo bip9_softforks data 2016-10-19 09:08:39 -04:00
warnings.cpp Move GetWarnings() into its own file. 2016-12-03 07:17:34 +00:00
warnings.h Move GetWarnings() into its own file. 2016-12-03 07:17:34 +00:00