Why Nostr? What is Njump?
2023-06-07 02:34:24
in reply to

John Smith [ARCHIVE] on Nostr: šŸ“… Original date posted:2011-10-23 šŸ—’ļø Summary of this message: A scope issue ...

šŸ“… Original date posted:2011-10-23
šŸ—’ļø Summary of this message: A scope issue in the Bitcoin code was reported by Dean Gores, but it is in a disabled feature and may not be significant.
šŸ“ Original message:FYI
It's in a disabled feature (replacement), so I'm not sure how important this
is, but it doesn't look good.

---------- Forwarded message ----------
From: Dean Gores <dmgores at gmail.com>
Date: Sun, Oct 23, 2011 at 11:15 AM
Subject: bitcoin scope issue in main.cpp
To: laanwj at gmail.com


You have "i" and "output" declared in the same scope in "main.cpp",
AcceptToMemoryPool. Below is the offending code.

for (int i = 0; i < vin.size(); i++)
{
COutPoint outpoint = vin[i].prevout;
if (!mapNextTx.count(outpoint) ||
mapNextTx[outpoint].ptx != ptxOld)
return false;
}


Cheers,
Dean Gores
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20111023/ef8e48b1/attachment.html>;
Author Public Key
npub1e4lupyw4vuuhfsmt726ud69555re66pph90kwx0afpt346e9k7zsd4jafl