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 6CA66C8A; Tue, 3 Jul 2018 23:45:25 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-vk0-f67.google.com (mail-vk0-f67.google.com [209.85.213.67]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 53B0A764; Tue, 3 Jul 2018 23:45:24 +0000 (UTC) Received: by mail-vk0-f67.google.com with SMTP id 125-v6so2096495vke.11; Tue, 03 Jul 2018 16:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=5XoX9VLnCNHvq5Y1uhdSeT2FdzZfmHoSkO/zUIeNz8g=; b=HvdQBsH0pmmsKpNxjWzT5R2QTM6oxnGtmAyV56TBdCBwwCHwGfT94268O5LnN87bNH t59uHrQzJfIgrsEQogMmYi8qPJSredpefX/QwxjSUMEsQdb6N8LT4BBMUhnWs58D9Lbj 3GWKERa81/lFC/0TixXY23W6agoQeOokb1UuX1/FgyCSRwxpv8Uz5lQ/MIC8xBBHTqaf Jf3ttB32ZfVSx1dpD5ugZXaK1gVQFK6g5g6YCNyDk29seZ1Rvyx+tuZtWkPLUjVssw1I yxS3N8AU1M5Y9i3lyl9NOpbnQ4LzZb3llV8p+DEddZzK0KGGwCN7Jbb++YUDo5QuN2+G gcPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=5XoX9VLnCNHvq5Y1uhdSeT2FdzZfmHoSkO/zUIeNz8g=; b=fFDfne+AF8Gi6pVfxQa4mfPmckL11ufILRHOq9xX3IGn44tF6lztG+uPA/ZeDEIypF vLu6EjPRJyUAX7+ETunEdcviKfZjhmlSLQEdV+/Nk6SDV8tbkT8qiKtLbAUciK1MdZJ3 87ZllosraajJgKtgltZal2+7MTDgtjrXIK4dwI7PAnUIoL43X6iIvlStRP/4tPl/MP+8 1ol119zWSxesnstE2veVys2Pac/+gInQn1V1I63DR0r8R9sLD+sLBAee70oXVZPBV029 oE9ZhcHjFuiM9BlUt+tlunK2wDx8THD9rw0YFsTyUFG0ZUM/0rD8bQmdAWe7uKqllXHC 79qQ== X-Gm-Message-State: APt69E3WnTFk3ZhTtvwafOiCDHHPihR/V/CG4d75WMMF/vhoyQbGGnba N/xo7uTdHfrPn0dWPiLaOrqH35ckFHlE71aTLjE= X-Google-Smtp-Source: AAOMgpcDhGUhBsvgLFzheubmMBmqZb/dg/8oG0ofdLjkd1Vqopdpra3j6n0GK2QIxfXa7SnJBTWmNa4FDTYq53igCTY= X-Received: by 2002:a1f:d786:: with SMTP id o128-v6mr18516913vkg.116.1530661523444; Tue, 03 Jul 2018 16:45:23 -0700 (PDT) MIME-Version: 1.0 Sender: gmaxwell@gmail.com Received: by 2002:a67:51c9:0:0:0:0:0 with HTTP; Tue, 3 Jul 2018 16:45:22 -0700 (PDT) In-Reply-To: <20180703052100.gtjdverh5irfokrp@petertodd.org> References: <871sewirni.fsf@gmail.com> <87y3esvrvu.fsf@rustcorp.com.au> <20180703052100.gtjdverh5irfokrp@petertodd.org> From: Gregory Maxwell Date: Tue, 3 Jul 2018 23:45:22 +0000 X-Google-Sender-Auth: w09UwT5pzBKaSCS8HQeVlRaeLrg Message-ID: To: Peter Todd Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: Bitcoin Protocol Discussion , lightning-dev@lists.linuxfoundation.org Subject: Re: [bitcoin-dev] BIP sighash_noinput 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: Tue, 03 Jul 2018 23:45:25 -0000 On Tue, Jul 3, 2018 at 5:21 AM, Peter Todd wrote: > The problem with that name is `SIGHASH_REUSE_VULNERABLE` tells you nothing > about what the flag actually does. I believe that making the signature replayable is 1:1 with omitting the identification of the specific coin being spent from it.