Luke-Jr [ARCHIVE] on Nostr: 📅 Original date posted:2011-09-26 🗒️ Summary of this message: Code snippets ...
📅 Original date posted:2011-09-26
🗒️ Summary of this message: Code snippets show potential denial-of-service (DoS) attacks on Bitcoin nodes, but caution is advised to avoid false positives and legitimate transactions/blocks being affected.
📝 Original message:+ return DoS(10, error("AcceptToMemoryPool() : transaction with out-of-
bounds SigOpCount"));
+ return DoS(10, error("ConnectInputs() : tried to
spend coinbase at depth %d", pindexBlock->nHeight - pindex->nHeight));
+ return DoS(10, error("AcceptBlock() : prev block not found"));
These shouldn't be "DoS"'d, or else you open a new DoS when nodes legitimately
relay such transactions/blocks.
🗒️ Summary of this message: Code snippets show potential denial-of-service (DoS) attacks on Bitcoin nodes, but caution is advised to avoid false positives and legitimate transactions/blocks being affected.
📝 Original message:+ return DoS(10, error("AcceptToMemoryPool() : transaction with out-of-
bounds SigOpCount"));
+ return DoS(10, error("ConnectInputs() : tried to
spend coinbase at depth %d", pindexBlock->nHeight - pindex->nHeight));
+ return DoS(10, error("AcceptBlock() : prev block not found"));
These shouldn't be "DoS"'d, or else you open a new DoS when nodes legitimately
relay such transactions/blocks.