Sharon Dvir [ARCHIVE] on Nostr: 📅 Original date posted:2014-04-17 📝 Original message:Hi, in main.cpp, ...
📅 Original date posted:2014-04-17
📝 Original message:Hi, in main.cpp, ProcessMessage(), the line:
if (vAddr.size() < 1000) that appears at about line 3290
(not sure which, as I have made changes.)
What is the purpose of this line?
vAddr.size() was already checked at about line 3240, and if it was >
1000, the function has returned.
Is pfrom->fGetAddr allowed to be true iff vAddr.size()==1000 ?
Could not find it in list archive.
Thanks.
Published at
2023-06-07 15:18:47Event JSON
{
"id": "d0098160e5cccbd5b9134046720bf9b42198c778c95c6a8fa96d9f19359d1943",
"pubkey": "88cfcba88366305e552c184ec3e1ff50830150da0b3226dae7d52dbce282b0ce",
"created_at": 1686151127,
"kind": 1,
"tags": [
[
"e",
"1f6e3ba7a92961ace1997fa716f9663e875958bb8c10b831023e0f3c31bb57f6",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2014-04-17\n📝 Original message:Hi, in main.cpp, ProcessMessage(), the line:\nif (vAddr.size() \u003c 1000) that appears at about line 3290\n(not sure which, as I have made changes.)\nWhat is the purpose of this line?\nvAddr.size() was already checked at about line 3240, and if it was \u003e\n1000, the function has returned.\nIs pfrom-\u003efGetAddr allowed to be true iff vAddr.size()==1000 ?\nCould not find it in list archive.\nThanks.",
"sig": "358718d9d6fcf43e78a4fe560e65a632dc27abd799c25c1a3b9054327225aba157166e0ce0f215d874c439207f629aa74147b7b0f3db5c7cf680371bb05d0d06"
}