<oembed><type>rich</type><version>1.0</version><author_name>npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2</author_name><author_url>https://nostr.ae/npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2014-12-15&#xA;📝 Original message:BtcDrak was working on rebasing my CHECKLOCKTIMEVERIFY¹ patch to master a few&#xA;days ago and found a fairly large design change that makes merging it currently&#xA;impossible. Pull-req #4890², specifically commit c7829ea7, changed the&#xA;EvalScript() function to take an abstract SignatureChecker object, removing the&#xA;txTo and nIn arguments that used to contain the transaction the script was in&#xA;and the txin # respectively. CHECKLOCKTIMEVERIFY needs txTo to obtain the&#xA;nLockTime field of the transaction, and it needs nIn to obtain the nSequence of&#xA;the txin.&#xA;&#xA;We need to fix this if CHECKLOCKTIMEVERIFY is to be merged.&#xA;&#xA;Secondly, that this change was made, and the manner in which is was made, is I&#xA;think indicative of a development process that has been taking significant&#xA;risks with regard to refactoring the consensus critical codebase. I know I&#xA;personally have had a hard time keeping up with the very large volume of code&#xA;being moved and changed for the v0.10 release, and I know BtcDrak - who is&#xA;keeping Viacoin up to date with v0.10 - has also had a hard time giving the&#xA;changes reasonable review. The #4890 pull-req in question had no ACKs at all,&#xA;and only two untested utACKS, which I find worrying for something that made&#xA;significant consensus critical code changes.&#xA;&#xA;While it would be nice to have a library encapsulating the consensus code, this&#xA;shouldn&#39;t come at the cost of safety, especially when the actual users of that&#xA;library or their needs is still uncertain. This is after all a multi-billion&#xA;project where a simple fork will cost miners alone tens of thousands of dollars&#xA;an hour; easily much more if it results in users being defrauded. That&#39;s also&#xA;not taking into account the significant negative PR impact and loss of trust. I&#xA;personally would recommend *not* upgrading to v0.10 due to these issues.&#xA;&#xA;A much safer approach would be to keep the code changes required for a&#xA;consensus library to only simple movements of code for this release, accept&#xA;that the interface to that library won&#39;t be ideal, and wait until we have&#xA;feedback from multiple opensource projects with publicly evaluatable code on&#xA;where to go next with the API.&#xA;&#xA;1) https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki&#xA;2) https://github.com/bitcoin/bitcoin/pull/4890&#xA;&#xA;-- &#xA;&#39;peter&#39;[:-1]@petertodd.org&#xA;00000000000000001b18a596ecadd07c0e49620fb71b16f9e41131df9fc52fa6&#xA;-------------- next part --------------&#xA;A non-text attachment was scrubbed...&#xA;Name: signature.asc&#xA;Type: application/pgp-signature&#xA;Size: 650 bytes&#xA;Desc: Digital signature&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20141215/c0b5116e/attachment.sig&gt;</html></oembed>