elements/src
Gregory Maxwell b69d8b2b27 Be more aggressive in connecting to peers with relevant services.
Only allow skipping relevant services until there are four outbound
 connections up.

This avoids quickly filling up with peers lacking the relevant
 services when addrman has few or none of them.

Github-Pull: #8949
Rebased-From: 9583477288
2016-11-01 11:48:15 -04:00
..
bench Merge #8115: Avoid integer division in the benchmark inner-most loop. 2016-05-31 15:10:03 +02:00
compat Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
config
consensus Define start and end time for segwit deployment 2016-10-17 16:52:31 +02:00
crypto crypto: add AES 128/256 CBC classes 2016-05-13 10:23:03 +02:00
leveldb Update LevelDB 2015-11-04 23:46:47 +01:00
obj
obj-test
policy Require compressed keys in segwit as policy and disable signing with uncompressed keys for segwit scripts 2016-10-17 14:10:58 +02:00
primitives Use __func__ to get function name for output printing 2016-09-21 02:43:47 +00:00
qt qt: periodic translation update 2016-10-17 16:16:20 +02:00
rpc rpc: Generate auth cookie in hex instead of base64 2016-11-01 11:48:15 -04:00
script Fix ismine and addwitnessaddress: no uncompressed keys in segwit 2016-10-17 14:10:59 +02:00
secp256k1 Merge commit '5ad5463093' into HEAD 2015-11-24 09:22:18 +01:00
support Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
test test segwit uncompressed key fixes 2016-10-17 14:16:08 +02:00
univalue Merge commit '60ab9b2006' 2016-06-10 15:19:51 +02:00
wallet Fix ismine and addwitnessaddress: no uncompressed keys in segwit 2016-10-17 14:10:59 +02:00
zmq [doc] Fix typos in comments, doxygen: Fix comment syntax 2016-09-21 02:43:47 +00:00
.clang-format [trivial] clang-format: Set AlignAfterOpenBracket: false 2015-11-05 23:28:02 +01:00
addrman.cpp Introduce enum ServiceFlags for service flags 2016-06-13 17:40:16 +02:00
addrman.h Introduce enum ServiceFlags for service flags 2016-06-13 17:40:16 +02:00
amount.cpp [amount] Add support for negative fee rates 2016-04-08 19:59:53 +02:00
amount.h [amount] Add support for negative fee rates 2016-04-08 19:59:53 +02:00
arith_uint256.cpp src/arith_256.cpp: bigendian compatibility 2015-03-06 17:21:59 +01:00
arith_uint256.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
base58.cpp CBase58Data::SetString: cleanse the full vector 2016-04-21 18:28:57 -07:00
base58.h add bip32 pubkey serialization 2016-04-14 20:56:33 +02:00
bitcoin-cli-res.rc Unify package name to as few places as possible without major changes 2015-12-14 02:11:10 +00:00
bitcoin-cli.cpp bitcoin-cli.cpp: Use symbolic constant for exit code 2016-05-02 22:33:04 +05:45
bitcoin-tx-res.rc Update Windows resource files (and add one for bitcoin-tx) 2015-05-22 02:56:55 +00:00
bitcoin-tx.cpp [RPC] signrawtransaction can sign P2WSH 2016-06-22 15:43:01 +02:00
bitcoind-res.rc Update Windows resource files (and add one for bitcoin-tx) 2015-05-22 02:56:55 +00:00
bitcoind.cpp Merge branch 'master' into single_prodname 2016-02-03 05:41:13 +00:00
blockencodings.cpp Use cmpctblock type 2 for segwit-enabled transfer 2016-10-13 20:15:17 +02:00
blockencodings.h Use cmpctblock type 2 for segwit-enabled transfer 2016-10-13 20:15:17 +02:00
bloom.cpp More efficient bitsliced rolling Bloom filter 2016-04-28 14:56:32 +02:00
bloom.h More efficient bitsliced rolling Bloom filter 2016-04-28 14:56:32 +02:00
chain.cpp chain: Add assertion in case of missing records in index db 2016-04-27 11:11:36 +02:00
chain.h [doc] Fix typos in comments, doxygen: Fix comment syntax 2016-09-21 02:43:47 +00:00
chainparams.cpp My DNS seed supports filtering 2016-10-17 19:43:40 +02:00
chainparams.h Allow changing BIP9 parameters on regtest 2016-09-26 16:46:19 +02:00
chainparamsbase.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
chainparamsbase.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
chainparamsseeds.h net: Hardcoded seeds update January 2016 2016-01-25 16:14:14 +01:00
checkpoints.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
checkpoints.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
checkqueue.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
clientversion.cpp build: Get rid of CLIENT_DATE 2016-06-09 13:34:09 +02:00
clientversion.h Bump version to 0.13.1 2016-10-18 00:15:59 +02:00
coincontrol.h Add more clear interface for CoinControl.h regarding individual feerate 2016-05-06 11:01:50 +02:00
coins.cpp Use C++11 thread-safe static initializers 2016-06-07 16:29:03 +02:00
coins.h Use C++11 thread-safe static initializers 2016-06-07 16:29:03 +02:00
compat.h don't run ThreadMessageHandler at lowered priority 2016-05-05 13:25:35 -07:00
compressor.cpp Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
compressor.h Fix OOM bug: UTXO entries with invalid script length 2016-04-25 14:42:07 +02:00
core_io.h BIP144: Serialization, hashes, relay (sender side) 2016-06-22 15:42:59 +02:00
core_memusage.h Rename CTxinWitness -> CTxInWitness 2016-07-06 19:46:46 -04:00
core_read.cpp BIP144: Serialization, hashes, relay (sender side) 2016-06-22 15:42:59 +02:00
core_write.cpp Update bitcoin-tx to output witness data. 2016-10-13 20:35:33 +02:00
dbwrapper.cpp dbwrapper: Move HandleError to dbwrapper_private 2016-04-23 09:32:25 +02:00
dbwrapper.h dbwrapper: Move HandleError to dbwrapper_private 2016-04-23 09:32:25 +02:00
hash.cpp Support SipHash with arbitrary byte writes 2016-06-07 16:20:40 +02:00
hash.h Support SipHash with arbitrary byte writes 2016-06-07 16:20:40 +02:00
httprpc.cpp Make sure LogPrintf strings are line-terminated 2016-03-01 14:59:30 +01:00
httprpc.h evhttpd implementation 2015-09-03 10:59:18 +02:00
httpserver.cpp http: use std::move to move HTTPRequest into HTTPWorkItem 2016-05-05 08:27:12 +02:00
httpserver.h Fix a type error that would not compile on Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) 2016-09-21 02:43:47 +00:00
indirectmap.h prepend license statement to indirectmap 2016-09-21 02:43:47 +00:00
init.cpp Allow changing BIP9 parameters on regtest 2016-09-26 16:46:19 +02:00
init.h [Wallet] refactor wallet/init interaction 2016-03-22 08:20:59 +01:00
key.cpp Always require OS randomness when generating secret keys 2016-05-29 01:52:17 +02:00
key.h add bip32 pubkey serialization 2016-04-14 20:56:33 +02:00
keystore.cpp Fix for incorrect locking in GetPubKey() (keystore.cpp) 2016-04-20 16:04:28 +03:00
keystore.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
limitedmap.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
main.cpp Add standard limits for P2WSH with tests 2016-10-17 14:10:58 +02:00
main.h various typos 2016-09-21 02:43:47 +00:00
Makefile.am Add partial-block block encodings API 2016-06-19 01:34:57 -07:00
Makefile.bench.include bench: Added base58 encoding/decoding benchmarks 2016-05-27 05:32:58 +03:00
Makefile.leveldb.include build: out-of-tree fixups 2016-06-01 20:31:55 -04:00
Makefile.qt.include qt: Periodic translations update 2016-10-13 12:34:15 +02:00
Makefile.qttest.include Build: Consensus: Move consensus files from common to its own module/package 2015-12-08 06:30:14 +01:00
Makefile.test.include Merge #8275: Remove bad chain alert partition check 2016-07-06 07:35:54 +02:00
memusage.h Add support for unique_ptr and shared_ptr to memusage 2016-06-05 00:31:35 +02:00
merkleblock.cpp BIP141: Other consensus critical limits, and BIP145 2016-06-22 15:43:00 +02:00
merkleblock.h Add importprunedfunds rpc call 2016-03-23 10:40:38 -04:00
miner.cpp Scale legacy sigop count in CreateNewBlock 2016-07-25 18:08:41 +02:00
miner.h Rename "block cost" to "block weight" 2016-07-19 12:10:28 +02:00
net.cpp Be more aggressive in connecting to peers with relevant services. 2016-11-01 11:48:15 -04:00
net.h Added feeler connections increasing good addrs in the tried table. 2016-09-07 16:17:40 +02:00
netbase.cpp Randomize name lookup result in ConnectSocketByName 2016-06-13 23:53:08 +02:00
netbase.h net: disable resolving from storage structures 2016-04-20 13:08:19 -04:00
noui.cpp Do not ask a UI question from bitcoind 2016-06-24 16:45:12 +02:00
noui.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
pow.cpp Deprecating the remaining LogPrintf dependencies that were made obsolete in PR #7459. 2016-04-27 22:36:45 -04:00
pow.h Merge #7311: MOVEONLY: Move non-consensus functions out of pow 2016-02-02 14:16:16 +01:00
prevector.h prevector::swap: fix (unreached) data corruption 2016-04-16 08:05:11 -07:00
protocol.cpp BIP144: Serialization, hashes, relay (sender side) 2016-06-22 15:42:59 +02:00
protocol.h BIP144: Handshake and relay (receiver side) 2016-06-22 15:42:59 +02:00
pubkey.cpp add bip32 pubkey serialization 2016-04-14 20:56:33 +02:00
pubkey.h add bip32 pubkey serialization 2016-04-14 20:56:33 +02:00
random.cpp Don't use assert for catching randomness failures 2016-05-29 01:52:25 +02:00
random.h Always require OS randomness when generating secret keys 2016-05-29 01:52:17 +02:00
rest.cpp rpc: Register calls where they are defined 2016-03-31 10:48:32 +02:00
reverselock.h c++11: don't throw from the reverselock destructor 2016-01-05 17:17:29 -05:00
scheduler.cpp Notify other serviceQueue thread we are finished to prevent deadlocks. 2016-05-06 20:44:40 +02:00
scheduler.h More robust CScheduler unit test 2015-05-16 17:59:23 -04:00
serialize.h Trivial: Fix two VarInt examples in serialize.h 2016-09-21 02:43:47 +00:00
streams.h BIP144: Serialization, hashes, relay (sender side) 2016-06-22 15:42:59 +02:00
sync.cpp Clean up lockorder data of destroyed mutexes 2016-04-10 14:27:10 +02:00
sync.h Clean up lockorder data of destroyed mutexes 2016-04-10 14:27:10 +02:00
threadsafety.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
timedata.cpp P2P: add maxtimeadjustment command line option 2016-03-29 14:40:00 +00:00
timedata.h P2P: add maxtimeadjustment command line option 2016-03-29 14:40:00 +00:00
tinyformat.h tinyformat: force USE_VARIADIC_TEMPLATES 2016-05-04 11:37:10 +02:00
torcontrol.cpp Merge #7703: tor: Change auth order to only use password auth if -torpassword 2016-06-08 13:09:41 +02:00
torcontrol.h torcontrol improvements and fixes 2015-11-12 17:58:15 +01:00
txdb.cpp Merge #7815: Break circular dependency main ↔ txdb 2016-05-06 10:03:09 +02:00
txdb.h Bump -dbcache default to 300MiB 2016-07-06 07:44:51 +02:00
txmempool.cpp Use cmpctblock type 2 for segwit-enabled transfer 2016-10-13 20:15:17 +02:00
txmempool.h Use cmpctblock type 2 for segwit-enabled transfer 2016-10-13 20:15:17 +02:00
ui_interface.cpp [ui] Move InitError, InitWarning, AmountErrMsg 2016-04-02 15:26:21 +02:00
ui_interface.h Do not ask a UI question from bitcoind 2016-06-24 16:45:12 +02:00
uint256.cpp Use SipHash-2-4 for CCoinsCache index 2016-05-17 20:04:46 +02:00
uint256.h Use SipHash-2-4 for CCoinsCache index 2016-05-17 20:04:46 +02:00
undo.h Bump copyright headers to 2014 2016-01-05 21:01:39 +01:00
util.cpp [util] CopyrightHolders: Check for untranslated substitution 2016-09-07 16:20:36 +02:00
util.h Use std::atomic for fRequestShutdown and fReopenDebugLog 2016-06-01 19:18:25 +02:00
utilmoneystr.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
utilmoneystr.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
utilstrencodings.cpp util: Add ParseUInt32 and ParseUInt64 2016-06-08 10:28:51 +02:00
utilstrencodings.h util: Add ParseUInt32 and ParseUInt64 2016-06-08 10:28:51 +02:00
utiltime.cpp [doc] Fix doxygen comments for members 2016-04-03 11:58:01 +02:00
utiltime.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
validationinterface.cpp include the chaintip *blockIndex in the SyncTransaction signal 2015-12-04 09:18:53 +01:00
validationinterface.h Merge #6480: include the chaintip blockindex in the SyncTransaction signal, add signal UpdateTip() 2016-02-04 17:03:09 +01:00
version.h Add protocol messages for short-ids blocks 2016-06-19 01:34:57 -07:00
versionbits.cpp BIP141: Commitment structure and deployment 2016-06-22 15:42:59 +02:00
versionbits.h getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not 2016-06-06 17:10:23 +00:00