<oembed><type>rich</type><version>1.0</version><author_name>npub17w8rw3wtcr03zdsdjhmcj37w0g6l79gsspleltsznexdktv0qw0qd3nc05</author_name><author_url>https://nostr.ae/npub17w8rw3wtcr03zdsdjhmcj37w0g6l79gsspleltsznexdktv0qw0qd3nc05</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2017-04-08&#xA;📝 Original message:&gt;&#xA;&gt; I think it might be important that the mandatory commitment expire as in&#xA;&gt; Greg&#39;s proposal - when we do eventually hardfork, it will be simpler to do&#xA;&gt; in&#xA;&gt; a safe manner if such a commitment in the fake &#34;old block&#34; is not required.&#xA;&gt;&#xA;&#xA;OK, that makes sense. I&#39;ll modify my proposal this way:&#xA;&#xA;Beginning block X and until block Y the coinbase transaction of&#xA;each block MUST contain a BIP-141 segwit commitment&#xA;&#xA;&#xA;&gt; I don&#39;t like your proposal because it allows ASICBoost. ASICBoost&#xA;&gt; effectively&#xA;&gt; makes SHA2 semi-ASIC-resistant. ASIC-resistance raises the barrier of&#xA;&gt; entry to&#xA;&gt; new mining chip manufacturers, and gives a larger advantage to the miners&#xA;&gt; able&#xA;&gt; to make use of it. Instead, IMO we should fix the vulnerability exploited&#xA;&gt; by&#xA;&gt; ASICBoost entirely to keep SHA2 as ASIC-friendly as possible - or change&#xA;&gt; the&#xA;&gt; PoW to an algorithm that is more ASIC-friendly.&#xA;&gt;&#xA;&#xA;Overt ASICBoost is allowed on the network already. Until a proposal&#xA;explicitly blocking overt ASICBoost as a soft fork is activated, this seems&#xA;to be better than the current state which is that overt ASICBoost is&#xA;allowed, but at a cost to BIP9 signals.&#xA;&#xA;Jimmy&#xA;&#xA;&#xA;&gt; That being said, I don&#39;t think I would oppose the proposal if it gained&#xA;&gt; notably better support than Segwit currently has (as yet another&#xA;&gt; compromise),&#xA;&gt; and the above concerns were addressed (eg, Bitfury and Canaan state they&#xA;&gt; can&#xA;&gt; compete using ASICBoost and the patents are licensed freely to everyone).&#xA;&gt;&#xA;&gt; Luke&#xA;&gt;&#xA;&gt;&#xA;&gt; On Saturday, April 08, 2017 12:05:16 AM Jimmy Song via bitcoin-dev wrote:&#xA;&gt; &gt; I&#39;ve gotten feedback from Adam Back that you actually don&#39;t need all 32&#xA;&gt; &gt; bits in the header for overt ASICBoost, so I&#39;m modifying my proposal. Of&#xA;&gt; &gt; the 32-bit version field, bits 16 to 23 are reserved for miners, the&#xA;&gt; &gt; witness commitment stays as defined in BIP-141 except that it&#39;s now&#xA;&gt; &gt; required. BIP9 then is modified so that bits 16 to 23 are now no longer&#xA;&gt; &gt; usable.&#xA;&gt; &gt;&#xA;&gt; &gt; On Fri, Apr 7, 2017 at 3:06 PM, Jimmy Song &lt;jaejoon at gmail.com&gt; wrote:&#xA;&gt; &gt; &gt; Hey everyone, This is an idea that I had about Segwit and Gregory&#39;s&#xA;&gt; &gt; &gt; proposal from yesterday that I wanted to run by everyone on this list.&#xA;&gt; &gt; &gt; I&#39;m not at all sure what this would mean for non-upgraded nodes on the&#xA;&gt; &gt; &gt; network and would like feedback on that. This is not a formal BIP as&#xA;&gt; &gt; &gt; it&#39;s a modification to a previously submitted one, but I&#39;m happy to&#xA;&gt; &gt; &gt; formalize it if it would help.&#xA;&gt; &gt; &gt; ----------------------------------------&#xA;&gt; &gt; &gt; MotivationOne of the interesting aspects of Gregory Maxwell’s proposal&#xA;&gt; is&#xA;&gt; &gt; &gt; that it only precludes the covert version of ASICBoost. He specifically&#xA;&gt; &gt; &gt; left the overt version alone.&#xA;&gt; &gt; &gt;&#xA;&gt; &gt; &gt; Overt ASICBoost requires grinding on the version bits of the Block&#xA;&gt; header&#xA;&gt; &gt; &gt; instead of the Merkle Root. This is likely more efficient than the&#xA;&gt; Merkle&#xA;&gt; &gt; &gt; Root grinding (aka covert ASICBoost) and requires way less resources&#xA;&gt; &gt; &gt; (much less RAM, SHA256 calculations, no tx shuffling, etc).&#xA;&gt; &gt; &gt;&#xA;&gt; &gt; &gt; If we combine Gregory Maxwell’s proposal with BIP-141 (Segwit) and add&#xA;&gt; a&#xA;&gt; &gt; &gt; slight modification, this should, in theory, make ASICBoost a lot more&#xA;&gt; &gt; &gt; useful to miners and appeal to their financial interests.&#xA;&gt; &gt; &gt; The Modification&#xA;&gt; &gt; &gt;&#xA;&gt; &gt; &gt; Currently, the version bits (currently 4 bytes, or 32 bits) in the&#xA;&gt; header&#xA;&gt; &gt; &gt; are used for BIP9 signaling. We change the version bits to a&#xA;&gt; nonce-space&#xA;&gt; &gt; &gt; so the miners can use it for overt ASICBoost. The 32-bits are now moved&#xA;&gt; &gt; &gt; over to the Coinbase transaction as part of the witness commitment. The&#xA;&gt; &gt; &gt; witness commitment goes from 38 bytes to 42 bytes, with the last 4&#xA;&gt; bytes&#xA;&gt; &gt; &gt; being used as the version bits in the block header previously. The&#xA;&gt; &gt; &gt; witness commitment becomes required as per Gregory Maxwell’s proposal.&#xA;&gt; &gt; &gt; Reasoning&#xA;&gt; &gt; &gt;&#xA;&gt; &gt; &gt; First, this brings ASICBoost out into the open. Covert ASICBoost&#xA;&gt; becomes&#xA;&gt; &gt; &gt; much more costly and overt ASICBoost is now encouraged.&#xA;&gt; &gt; &gt;&#xA;&gt; &gt; &gt; Second, we can make this change relatively quickly. Most of the Segwit&#xA;&gt; &gt; &gt; testing stays valid and this change can be deployed relatively quickly.&#xA;&gt; &gt; &gt;&#xA;&gt; &gt; &gt; Note on SPV clients&#xA;&gt; &gt; &gt;&#xA;&gt; &gt; &gt; Currently Segwit stores the witness commitment in the Coinbase tx, so&#xA;&gt; &gt; &gt; lightweight clients will need to get the Coinbase tx + Merkle proof to&#xA;&gt; &gt; &gt; validate segwit transactions anyway. Putting block version information&#xA;&gt; in&#xA;&gt; &gt; &gt; the Coinbase tx will not impose an extra burden on upgraded light&#xA;&gt; &gt; &gt; clients.&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170408/0b4e08ad/attachment.html&gt;</html></oembed>