<oembed><type>rich</type><version>1.0</version><author_name>npub1xg2m84malu0cfm4444r0kysx4rgk27e75aj6sz6538kw8fcz627qeadsv7</author_name><author_url>https://nostr.ae/npub1xg2m84malu0cfm4444r0kysx4rgk27e75aj6sz6538kw8fcz627qeadsv7</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2019-03-13&#xA;📝 Original message:On 12/03/2019 23.14, Gregory Maxwell via bitcoin-dev wrote:&#xA;&gt; On Tue, Mar 12, 2019 at 7:45 PM Andreas Schildbach via bitcoin-dev&#xA;&gt; &lt;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt;&gt; These two cases are understood and handled by current code. Generally&#xA;&gt;&gt; the idea is take reject messages serious, but don&#39;t overrate the lack&#xA;&gt;&gt; of. Luckily, network confirmations fill the gap. (Yes, a timeout is&#xA;&gt; &#xA;&gt; I&#39;d like to better understand this, but it would be easier to just&#xA;&gt; read the code than ask a bunch of questions. I tried looking for the&#xA;&gt; handling of reject messages in Android  Bitcoin Wallet and BitcoinJ&#xA;&gt; and didn&#39;t really find and handling other than logging exceptions.&#xA;&gt; Would you mind giving me a couple pointers to where in the code&#xA;&gt; they&#39;re handled?&#xA;&#xA;It&#39;s implemented in bitcoinj&#39;s TransactionBroadcast class. Received&#xA;reject messages are collected and -- if a certain consensus (currently:&#xA;half of connected peers) is reached -- a RejectedTransactionException is&#xA;raised.&#xA;&#xA;The handling of that exception in Bitcoin Wallet is extremely&#xA;rudimentary. I think it still only shows the exception message. But&#xA;certainly I was hoping to improve on this soon.</html></oembed>