What is Nostr?
Luke-Jr [ARCHIVE] /
npub1dtr…7wrs
2023-06-07 02:29:09
in reply to nevent1q…g0w4

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.
Author Public Key
npub1dtr22xd42nv07un2xq0rmtkqkjylgsmexau0anxxafa9xmmn2ncshu7wrs