public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: Sharon Dvir <sharondvir@cs.huji.ac.il>
To: bitcoin-development@lists.sourceforge.net
Subject: [Bitcoin-development] question about ProcessMessage()
Date: Thu, 17 Apr 2014 12:43:19 +0300	[thread overview]
Message-ID: <534FA237.1010501@cs.huji.ac.il> (raw)

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.



             reply	other threads:[~2014-04-17  9:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17  9:43 Sharon Dvir [this message]
2014-04-17 18:00 ` [Bitcoin-development] question about ProcessMessage() Matthieu Riou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=534FA237.1010501@cs.huji.ac.il \
    --to=sharondvir@cs.huji.ac.il \
    --cc=bitcoin-development@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox