<div dir="ltr">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?<div>

<br></div><div>I&#39;d argue that a parallel network, external to Bitcoin, could take over the task of advertising external services.</div><div><br></div><div>Regards,</div><div>Chris</div></div><div class="gmail_extra">
<br clear="all">
<div>--<br>Christian Decker<br></div>
<br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 11:26 AM, Wladimir <span dir="ltr">&lt;<a href="mailto:laanwj@gmail.com" target="_blank">laanwj@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On Fri, Aug 8, 2014 at 12:15 PM, Wladimir &lt;<a href="mailto:laanwj@gmail.com">laanwj@gmail.com</a>&gt; wrote:<br>
&gt; On Fri, Aug 8, 2014 at 12:01 PM, Mike Hearn &lt;<a href="mailto:mike@plan99.net">mike@plan99.net</a>&gt; wrote:<br>
&gt;&gt;&gt; He wants to use it to advertise services that are not part of the P2P<br>
&gt;&gt;&gt; protocol itself, but run on a different port. Reserving services bits<br>
&gt;&gt;&gt; for those is not acceptable.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Why not? Does the port matter much?<br>
&gt;<br>
&gt; Yes. The services bits are for advertising services on the P2P<br>
&gt; network. That&#39;s not open for discussion.<br>
<br>
</div>It also wouldn&#39;t work. A bit is not enough to find an external service<br>
except in the naive case where the advertised service would have a<br>
fixed port. Not even bitcoind has a fixed port. So there needs to be a<br>
mechanism to find how to connect to the &#39;external service&#39;. This is<br>
provided by the proposed extension.<br>
<br>
It would in principle be possible to advertise an extra service bit<br>
*in addition to* this one, to make it easier to find through the addr<br>
mechanism. But it  would be confusing and IMO an abuse of P2P service<br>
bits.<br>
<div class="HOEnZb"><div class="h5"><br>
Wladimir<br>
<br>
------------------------------------------------------------------------------<br>
Want fast and easy access to all the code in your enterprise? Index and<br>
search up to 200,000 lines of code with a free copy of Black Duck<br>
Code Sight - the same software that powers the world&#39;s largest code<br>
search on Ohloh, the Black Duck Open Hub! Try it now.<br>
<a href="http://p.sf.net/sfu/bds" target="_blank">http://p.sf.net/sfu/bds</a><br>
_______________________________________________<br>
Bitcoin-development mailing list<br>
<a href="mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-development@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/bitcoin-development" target="_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-development</a><br>
</div></div></blockquote></div><br></div>