[Bitcoin-development] Newly introduced DoS
Luke-Jr
luke at dashjr.org
Tue Sep 27 20:08:05 UTC 2011
What about this one?
@@ -1276,13 +1278,13 @@ bool CBlock::AcceptBlock()
// Get prev block index
map<uint256, CBlockIndex*>::iterator mi =
mapBlockIndex.find(hashPrevBlock);
if (mi == mapBlockIndex.end())
- return error("AcceptBlock() : prev block not found");
+ return DoS(10, error("AcceptBlock() : prev block not found"));
Is it certain that it cannot be triggered by a peer having some huge number
more blocks than you?
More information about the bitcoin-dev
mailing list