aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2016-08-26Merge #8561: Show "end" instead of many zeros when getheaders request ↵Wladimir J. van der Laan
received with a hashStop of Null 259ee09 Show "end" instead of many zeros when getheaders request received with a hashStop of Null. (R E Broadley)
2016-08-25Merge #8462: Move AdvertiseLocal debug output to net categoryPieter Wuille
f13c1ba Move AdvertiseLocal debug output to net category (Michael Rotarius)
2016-08-25Merge #7579: [Qt] show network/chain errors in the GUIJonas Schnelli
2f32c82 [Qt] show network/chain errors in the GUI (Jonas Schnelli)
2016-08-25Merge #8282: net: Feeler connections to increase online addrs in the tried ↵Wladimir J. van der Laan
table. dbb1f64 Added feeler connections increasing good addrs in the tried table. (Ethan Heilman)
2016-08-23Added feeler connections increasing good addrs in the tried table.Ethan Heilman
Tests if addresses are online or offline by briefly connecting to them. These short lived connections are referred to as feeler connections. Feeler connections are designed to increase the number of fresh online addresses in tried by selecting and connecting to addresses in new. One feeler connection is attempted on average once every two minutes. This change was suggested as Countermeasure 4 in Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman, Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report 2015/263. March 2015.
2016-08-23Show "end" instead of many zeros when getheaders request received with a ↵R E Broadley
hashStop of Null.
2016-08-22Merge #8548: [wallet] Use __func__ to get function name for output printingWladimir J. van der Laan
fa785d1 Use __func__ to get function name for output printing (MarcoFalke)
2016-08-19Use __func__ to get function name for output printingMarcoFalke
2016-08-17Merge #8505: Trivial: Fix typos in various filesWladimir J. van der Laan
1aacfc2 various typos (leijurv)
2016-08-14various typosleijurv
2016-08-12Reduce cs_main locks during ConnectTip/SyncWithWalletsJonas Schnelli
2016-08-05Move AdvertiseLocal debug output to net categoryMichael Rotarius
2016-08-04Merge #8392: Fix several node initialization issuesWladimir J. van der Laan
9d4eb9a Do diskspace check before import thread is started (Pieter Wuille) aa59f2e Add extra message to avoid a long 'Loading banlist' (Pieter Wuille) 0fd2a33 Use a signal to continue init after genesis activation (Pieter Wuille)
2016-08-04Merge #8391: Consensus: Remove ISMWladimir J. van der Laan
122786d Consensus: Remove ISM (NicolasDorier)
2016-08-01Merge #8413: Trivial: pass Consensus::Params& instead of CChainParams& in ↵Pieter Wuille
ContextualCheckBlock c8664ee Trivial: pass Consensus::Params& instead of CChainParams& in ContextualCheckBlock (Jorge Timón)
2016-07-30Use a signal to continue init after genesis activationPieter Wuille
2016-07-29net: Ignore `notfound` P2P messagesWladimir J. van der Laan
2016-07-29Merge #8274: util: Update tinyformatWladimir J. van der Laan
a5072a7 util: Remove zero-argument versions of LogPrint and error (Wladimir J. van der Laan) 695041e util: Update tinyformat (Wladimir J. van der Laan)
2016-07-29Merge #8408: Prevent fingerprinting, disk-DoS with compact blocksWladimir J. van der Laan
1d06e49 Ignore CMPCTBLOCK messages for pruned blocks (Suhas Daftuar) 1de2a46 Ignore GETBLOCKTXN requests for unknown blocks (Suhas Daftuar)
2016-07-28Merge #8348: Trivial: Segwit: Don't call IsWitnessEnabled from ↵Wladimir J. van der Laan
ContextualCheckBlock 38c4c8b Trivial: Segwit: Don't call IsWitnessEnabled from ContextualCheckBlock (Jorge Timón)
2016-07-27Trivial: pass Consensus::Params& instead of CChainParams& in ↵Jorge Timón
ContextualCheckBlock
2016-07-26Ignore CMPCTBLOCK messages for pruned blocksSuhas Daftuar
Also ignores CMPCTBLOCK announcements that have too little work. This is to prevent disk-exhaustion DoS.
2016-07-26Ignore GETBLOCKTXN requests for unknown blocksSuhas Daftuar
Don't disconnect peers, or else we leak information that could be used for fingerprinting.
2016-07-26Merge #8381: Make witness v0 outputs non-standardWladimir J. van der Laan
c59c434 qa: Add test for standardness of segwit v0 outputs (Suhas Daftuar) 1ffaff2 Make witness v0 outputs non-standard before segwit activation (Johnson Lau)
2016-07-26Merge #8365: Treat high-sigop transactions as larger rather than rejecting themWladimir J. van der Laan
ab942c1 Treat high-sigop transactions as larger rather than rejecting them (Pieter Wuille)
2016-07-23Consensus: Remove ISMNicolasDorier
2016-07-22Make witness v0 outputs non-standard before segwit activationJohnson Lau
2016-07-21Merge #8347: Trivial: Make CBlockIndex param const in ↵Wladimir J. van der Laan
ContextualCheckBlockHeader and ContextualCheckBlock 6f3d616 Trivial: Make CBlockIndex param const in ContextualCheckBlockHeader and ContextualCheckBlock (Jorge Timón)
2016-07-21Consensus: Remove calls to error() from ContextualCheckBlockNicolasDorier
2016-07-21Merge #8342: Consensus: Trivial transform BOOST_FOREACH into for loopWladimir J. van der Laan
a3e1984 Consensus: Trivial transform BOOST_FOREACH into for loop (NicolasDorier)
2016-07-20[Qt] show network/chain errors in the GUIJonas Schnelli
2016-07-19Treat high-sigop transactions as larger rather than rejecting themPieter Wuille
2016-07-18Rename "block cost" to "block weight"Suhas Daftuar
2016-07-18Merge #8305: Improve handling of unconnecting headersWladimir J. van der Laan
e91cf4b Add test for handling of unconnecting headers (Suhas Daftuar) 96fa953 Improve handling of unconnecting headers (Suhas Daftuar)
2016-07-17Trivial: Segwit: Don't call IsWitnessEnabled from ContextualCheckBlockJorge Timón
2016-07-17Trivial: Make CBlockIndex param const in ContextualCheckBlockHeader and ↵Jorge Timón
ContextualCheckBlock
2016-07-16Consensus: Trivial transform BOOST_FOREACH into for loopNicolasDorier
2016-07-14Merge #8312: Fix mempool DoS vulnerability from malleated transactionsWladimir J. van der Laan
46c9620 Test that unnecessary witnesses can't be used for mempool DoS (Suhas Daftuar) bb66a11 Fix DoS vulnerability in mempool acceptance (Suhas Daftuar)
2016-07-14Merge #8271: [bugfix] Do not send witnesses in cmpctblockWladimir J. van der Laan
252675e Do not send witnesses in cmpctblock (Pieter Wuille)
2016-07-12Improve handling of unconnecting headersSuhas Daftuar
When processing a headers message that looks like a block announcement, send peer a getheaders if the headers message won't connect. Apply DoS points after too many consecutive unconnecting headers messages.
2016-07-07Fix DoS vulnerability in mempool acceptanceSuhas Daftuar
Moves the IsStandard check to happen after the premature-witness check, so that adding a witness to a transaction can't prevent mempool acceptance. Note that this doesn't address the broader category of potential mempool DoS issues that affect transactions after segwit activation.
2016-07-06Merge #8275: Remove bad chain alert partition checkWladimir J. van der Laan
ab8be98 Remove bad chain alert partition check (BtcDrak)
2016-07-05Revert "net: Avoid duplicate getheaders requests." PR #8054Gregory Maxwell
This reverts commit f93c2a1b7ee912f0651ebb4c8a5eca220e434f4a. This can cause synchronization to get stuck.
2016-06-27util: Remove zero-argument versions of LogPrint and errorWladimir J. van der Laan
Changes in tinyformat, recently imported from upstream have made the zero-argument versions of formatting functions unnecessary. Remove them. This is a slight semantic change: `%` characters in the zero-argument call are now regarded and need to be escaped. As for as I know, the only use of this is in `main.cpp`.
2016-06-26Do not send witnesses in cmpctblockPieter Wuille
2016-06-22[qa] Add rpc test for segwitAlex Morcos
Amended by Pieter Wuille to use multisig 1-of-1 for P2WSH tests, and BIP9 based switchover logic. Fixes and py3 conversion by Marco Falke.
2016-06-22Do not use compact blocks when segwit is enabledPieter Wuille
2016-06-22Add rewind logic to deal with post-fork software updatesPieter Wuille
Includes logic for dealing with pruning by Suhas Daftuar.
2016-06-22BIP141: Other consensus critical limits, and BIP145Pieter Wuille
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
2016-06-22Refactor script validation to observe amountsPieter Wuille
This is a preparation for BIP143 support.