Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1R0r9W-0002RW-0f for bitcoin-development@lists.sourceforge.net; Tue, 06 Sep 2011 08:37:06 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.210.42 as permitted sender) client-ip=209.85.210.42; envelope-from=decker.christian@gmail.com; helo=mail-pz0-f42.google.com; Received: from mail-pz0-f42.google.com ([209.85.210.42]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-MD5:128) (Exim 4.76) id 1R0r9V-0004Dz-00 for bitcoin-development@lists.sourceforge.net; Tue, 06 Sep 2011 08:37:05 +0000 Received: by pzk37 with SMTP id 37so9976501pzk.1 for ; Tue, 06 Sep 2011 01:36:59 -0700 (PDT) Received: by 10.68.66.133 with SMTP id f5mr3532091pbt.263.1315298219074; Tue, 06 Sep 2011 01:36:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.59.166 with HTTP; Tue, 6 Sep 2011 01:36:19 -0700 (PDT) In-Reply-To: <4E65DA06.9060403@gmail.com> References: <4E65CEE6.7030002@gmail.com> <4E65DA06.9060403@gmail.com> From: Christian Decker Date: Tue, 6 Sep 2011 10:36:19 +0200 Message-ID: To: shadders.del@gmail.com Content-Type: multipart/alternative; boundary=bcaec544eefc1f244c04ac41bb4a X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (decker.christian[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1R0r9V-0004Dz-00 Cc: bitcoin-development@lists.sourceforge.net Subject: Re: [Bitcoin-development] Building a node crawler to map network X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2011 08:37:06 -0000 --bcaec544eefc1f244c04ac41bb4a Content-Type: text/plain; charset=ISO-8859-1 Hi Steve, before attempting to hack BitcoinJ to use NIO you might want to take a look at BitDroid (https://github.com/cdecker/BitDroid-Network), which is my attempt to build an easily extensible network client (no crypto stuff so far) on top of NIO and a simple publish-subscribe architecture. I build a crawler like yours with just a single class that subscribes to events published and closes and opens connections to crawl. HTH, Christian On Tue, Sep 6, 2011 at 10:29 AM, Steve wrote: > ** > > > While I'm asking questions I'll add one more regarding the getaddr message. > > > > Talking to myself here. I just sent this message then found this brilliant > set of articles in the Dev & Tech forum which answers the question very > nicely: *https://bitcointalk.org/index.php?topic=41722.0 > * > Anyway just as an FYI I've been running v0.0.0.0.0.0.0.0.1 for about an > hour. It's only running 10 concurrent connections due to girlfriend > complaining she couldn't watch youtube but here's some early results. > > New nodes: 19319 // node address discovered but no contact attempt made yet > Contacted nodes: 754 > Uncontactable nodes: 3253 > Limbo nodes: 9 //not as exciting as it sounds, just nodes with connect in > progress > Total nodes: 23335 // about 5000 from initial IRC discover, the rest are > from getaddr > > Versions: { > 300=1, > 31900=7, > 31902=1, > 32000=2, > 32001=7, > 32002=22, > 32100=100, > 32200=24, > 32300=277, > 32400=317, > 32500=2} > > Fails: { > ConnectException: Connection refused=377, > IOException: Socket is disconnected=87, > SocketException: Network is unreachable=2, > ProtocolException: Error deserializing message =1, > NoRouteToHostException: No route to host=115, > SocketException: Connection reset=149, > SocketTimeoutException: connect timed out=2521} > > > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > --bcaec544eefc1f244c04ac41bb4a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Steve,

before attempting to hack BitcoinJ to use NIO you might wa= nt to take a look at BitDroid (https://github.com/cdecker/BitDroid-Network), which is my a= ttempt to build an easily extensible network client (no crypto stuff so far= ) on top of NIO and a simple publish-subscribe architecture. I build a craw= ler like yours with just a single class that subscribes to events published= and closes and opens connections to crawl.

HTH,
Christian

On Tue, Sep 6, 2011= at 10:29 AM, Steve <shadders.del@gmail.com> wrote:
=20 =20 =20 =20


While I'm asking questions I'll add one more regarding the ge= taddr message.

Talking to myself here.=A0 I just sent this message then found this brilliant set of articles in the Dev & Tech forum which answers the question very nicely: https://bitcointalk.org/index.php?topic= =3D41722.0

Anyway just as an FYI I've been running v0.0.0.0.0.0.0.0.1 for abou= t an hour.=A0 It's only running 10 concurrent connections due to girlfriend complaining she couldn't watch youtube but here's so= me early results.

New nodes: 19319 // node address discovered but no contact attempt made yet
Contacted nodes: 754
Uncontactable nodes: 3253
Limbo nodes: 9 //not as exciting as it sounds, just nodes with connect in progress
Total nodes: 23335 // about 5000 from initial IRC discover, the rest are from getaddr

Versions: {
300=3D1,
31900=3D7,
31902=3D1,
32000=3D2,
32001=3D7,
32002=3D22,
32100=3D100,
32200=3D24,
32300=3D277,
32400=3D317,
32500=3D2}

Fails: {
ConnectException: Connection refused=3D377,
IOException: Socket is disconnected=3D87,
SocketException: Network is unreachable=3D2,
ProtocolException: Error deserializing message =3D1,
NoRouteToHostException: No route to host=3D115,
SocketException: Connection reset=3D149,
SocketTimeoutException: connect timed out=3D2521}



-----------------------------------------------------------------------= -------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt whe= n you
download Logger. Secure your free ArcSight Logger TODAY!
http://p= .sf.net/sfu/arcsisghtdev2dev
_______________________________________= ________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment


--bcaec544eefc1f244c04ac41bb4a--