<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>It is a useful aspect of discussion at this level as it helps higher lever developers understand the actual tradeoffs. Clearly some do not. The market will eventually sort them out, but the discussion both gives developers the necessary information.</div><div><br></div><div>It also helps core development prioritize resources. I personally would not prioritize core work to facilitate zero conf. I would even spend time to discourage it, as others have done.</div><div><br></div><div>I think the cautions in this thread about doing privacy and system security damaging things (like checking mining pools for zero conf transactions) will prevent some wasted time, which benefits everyone.</div><div><br></div><div>e</div><div><br>On Jan 6, 2017, at 1:35 PM, James MacWhyte via bitcoin-dev &lt;<a href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">It's my opinion that the purpose of this list and bitcoin protocol development in general is to build the base functionality that other companies and individuals require to provide usability to the end-user. The 0-conf debate is a UX issue. If end users shouldn't rely on 0-conf, it is up to wallet developers to hide 0-conf transactions or mark them appropriately. Instead of using this list to debate what wallet designers should or shouldn't do, we should just provide the tools and "let the market sort it out". If wallet developers start getting inundated with complaints that 0-conf transactions are causing confusion and loss, they will find a solution. If the tools they require for the solution don't exist, they will come to this list to request action.<div><br></div><div>Am I wrong?</div><div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 6, 2017 at 12:16 PM Chris Priest via bitcoin-dev &lt;<a href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Its a method for determining the probability that a valid tx will be<br class="gmail_msg">
mined in a block before that tx actually gets mined, which is useful<br class="gmail_msg">
when accepting payments in situations when you can't wait for the full<br class="gmail_msg">
confirmation. No one is saying all tx validation should be performed<br class="gmail_msg">
by querying miners mempools, that's ridiculous. Obviously once the tx<br class="gmail_msg">
gets it's first confirmation, you go back to determining validity the<br class="gmail_msg">
way you always have. There is no "security catastrophe".<br class="gmail_msg">
<br class="gmail_msg">
Even if you're running a full node, you can't know for certain that<br class="gmail_msg">
any given tx will make it into a future block. You can't be certain<br class="gmail_msg">
the future miner who finally does mine that tx will mine your TXID or<br class="gmail_msg">
another TXID that spends the same inputs to another address (a double<br class="gmail_msg">
spend). The only way to actually know for certain is to query every<br class="gmail_msg">
single large hashpower mempool.<br class="gmail_msg">
<br class="gmail_msg">
On 1/4/17, Eric Voskuil &lt;<a href="mailto:eric@voskuil.org" class="gmail_msg" target="_blank">eric@voskuil.org</a>&gt; wrote:<br class="gmail_msg">
&gt; On 01/04/2017 11:06 PM, Chris Priest via bitcoin-dev wrote:<br class="gmail_msg">
&gt;&gt; On 1/3/17, Jonas Schnelli via bitcoin-dev<br class="gmail_msg">
&gt;&gt; &lt;<a href="mailto:bitcoin-dev@lists.linuxfoundation.org" class="gmail_msg" target="_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:<br class="gmail_msg">
&gt;&gt;&gt;<br class="gmail_msg">
&gt;&gt;&gt; There are plenty, more sane options. If you can't run your own full-node<br class="gmail_msg">
&gt;&gt;&gt; as a merchant (trivial), maybe co-use a wallet-service with centralized<br class="gmail_msg">
&gt;&gt;&gt; verification (maybe use two of them), I guess Copay would be one of<br class="gmail_msg">
&gt;&gt;&gt; those wallets (as an example). Use them in watch-only mode.<br class="gmail_msg">
&gt;&gt;<br class="gmail_msg">
&gt;&gt; The best way is to connect to the mempool of each miner and check to<br class="gmail_msg">
&gt;&gt; see if they have your txid in their mempool.<br class="gmail_msg">
&gt;&gt;<br class="gmail_msg">
&gt;&gt; <a href="https://www.antpool.com/api/is_in_mempool?txid=334847bb." rel="noreferrer" class="gmail_msg" target="_blank">https://www.antpool.com/api/is_in_mempool?txid=334847bb.</a>..<br class="gmail_msg">
&gt;&gt; <a href="https://www.f2pool.com/api/is_in_mempool?txid=334847bb." rel="noreferrer" class="gmail_msg" target="_blank">https://www.f2pool.com/api/is_in_mempool?txid=334847bb.</a>..<br class="gmail_msg">
&gt;&gt; <a href="https://bw.com/api/is_in_mempool?txid=334847bb." rel="noreferrer" class="gmail_msg" target="_blank">https://bw.com/api/is_in_mempool?txid=334847bb.</a>..<br class="gmail_msg">
&gt;&gt; <a href="https://bitfury.com/api/is_in_mempool?txid=334847bb." rel="noreferrer" class="gmail_msg" target="_blank">https://bitfury.com/api/is_in_mempool?txid=334847bb.</a>..<br class="gmail_msg">
&gt;&gt; <a href="https://btcc.com/api/is_in_mempool?txid=334847bb." rel="noreferrer" class="gmail_msg" target="_blank">https://btcc.com/api/is_in_mempool?txid=334847bb.</a>..<br class="gmail_msg">
&gt;&gt;<br class="gmail_msg">
&gt;&gt; If each of these services return "True", and you know those services<br class="gmail_msg">
&gt;&gt; so not engage in RBF, then you can assume with great confidence that<br class="gmail_msg">
&gt;&gt; your transaction will be in the next block, or in a block very soon.<br class="gmail_msg">
&gt;&gt; If any one of those services return "False", then you must assume that<br class="gmail_msg">
&gt;&gt; it is possible that there is a double spend floating around, and that<br class="gmail_msg">
&gt;&gt; you should wait to see if that tx gets confirmed. The problem is that<br class="gmail_msg">
&gt;&gt; not every pool runs such a service to check the contents of their<br class="gmail_msg">
&gt;&gt; mempool...<br class="gmail_msg">
&gt;&gt;<br class="gmail_msg">
&gt;&gt; This is an example of mining centralization increasing the security of<br class="gmail_msg">
&gt;&gt; zero confirm.<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; A world connected up to a few web services to determine payment validity<br class="gmail_msg">
&gt; is an example of a bitcoin security catastrophe.<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; e<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt;<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
bitcoin-dev mailing list<br class="gmail_msg">
<a href="mailto:bitcoin-dev@lists.linuxfoundation.org" class="gmail_msg" target="_blank">bitcoin-dev@lists.linuxfoundation.org</a><br class="gmail_msg">
<a href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a><br class="gmail_msg">
</blockquote></div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>bitcoin-dev mailing list</span><br><span><a href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a></span><br><span><a href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a></span><br></div></blockquote></body></html>