Re: [Bitcoin-development] question about ProcessMessage()

2014-04-17 Thread Matthieu Riou
Github has a nice feature that lets you link to a specific line of code: https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L3549 Is it the line you're referring to? It just flags the peer as at that point we know we don't have more addresses to learn from it (peers send 1000 addrs). The

[Bitcoin-development] question about ProcessMessage()

2014-04-17 Thread Sharon Dvir
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