The hard limit on the block size is a configuration parameter that specifies the maximum size that a block can be in order for it to be validated by the software. Blocks that are larger than this maximum will not be retrieved by the software or validated.<\/span><\/p>\n\n\n\nMaximum Stack Memory Usage During Script Evaluation<\/b><\/p>\n\n\n\n
This mandatory consensus parameter defines the maximum amount of memory that can be used on the stack by a script during evaluation. If a script attempts to use more stack memory than defined in this consensus parameter, then the evaluation of the script will be terminated and the script fails.<\/span><\/p>\n\n\n\nConsensus Changes<\/b><\/h3>\n\n\n\nRestore the functionality of OP_RETURN<\/b><\/h4>\n\n\n\n This change restores 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.<\/span><\/p>\n\n\n\nChange the script numeric type from 32 bit numbers to big numbers<\/b><\/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.<\/span><\/p>\n\n\n\nSunset P2SH for new transactions<\/b><\/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 the 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 prevents any new P2SH outputs from being made.<\/span><\/p>\n\n\n\nRestore Satoshi style handling of nLockTime & nSequence<\/b><\/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.<\/span><\/p>\n\n\n\nOther Required Change<\/b><\/h3>\n\n\n\nP2P Relay of transactions with complex scripts<\/b><\/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.<\/span><\/p>\n\n\n\nAdditional Consensus Changes<\/b><\/h2>\n\n\n\nGenesis Upgrade block height activation mechanism<\/span><\/li>UTXO age dependent rules<\/span><\/li>Formal Script Grammar<\/span><\/li>scriptSig can only contain OP_PUSHDATA operations<\/span><\/li>Sunset OP_CHECKLOCKTIMEVERIFY and OP_CHECKSEQUENCEVERIFY for new transactions<\/span><\/li>Add a policy limit on max_script_memory_usage with a default of 100MB<\/span><\/li>Add a consensus limit on max_script_memory_usage<\/span><\/li>Remove the consensus limit on the number of signature operations per MB of block space<\/span><\/li>Remove the consensus limit on the maximum number of signature operations per transaction<\/span><\/li>Remove the consensus limit on the number of op codes per script<\/span><\/li>Remove the consensus limit on the maximum script element size<\/span><\/li>Remove the consensus limit on the maximum number of elements in a script<\/span><\/li>Remove the consensus limit on the maximum number of public keys per multisig<\/span><\/li>Increase the consensus limit on the maximum transaction size to 1GB.<\/span><\/li><\/ul>\n\n\n\nSoftware Enhancements<\/b><\/h2>\n\n\n\nParallel Block Validation<\/span><\/li>Separate processing of non-standard transactions in low priority queue<\/span><\/li>Set script evaluation timeout policies for standard and non-standard transactions<\/span><\/li>Tx should be included in inv messages in the order in which they are validated<\/span><\/li><\/ul>\n\n\n\nEnhance tests for Parallel Block Validation.<\/span><\/li>Common Genesis activation code and command line option.<\/span><\/li>Enable validation of non-standard txns (on MainNet) when Genesis is enabled.<\/span><\/li>Set mempool default = 1Gb.<\/span><\/li>Remove block size from user agent string.<\/span><\/li>Change default tx fees (default txfee = 0.5 sat\/byte, default minrelaytxfee = 0.25 sat\/byte)<\/span><\/li>Update SPV bloom filters re attack mitigation.<\/span><\/li>Improve performance of prevector deserialization.<\/span><\/li>Change logging messages to be more precise.<\/span><\/li><\/ul>\n\n\n\nFix: Validating non-standard transactions can lock up a node for more than a minute.<\/span><\/li>Fix: Tx validation uses original reject message and ban score is used<\/span><\/li>Fix block send queue overflow<\/span><\/li>Fix undefined behaviour in bsv::deserialize<\/span><\/li>Fix bitcoin-cli help getblock<\/span><\/li>Fix build: Configure should fail when it can\u2019t detect boost<\/span><\/li>Set the execute bit on all the new Genesis functional tests.<\/span><\/li>Fix MedianTimePast<\/span><\/li>Fix: Nonfinal transactions with no inputs is rejected with incorrect reason<\/span><\/li>Fix memory leak in asn1_integer<\/span><\/li>Fix boost::optional warnings<\/span><\/li>Fix: hexhdr.py does not get included in packaged source<\/span><\/li>Fix: Fundrawtransaction RPC changePosition parameter causing out of bounds access<\/span><\/li>Add basic –enable-tcmalloc option to the build<\/span><\/li>Fix: CTxnDoubleSpendDetector deletion past end of vector<\/span><\/li>fix lshift and rshift on data larger than 2GB<\/span><\/li>Update to the RDP in preparation for Genesis<\/span><\/li>set max duration for async validation tasks<\/span><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"The Bitcoin SV Node team has released version 1.0.0 of the Bitcoin SV Node implementation. This version implements the updates required to support the Genesis hard fork upgrade which is scheduled to activate on February 4, 2020. The specification for the updates to the Bitcoin and Consensus rules is available here. It is important to […]<\/p>\n","protected":false},"author":6,"featured_media":4337,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[71],"tags":[],"lang":"en","translations":{"en":3654,"zh":3650},"yoast_head":"\n
Changes for the Genesis Upgrade - Bitcoin SV<\/title>\n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n \n \n \n