<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-29&#xA;📝 Original message:For tx reject, should there be a code for &#34;unknown version&#34;? That is,&#xA;tx.nVersion &gt; bestKnownVersion == reject? In that case 0x40 would become&#xA;&#34;non-standard transaction type&#34;. I think &#34;unknown transaction type&#34; is a&#xA;bit vague. Or do we want new tx messages to always be backwards compatible?&#xA;&#xA;0x42 and 0x43 seems a bit similar to me. The sender knows what fee was paid&#xA;(presumably). If free transactions and fee-paying transactions end up&#xA;having a unified ranking applied, then distinguishing between them in the&#xA;reject message won&#39;t make much sense.&#xA;&#xA;For block 0x11 again shall there be a separate code for &#34;block is from the&#xA;future&#34;? We don&#39;t want to lose the nVersion field to people just using it&#xA;for nonsense, so does it make sense to reject blocks that claim to be v2 or&#xA;v3?&#xA;&#xA;&#xA;&#xA;&#xA;On Tue, Oct 29, 2013 at 6:37 AM, Gavin Andresen &lt;gavinandresen at gmail.com&gt;wrote:&#xA;&#xA;&gt;&#xA;&gt; Thanks for the feedback, everybody, gist updated:&#xA;&gt;   https://gist.github.com/gavinandresen/7079034&#xA;&gt;&#xA;&gt; Categories are:&#xA;&gt;&#xA;&gt; 0x01-0x0f Protocol syntax errors0x10-0x1f Protocol semantic errors0x40-0x4fServer&#xA;&gt; policy rule&#xA;&gt; &lt;https://gist.github.com/gavinandresen/7079034#rejection-codes-common-to-all-message-types&gt;&#xA;&gt;&#xA;&gt; RE: why not a varint:  because we&#39;re never ever going to run out of reject&#xA;&gt; codes.  Eight are defined right now, if we ever defined eight more I&#39;d be&#xA;&gt; surprised.&#xA;&gt;&#xA;&gt; RE: why not use HTTP codes directly: because we&#39;d be fitting round pegs&#xA;&gt; into square holes.&#xA;&gt;&#xA;&gt; --&#xA;&gt; --&#xA;&gt; Gavin Andresen&#xA;&gt;&#xA;&gt;&#xA;&gt; ------------------------------------------------------------------------------&#xA;&gt; Android is increasing in popularity, but the open development platform that&#xA;&gt; developers love is also attractive to malware creators. Download this white&#xA;&gt; paper to learn more about secure code signing practices that can help keep&#xA;&gt; Android apps secure.&#xA;&gt; http://pubads.g.doubleclick.net/gampad/clk?id=65839951&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;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20131029/c48b5df4/attachment.html&gt;</html></oembed>