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>
Published at
2023-06-07 02:34:24Event JSON
{
"id": "668b7dece6311b3a90c0adf88dba8446e2f4e99eba30990f26a4b48ee8aaa48e",
"pubkey": "cd7fc091d5673974c36bf2b5c6e8b4a5079d6821b95f6719fd48571aeb25b785",
"created_at": 1686105264,
"kind": 1,
"tags": [
[
"e",
"c1d19f0a1068f55340c2d20cc87cd515d9fc6519bb9422ff2558a203d8176989",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "š
Original date posted:2011-10-23\nšļø 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.\nš Original message:FYI\nIt's in a disabled feature (replacement), so I'm not sure how important this\nis, but it doesn't look good.\n\n---------- Forwarded message ----------\nFrom: Dean Gores \u003cdmgores at gmail.com\u003e\nDate: Sun, Oct 23, 2011 at 11:15 AM\nSubject: bitcoin scope issue in main.cpp\nTo: laanwj at gmail.com\n\n\nYou have \"i\" and \"output\" declared in the same scope in \"main.cpp\",\nAcceptToMemoryPool. Below is the offending code.\n\n for (int i = 0; i \u003c vin.size(); i++)\n {\n COutPoint outpoint = vin[i].prevout;\n if (!mapNextTx.count(outpoint) ||\nmapNextTx[outpoint].ptx != ptxOld)\n return false;\n }\n\n\nCheers,\nDean Gores\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20111023/ef8e48b1/attachment.html\u003e",
"sig": "2e72291dba43f09d23a5366b2a04693bedd03231febbeaa0b338da5990be85af2f5be3d5be2546ef6718dbafae8f60d3577e13eac431f94c6283ec865e8866d0"
}