summaryrefslogtreecommitdiff
path: root/6d/e8f33bece8fd94a7d9767b911ba93d2c7049ba
blob: 35a27f0b86dc833beb1c182b558b00dc8f1628b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
	helo=mx.sourceforge.net)
	by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <sharondvir@cs.huji.ac.il>) id 1Waj4Y-0007hP-9V
	for bitcoin-development@lists.sourceforge.net;
	Thu, 17 Apr 2014 09:57:34 +0000
X-ACL-Warn: 
Received: from kabab.cs.huji.ac.il ([132.65.116.12])
	by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.76) id 1Waj4W-0008L2-At
	for bitcoin-development@lists.sourceforge.net;
	Thu, 17 Apr 2014 09:57:34 +0000
Received: from seven.cs.huji.ac.il ([132.65.80.22])
	by kabab.cs.huji.ac.il with esmtp id 1Waiql-00041x-8W
	for bitcoin-development@lists.sourceforge.net;
	Thu, 17 Apr 2014 12:43:19 +0300
Message-ID: <534FA237.1010501@cs.huji.ac.il>
Date: Thu, 17 Apr 2014 12:43:19 +0300
From: Sharon Dvir <sharondvir@cs.huji.ac.il>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:28.0) Gecko/20100101 Thunderbird/28.0
MIME-Version: 1.0
To: bitcoin-development@lists.sourceforge.net
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay
	domain
X-Headers-End: 1Waj4W-0008L2-At
Subject: [Bitcoin-development] question about ProcessMessage()
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Thu, 17 Apr 2014 09:57:34 -0000

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.