<oembed><type>rich</type><version>1.0</version><author_name>npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_name><author_url>https://nostr.ae/npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2013-10-27&#xA;📝 Original message:Yeah, something like HTTP would work well.&#xA;&#xA;I&#39;m really looking forward to this. Currently bitcoinj gets a small but&#xA;steady stream of bug reports of the form &#34;my transaction did not&#xA;propagate&#34;. It&#39;s flaky because the library picks one peer to send the&#xA;transaction to, and then watches it propagate across the network. But if&#xA;that selected peer refuses the tx for whatever reason, that propagation&#xA;never comes, and there&#39;s currently no timeout to make it retry with a&#xA;different node. The transactions as created usually look fine, so it&#39;s not&#xA;clear to me why some nodes would accept it others wouldn&#39;t given the&#xA;absence of double spends, and there&#39;s no way to debug and find out :(&#xA;&#xA;&#xA;&#xA;&#xA;On Sat, Oct 26, 2013 at 6:32 AM, kjj &lt;bitcoin-devel at jerviss.org&gt; wrote:&#xA;&#xA;&gt; The HTTP status code system seems to work well enough, and seems to give&#xA;&gt; the best of both worlds.  A 3 digit numeric code that is&#xA;&gt; machine-readable, and a freeform text note for humans.&#xA;&gt;&#xA;&gt; The clever part about that system was in realizing that the numeric&#xA;&gt; codes didn&#39;t need to account for every possible error. They just need to&#xA;&gt; give the other node the most useful information, like &#34;try that again&#xA;&gt; later, I&#39;m having a temporary problem&#34; vs. &#34;That is just plain wrong and&#xA;&gt; it will still be wrong next time too, so don&#39;t bother to retry&#34;.&#xA;&gt;&#xA;&gt; We can leave it to the humans to puzzle out the meaning of &#34;403: values&#xA;&gt; of txid gives rise to dom!&#34;&#xA;&gt;&#xA;&gt; Gavin wrote:&#xA;&gt; &gt;&#xA;&gt; &gt; On Oct 26, 2013, at 11:01 AM, Jean-Paul Kogelman &lt;&#xA;&gt; jeanpaulkogelman at me.com&gt; wrote:&#xA;&gt; &gt;&#xA;&gt; &gt;&gt; Would it make sense to use either fixed length strings or maybe even&#xA;&gt; enums?&#xA;&gt; &gt; No. Enums or fixed length strings just make it harder to extend, for no&#xA;&gt; benefit (bandwidth of &#39;reject&#39; messages doesn&#39;t matter, they will be rare&#xA;&gt; and are not relayed).&#xA;&gt; &gt;&#xA;&gt; &gt;&#xA;&gt; &gt;&#xA;&gt; ------------------------------------------------------------------------------&#xA;&gt; &gt; October Webinars: Code for Performance&#xA;&gt; &gt; Free Intel webinars can help you accelerate application performance.&#xA;&gt; &gt; Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most&#xA;&gt; from&#xA;&gt; &gt; the latest Intel processors and coprocessors. See abstracts and register&#xA;&gt; &gt;&#xA;&gt; &gt;&#xA;&gt; http://pubads.g.doubleclick.net/gampad/clk?id=60135991&amp;iu=/4140/ostg.clktrk&#xA;&gt; &gt; _______________________________________________&#xA;&gt; &gt; Bitcoin-development mailing list&#xA;&gt; &gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt; &gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&gt;&#xA;&gt;&#xA;&gt;&#xA;&gt; ------------------------------------------------------------------------------&#xA;&gt; October Webinars: Code for Performance&#xA;&gt; Free Intel webinars can help you accelerate application performance.&#xA;&gt; Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most&#xA;&gt; from&#xA;&gt; the latest Intel processors and coprocessors. See abstracts and register &gt;&#xA;&gt; http://pubads.g.doubleclick.net/gampad/clk?id=60135991&amp;iu=/4140/ostg.clktrk&#xA;&gt; _______________________________________________&#xA;&gt; Bitcoin-development mailing list&#xA;&gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20131027/d02f8dde/attachment.html&gt;</html></oembed>