Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XFhcv-0006Wk-M3 for bitcoin-development@lists.sourceforge.net; Fri, 08 Aug 2014 10:42:25 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.219.52 as permitted sender) client-ip=209.85.219.52; envelope-from=decker.christian@gmail.com; helo=mail-oa0-f52.google.com; Received: from mail-oa0-f52.google.com ([209.85.219.52]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1XFhcu-0003wn-GP for bitcoin-development@lists.sourceforge.net; Fri, 08 Aug 2014 10:42:25 +0000 Received: by mail-oa0-f52.google.com with SMTP id o6so3928471oag.11 for ; Fri, 08 Aug 2014 03:42:19 -0700 (PDT) X-Received: by 10.60.52.178 with SMTP id u18mr30043958oeo.68.1407494539004; Fri, 08 Aug 2014 03:42:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.3.161 with HTTP; Fri, 8 Aug 2014 03:41:38 -0700 (PDT) In-Reply-To: References: From: Christian Decker Date: Fri, 8 Aug 2014 11:41:38 +0100 Message-ID: To: Wladimir Content-Type: multipart/alternative; boundary=001a11330da805522005001bdc38 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: 1XFhcu-0003wn-GP Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] NODE_EXT_SERVICES and advertising related services 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: Fri, 08 Aug 2014 10:42:25 -0000 --001a11330da805522005001bdc38 Content-Type: text/plain; charset=UTF-8 I wonder whether we actually want to support this kind of advertisement in the P2P protocol. We have a working mechanism for protocol extensions in the P2P network (service flags) so this is obviously only for services that are not P2P extensions, so why have them in there at all? I'd argue that a parallel network, external to Bitcoin, could take over the task of advertising external services. Regards, Chris -- Christian Decker On Fri, Aug 8, 2014 at 11:26 AM, Wladimir wrote: > On Fri, Aug 8, 2014 at 12:15 PM, Wladimir wrote: > > On Fri, Aug 8, 2014 at 12:01 PM, Mike Hearn wrote: > >>> He wants to use it to advertise services that are not part of the P2P > >>> protocol itself, but run on a different port. Reserving services bits > >>> for those is not acceptable. > >> > >> > >> Why not? Does the port matter much? > > > > Yes. The services bits are for advertising services on the P2P > > network. That's not open for discussion. > > It also wouldn't work. A bit is not enough to find an external service > except in the naive case where the advertised service would have a > fixed port. Not even bitcoind has a fixed port. So there needs to be a > mechanism to find how to connect to the 'external service'. This is > provided by the proposed extension. > > It would in principle be possible to advertise an extra service bit > *in addition to* this one, to make it easier to find through the addr > mechanism. But it would be confusing and IMO an abuse of P2P service > bits. > > Wladimir > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > --001a11330da805522005001bdc38 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I wonder whether we actually want to support this kind of = advertisement in the P2P protocol. We have a working mechanism for protocol= extensions in the P2P network (service flags) so this is obviously only fo= r services that are not P2P extensions, so why have them in there at all?
I'd argue that a parallel network, external to Bitcoin, = could take over the task of advertising external services.

Regards,
Chris

--
Christian Decker


On Fri, Aug 8, 2014 at 11:26 AM, Wladimi= r <laanwj@gmail.com> wrote:
On Fri, Aug 8, 2014 at 12:15 PM, Wladimir <laanwj@gmail.com> wrote:
> On Fri, Aug 8, 2014 at 12:01 PM, Mike Hearn <mike@plan99.net> wrote:
>>> He wants to use it to advertise services that are not part of = the P2P
>>> protocol itself, but run on a different port. Reserving servic= es bits
>>> for those is not acceptable.
>>
>>
>> Why not? Does the port matter much?
>
> Yes. The services bits are for advertising services on the P2P
> network. That's not open for discussion.

It also wouldn't work. A bit is not enough to find an external se= rvice
except in the naive case where the advertised service would have a
fixed port. Not even bitcoind has a fixed port. So there needs to be a
mechanism to find how to connect to the 'external service'. This is=
provided by the proposed extension.

It would in principle be possible to advertise an extra service bit
*in addition to* this one, to make it easier to find through the addr
mechanism. But it =C2=A0would be confusing and IMO an abuse of P2P service<= br> bits.

Wladimir

---------------------------------------------------------------------------= ---
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/b= ds
_______________________________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment

--001a11330da805522005001bdc38--