{"id":3525,"date":"2019-12-20T09:10:56","date_gmt":"2019-12-20T09:10:56","guid":{"rendered":"https:\/\/bitcoinsv.io\/?p=3525"},"modified":"2020-09-28T07:20:07","modified_gmt":"2020-09-28T07:20:07","slug":"bitcoin-sv-genesis-hard-fork-specification","status":"publish","type":"post","link":"https:\/\/bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/","title":{"rendered":"Bitcoin SV Genesis hard fork specification"},"content":{"rendered":"\n

The Bitcoin SV Node team has just published the complete specification for the Genesis hard fork upgrade (scheduled to activate on February 4, 2020).  The specification is available here.<\/a><\/p>\n\n\n\n

We have previously announced the implementation plan before the February 4 hard fork, and what steps should be taken now to prepare by anyone running an instance of the BSV Node.  We encourage all users of the Bitcoin SV Node software to begin testing their own applications using the Bitcoin SV Node beta software, and to further participate in the testing of the Bitcoin SV Node itself.  This applies to operators of mining nodes, in addition to \u201cblockchain listeners\u201d – wallets, exchanges, applications and others running instances of the Bitcoin SV Node software that do not write transactions to the blockchain.    <\/strong>Read our prior announcement<\/a> for more information and the timeline of events through February 4, 2020.<\/p>\n\n\n\n

Highlighted Changes<\/strong><\/h2>\n\n\n\n

Consensus Changes <\/strong><\/h3>\n\n\n\n

Change the default hard limit on the block size to infinite<\/strong><\/h4>\n\n\n\n

This limit will still exist as a configuration option for miners however the default will be changed to no limit at all.  After Genesis it will be a miners responsibility to manage this limit if they choose to impose it at all.<\/p>\n\n\n\n

Restore the functionality of OP_RETURN<\/strong><\/h4>\n\n\n\n

This change will restore the function of OP_RETURN to its original design, enabling Script developers to terminate Scripts early and easily, with the possibility of the result of executing the script being valid.<\/p>\n\n\n\n

Change the script numeric type from 32 bit numbers to big numbers<\/strong><\/h4>\n\n\n\n

This change will dramatically increase the mathematical capabilities of the Bitcoin Script language. 32-bit numbers are very limited in size which makes it very complicated and inefficient to do complex mathematical operations such as signature verification. This change will restore the original design, enhancing the efficiency of complex mathematical operations and enable complex Scripts that provide all kinds of advanced functionality.<\/p>\n\n\n\n

Sunset P2SH for new transactions<\/strong><\/h4>\n\n\n\n

Pay-to-script-hash (or P2SH) is a mechanism introduced to Bitcoin to enable hiding of output scripts at the time they are created.  This is counter to philosophy of Bitcoin as an honest record of events.  Additionally, P2SH use has encouraged wide use of poor privacy practices and divergence from the peer 2 peer workflow practices that are integral to the scaling proposition of Bitcoin. Existing P2SH coins will be unaffected so there is no need to sweep old wallets.  This change simply prevents any new P2SH outputs from being made.<\/p>\n\n\n\n

Restore Satoshi style handling of nLockTime & nSequence<\/strong><\/h4>\n\n\n\n

These two data fields are integral to the mechanism of payment channels that Satoshi describes as a fundamental mechanism for allowing high speed micropayments on Bitcoin.  They have been since repurposed by BTC Core developers for two new op codes.  Along with removing those op codes the original usage of nLockTime and nSequence are being restored.<\/p>\n\n\n\n

Other Required Change<\/strong><\/h3>\n\n\n\n

P2P Relay non-standard transactions<\/strong><\/h4>\n\n\n\n

This change will enable the use of complex transactions by all participants of the network. Prior to Genesis, only transactions that were of a standard type, such as payment transactions or plain data transactions, would be distributed across the peer-to-peer network and therefore reach a miner. This meant that if a participant needed to use complex transactions, they would have to find a miner and reach an agreement to confirm the transactions in a block. After Genesis, all transaction types will be relayed across the peer-to-peer network, enabling anyone to use complex transaction types.<\/p>\n\n\n\n

Additional Consensus Changes<\/strong><\/h2>\n\n\n\n
  • Genesis Upgrade block height activation mechanism<\/li>
  • UTXO age dependent rules<\/li>
  • Formal Script Grammar<\/li>
  • scriptSig can only contain OP_PUSHDATA operations<\/li>
  • Sunset OP_CHECKLOCKTIMEVERIFY and OP_CHECKSEQUENCEVERIFY for new transactions<\/li>
  • Add a policy limit on max_script_memory_usage with a default of 100MB<\/li>
  • Add a consensus limit on max_script_memory_usage with a default of infinite<\/li>
  • Remove the consensus limit on the number of signature operations per MB of block space<\/li>
  • Remove the consensus limit on the maximum number of signature operations per transaction<\/li>
  • Remove the consensus limit on the number of op codes per script<\/li>
  • Remove the consensus limit on the maximum script element size<\/li>
  • Remove the consensus limit on the maximum number of elements in a script<\/li>
  • Remove the consensus limit on the maximum number of public keys per multisig<\/li>
  • Increase the consensus limit on the maximum transaction size to 1GB.<\/li>
  • Support the original sighash algorithm for transaction spending pre-Genesis UTXOs<\/li><\/ul>\n\n\n\n

    Other Required Changes<\/strong><\/h2>\n\n\n\n
    • Parallel Block Validation<\/li>
    • Separate processing of non-standard transactions in low priority queue<\/li>
    • Set script evaluation timeout policies for standard and non-standard transactions<\/li>
    • Tx should be included in inv messages in the order in which they are validated<\/li>
    • Discourage accidental use of P2SH by not relaying or mining transactions containing outputs using P2SH script pattern<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"

      The Bitcoin SV Node team has just published the complete specification for the Genesis hard fork upgrade (scheduled to activate on February 4, 2020).  The specification is available here. We have previously announced the implementation plan before the February 4 hard fork, and what steps should be taken now to prepare by anyone running an […]<\/p>\n","protected":false},"author":6,"featured_media":4314,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[77],"tags":[],"lang":"en","translations":{"en":3525,"zh":3521},"yoast_head":"\nBitcoin SV Genesis hard fork specification - Bitcoin SV<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bitcoin SV Genesis hard fork specification - Bitcoin SV\" \/>\n<meta property=\"og:description\" content=\"The Bitcoin SV Node team has just published the complete specification for the Genesis hard fork upgrade (scheduled to activate on February 4, 2020).  The specification is available here. We have previously announced the implementation plan before the February 4 hard fork, and what steps should be taken now to prepare by anyone running an […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/\" \/>\n<meta property=\"og:site_name\" content=\"Bitcoin SV\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-20T09:10:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-28T07:20:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2019\/12\/tech_spec_eng.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"840\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BitcoinSVNode\" \/>\n<meta name=\"twitter:site\" content=\"@BitcoinSVNode\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/bitcoinsv.io\/#organization\",\"name\":\"Bitcoin SV\",\"url\":\"https:\/\/bitcoinsv.io\/\",\"sameAs\":[\"https:\/\/twitter.com\/BitcoinSVNode\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/bitcoinsv.io\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2020\/10\/bsv-logo-wh-medium.png\",\"width\":800,\"height\":144,\"caption\":\"Bitcoin SV\"},\"image\":{\"@id\":\"https:\/\/bitcoinsv.io\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bitcoinsv.io\/#website\",\"url\":\"https:\/\/bitcoinsv.io\/\",\"name\":\"Bitcoin SV\",\"description\":\"Just another WordPress site\",\"publisher\":{\"@id\":\"https:\/\/bitcoinsv.io\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/bitcoinsv.io\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2019\/12\/tech_spec_ch1.png\",\"width\":1280,\"height\":840},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/#webpage\",\"url\":\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/\",\"name\":\"Bitcoin SV Genesis hard fork specification - Bitcoin SV\",\"isPartOf\":{\"@id\":\"https:\/\/bitcoinsv.io\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/#primaryimage\"},\"datePublished\":\"2019-12-20T09:10:56+00:00\",\"dateModified\":\"2020-09-28T07:20:07+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/#webpage\"},\"author\":{\"@id\":\"https:\/\/bitcoinsv.io\/#\/schema\/person\/47ed77fe7d3d5176c9aa0b2364eb6ac0\"},\"headline\":\"Bitcoin SV Genesis hard fork specification\",\"datePublished\":\"2019-12-20T09:10:56+00:00\",\"dateModified\":\"2020-09-28T07:20:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/bitcoinsv.io\/#organization\"},\"image\":{\"@id\":\"https:\/\/stag.bitcoinsv.io\/2019\/12\/20\/bitcoin-sv-genesis-hard-fork-specification\/#primaryimage\"},\"articleSection\":\"Specifications\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/bitcoinsv.io\/#\/schema\/person\/47ed77fe7d3d5176c9aa0b2364eb6ac0\",\"name\":\"Aleksander Gora\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/bitcoinsv.io\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/809a25fb1df50443de480e69d6def36f?s=96&d=mm&r=g\",\"caption\":\"Aleksander Gora\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts\/3525"}],"collection":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/comments?post=3525"}],"version-history":[{"count":2,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts\/3525\/revisions"}],"predecessor-version":[{"id":4312,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/posts\/3525\/revisions\/4312"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/media\/4314"}],"wp:attachment":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/media?parent=3525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/categories?post=3525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/tags?post=3525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}