From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YsFfj-0001I3-43 for bitcoin-development@lists.sourceforge.net; Tue, 12 May 2015 19:16:55 +0000 Received: from mail-wi0-f177.google.com ([209.85.212.177]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1YsFfg-0004ET-CW for bitcoin-development@lists.sourceforge.net; Tue, 12 May 2015 19:16:55 +0000 Received: by wicnf17 with SMTP id nf17so28496562wic.1 for ; Tue, 12 May 2015 12:16:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=KBX8wD54lzlX/dQU2YPlogcpK+RaSswZ/lD4iEVxES8=; b=B/D9VmFfUiYrCnKxbD0Q8IP6+ZHMZKrx/ZWjdipAOecfrMxBoU5xLliMDpPAEMijc/ +9Zhy564ieokCTg3KD254VRMNXQCvTBKqk7smvb7eJGu7lBghIH5PJV4S22cOZbpGnvd Rv4Uu5BytiqGa6awSFUkiUcqx8AyhRmhNZ6kjS6+Q55kSzkk1OoYQzuDZHDlLVi+CBp/ dz5OrB6J0WgApK5s4WFLbf8ffbszYAZWAjSqYtBl0E5ro7z/DfVkaXI32DWd0A7xvb2t rJRMomf83qTMAtKKybru3i94hM7bAPUxg8CwOQFiJCiCApGsB22HU8+m+B9QmvpBavzX 36hg== X-Gm-Message-State: ALoCoQmNKMgKZcRWtbTBpx+PMr3NRy7+ORsVSw/ggWawba8d8A7PFXgEbQ5JpVn1+jV95pEo/437 MIME-Version: 1.0 X-Received: by 10.180.188.193 with SMTP id gc1mr32199598wic.7.1431458206185; Tue, 12 May 2015 12:16:46 -0700 (PDT) Received: by 10.194.124.2 with HTTP; Tue, 12 May 2015 12:16:46 -0700 (PDT) In-Reply-To: <20150509091201.GA15088@savin.petertodd.org> References: <20150504050715.GA18856@savin.petertodd.org> <20150509091201.GA15088@savin.petertodd.org> Date: Tue, 12 May 2015 21:16:46 +0200 Message-ID: From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= To: Peter Todd Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1YsFfg-0004ET-CW Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] CLTV opcode allocation; long-term plans? X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2015 19:16:55 -0000 This saves us ocodes for later but it's uglier and produces slightly bigger scripts. If we're convinced it's worth it, seems like the right way to do it, and certainly cltv and rclv/op_maturity are related. But let's not forget that we can always use this same trick with the last opcode to get 2^64 brand new opcodes. So I'm not convinced at all on whether we want #5496 or #6124. But it would be nice to decide and stop blocking this. On Sat, May 9, 2015 at 11:12 AM, Peter Todd wrote: > On Tue, May 05, 2015 at 01:54:33AM +0100, Btc Drak wrote: >> > That said, if people have strong feelings about this, I would be willing >> > to make OP_CLTV work as follows: >> > >> > 1 OP_CLTV >> > >> > Where the 1 selects absolute mode, and all others act as OP_NOP's. A >> > future relative CLTV could then be a future soft-fork implemented as >> > follows: >> > >> > 2 OP_CLTV >> > >> > On the bad side it'd be two or three days of work to rewrite all the >> > existing tests and example code and update the BIP, and (slightly) gets >> > us away from the well-tested existing implementation. It also may >> > complicate the codebase compared to sticking with just doing a Script >> > v2.0, with the additional execution environment data required for v2.0 >> > scripts cleanly separated out. But all in all, the above isn't too big >> > of a deal. >> >> >> Adding a parameter to OP_CLTV makes it much more flexible and is the most >> economic use of precious NOPs. >> The extra time required is ok and it would be good to make this change to >> the PR in time for the feature freeze. > > Done! > > https://github.com/bitcoin/bitcoin/pull/5496#issuecomment-100454263 > > -- > 'peter'[:-1]@petertodd.org > 000000000000000012c438a597ad15df697888be579f4f818a30517cd60fbdc8 > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development >