From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id B84DE259 for ; Wed, 2 Nov 2016 17:30:35 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 9584B171 for ; Wed, 2 Nov 2016 17:30:34 +0000 (UTC) Received: by mail-qk0-f182.google.com with SMTP id o68so26704614qkf.3 for ; Wed, 02 Nov 2016 10:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blockstream-io.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=rSIY8lPGhWH8DsGt5Vpe7OtTzMedluSUFrGfDl6StqM=; b=IcpWGWMNEMaPLXitu9FeHh9XNzvZkK8Gw7PcR/Ik5PUkw4fyDNUMZhUCZFcL5bv3L+ tZ6QZNJ7kkzgpq/FLIhxaD38sZnzci1Z1VEblC0KX/iTc/F844ruauHqZ+OsA2qsq+KW p7xenQ9Al/Jjn/uRXTue7eQHyvGo1gm/x8zUb0OolpdPSVwTcxF7eASiTSjBnxnR6iQQ EYAWin3FmVATOd2M5xkmJGWmAqZIVS4zePWEejx+yi8aAYl9xY0EBDkrq0wL8DujZOBO pRZOf+lhqKb3diAKAF/236DTQG99xNA376ia6/5AlTXXJgr2RjM7MrQnD5EWBnSuq1HX VyOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rSIY8lPGhWH8DsGt5Vpe7OtTzMedluSUFrGfDl6StqM=; b=NDSu0ixa25AoJXkMbjB8tFFw35egpXeTxEVGR41uJZG3y029pqFeVwfBfOgD3AEU/h oaeSvM2Uk2gcasJTcnwNWB/zr/9KDVzBF6A1qe+u+2XWpI1c0IqOICe2wjndjbDcl5sC qCufZJObwYZiW0FV4Zp3apJNYebZjeBGZeW63b2rBJ+Ov5gEnn4KntX+Qx94c/Wlut4U cqFG2SEVKpMD6Pooz74y+OAh0uAgdTiNf8oAIkGEwoGzmnxkwO8Chzic8OY0L4F2ywN8 MOWN6fy6lXoEP5b7fWBxgQ+AOCqLbvoXz8DsctvP361vMCTTiDQoTW+l9lRRFvfXtXzX FE/Q== X-Gm-Message-State: ABUngvd4BQlGTgCer0Aqb6KcXzXcL1+OFTALlGMIJ+g1tw9UZQK6iYt64A4AHBlrGFi2KwCZM/iF8bdFkpfmuVfg X-Received: by 10.55.221.29 with SMTP id n29mr4809540qki.114.1478107833531; Wed, 02 Nov 2016 10:30:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.164.195 with HTTP; Wed, 2 Nov 2016 10:30:12 -0700 (PDT) From: "Russell O'Connor" Date: Wed, 2 Nov 2016 13:30:12 -0400 Message-ID: To: Bitcoin Protocol Discussion Content-Type: multipart/alternative; boundary=001a1149d3a45bab54054054ccd9 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Thu, 03 Nov 2016 01:32:21 +0000 Subject: [bitcoin-dev] Implementing Covenants with OP_CHECKSIGFROMSTACKVERIFY X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2016 17:30:35 -0000 --001a1149d3a45bab54054054ccd9 Content-Type: text/plain; charset=UTF-8 Hi all, It is possible to implement covenants using two script extensions: OP_CAT and OP_CHECKSIGFROMSTACKVERIFY. Both of these op codes are already available in the Elements Alpha sidechain, so it is possible to construct covenants in Elements Alpha today. I have detailed how the construction works in a blog post at < https://blockstream.com/2016/11/02/covenants-in-elements-alpha.html>. As an example, I've constructed scripts for the Moeser-Eyal-Sirer vault. I'm interested in collecting and implementing other useful covenants, so if people have ideas, please post them. If there are any questions, I'd be happy to answer. -- Russell O'Connor --001a1149d3a45bab54054054ccd9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

It is possible to implement covenants using= two script extensions: OP_CAT and OP_CHECKSIGFROMSTACKVERIFY.=C2=A0 Both o= f these op codes are already available in the Elements Alpha sidechain, so = it is possible to construct covenants in Elements Alpha today.=C2=A0 I have= detailed how the construction works in a blog post at <https://blo= ckstream.com/2016/11/02/covenants-in-elements-alpha.html>.=C2=A0 As = an example, I've constructed scripts for the Moeser-Eyal-Sirer vault.
I'm interested in collecting and implementing other useful covena= nts, so if people have ideas, please post them.

If there are any que= stions, I'd be happy to answer.=C2=A0

--
Russell O'Conn= or
--001a1149d3a45bab54054054ccd9--