| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | | |
fa785d1 Use __func__ to get function name for output printing (MarcoFalke)
|
| | | | | | |
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | | |
1aacfc2 various typos (leijurv)
|
| | | |_|/
| |/| | |
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| | | | | |
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | | |
122786d Consensus: Remove ISM (NicolasDorier)
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ContextualCheckBlock
c8664ee Trivial: pass Consensus::Params& instead of CChainParams& in ContextualCheckBlock (Jorge Timón)
|
| | |/ / /
| | | |
| | | |
| | | | |
ContextualCheckBlock
|
| | |/ /
|/| | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
a5072a7 util: Remove zero-argument versions of LogPrint and error (Wladimir J. van der Laan)
695041e util: Update tinyformat (Wladimir 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`.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
1d06e49 Ignore CMPCTBLOCK messages for pruned blocks (Suhas Daftuar)
1de2a46 Ignore GETBLOCKTXN requests for unknown blocks (Suhas Daftuar)
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also ignores CMPCTBLOCK announcements that have too little work. This is to
prevent disk-exhaustion DoS.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Don't disconnect peers, or else we leak information that could be
used for fingerprinting.
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | | |
ContextualCheckBlock
38c4c8b Trivial: Segwit: Don't call IsWitnessEnabled from ContextualCheckBlock (Jorge Timón)
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
c59c434 qa: Add test for standardness of segwit v0 outputs (Suhas Daftuar)
1ffaff2 Make witness v0 outputs non-standard before segwit activation (Johnson Lau)
|
| | | |_|_|/
| |/| | | |
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | | |
ab942c1 Treat high-sigop transactions as larger rather than rejecting them (Pieter Wuille)
|
| | |/ / / |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ContextualCheckBlockHeader and ContextualCheckBlock
6f3d616 Trivial: Make CBlockIndex param const in ContextualCheckBlockHeader and ContextualCheckBlock (Jorge Timón)
|
| | | |/ /
| |/| |
| | | |
| | | | |
ContextualCheckBlock
|
| | | | | |
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | | |
a3e1984 Consensus: Trivial transform BOOST_FOREACH into for loop (NicolasDorier)
|
| | |/ / |
|
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
e91cf4b Add test for handling of unconnecting headers (Suhas Daftuar)
96fa953 Improve handling of unconnecting headers (Suhas 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.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
46c9620 Test that unnecessary witnesses can't be used for mempool DoS (Suhas Daftuar)
bb66a11 Fix DoS vulnerability in mempool acceptance (Suhas 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.
|
| |\ \ \
| |/ /
|/| |
| | | |
252675e Do not send witnesses in cmpctblock (Pieter Wuille)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
ab8be98 Remove bad chain alert partition check (BtcDrak)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As per meeting 2016-03-31
https://bitcoincore.org/en/meetings/2016/03/31/#bad-chain-alerts
The partition checker was producing huge number of false-positives
and was disabled in 0.12.1 on the understanding it would either be
fixed in 0.13 or removed entirely from master if not.
|
| | |/
|/|
| |
| |
| |
| | |
This reverts commit f93c2a1b7ee912f0651ebb4c8a5eca220e434f4a.
This can cause synchronization to get stuck.
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | |
| |
| |
| | |
Includes logic for dealing with pruning by Suhas Daftuar.
|
| | |
| |
| |
| | |
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
|
| | |
| |
| |
| | |
This is a preparation for BIP143 support.
|
| | |
| |
| |
| |
| |
| | |
Service bit logic by Nicolas Dorier.
Only download blocks from witness peers after fork.
|
| | |
| |
| |
| | |
Includes a fix by Suhas Daftuar and LongShao007
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
Contains refactorings by Eric Lombrozo.
Contains fixup by Nicolas Dorier.
Contains cleanup of CInv::GetCommand by Alex Morcos
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
48efec8 Fix some minor compact block issues that came up in review (Matt Corallo)
ccd06b9 Elaborate bucket size math (Pieter Wuille)
0d4cb48 Use vTxHashes to optimize InitData significantly (Matt Corallo)
8119026 Provide a flat list of txid/terators to txn in CTxMemPool (Matt Corallo)
678ee97 Add BIP 152 to implemented BIPs list (Matt Corallo)
56ba516 Add reconstruction debug logging (Matt Corallo)
2f34a2e Get our "best three" peers to announce blocks using cmpctblocks (Matt Corallo)
927f8ee Add ability to fetch CNode by NodeId (Matt Corallo)
d25cd3e Add receiver-side protocol implementation for CMPCTBLOCK stuff (Matt Corallo)
9c837d5 Add sender-side protocol implementation for CMPCTBLOCK stuff (Matt Corallo)
00c4078 Add protocol messages for short-ids blocks (Matt Corallo)
e3b2222 Add some blockencodings tests (Matt Corallo)
f4f8f14 Add TestMemPoolEntryHelper::FromTx version for CTransaction (Matt Corallo)
85ad31e Add partial-block block encodings API (Matt Corallo)
5249dac Add COMPACTSIZE wrapper similar to VARINT for serialization (Matt Corallo)
cbda71c Move context-required checks from CheckBlockHeader to Contextual... (Matt Corallo)
7c29ec9 If AcceptBlockHeader returns true, pindex will be set. (Matt Corallo)
96806c3 Stop trimming when mapTx is empty (Pieter Wuille)
|
| | | | |
|