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 C5BA9C7F; Tue, 3 Jul 2018 11:54:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from jb55.com (jb55.com [45.79.91.128]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id A0C95704; Tue, 3 Jul 2018 11:54:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d= jb55.com; h=subject:from:date:to:message-id; s=default; bh=fEMb/Rehl2ZZoOvK3NOB1ZAeIJZMDUf24joRm8emq50=; b=ihW68fmRokmpP5nY7UmiHgkvf8zD/7UlXrqS1JVCxUx/DUbG6hFbR8fkEpE2lzNMVte7cQH+d89WlJ3nNk/pArpFS4Ze2S87NjGFhzxwrWnsvfQO1lH79t93sCQbIleUqKg5TAhPlXz5Hj6nd59Y/aIyyMH+rHJW41xl9Sgrz9o/3nWC+7pkyMtpT8JI43wibyQzZ6dB2LD516X/azyMLdEOuFAhxzkhOoqA+Y1Og7d/f1aEZPD8TnxuQ6GqRt0mgWNuQl1d///xzvkl3e7qGB0E625svG5ncJu9yMLzjvqeu+SlzGfUYuCX6kE3cmE4reTW59VBh11zR4+VB/1weg== Received: from [192.168.0.43] (S0106f0f249a602b3.gv.shawcable.net [24.69.130.24]) by jb55.com (OpenSMTPD) with ESMTPSA id 12246b61 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; Tue, 3 Jul 2018 11:54:37 +0000 (UTC) User-Agent: K-@ Mail X-Priority: 3 In-Reply-To: References: <871sewirni.fsf@gmail.com> <87sh73fe4h.fsf@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 From: William Casarin Date: Tue, 03 Jul 2018 04:54:37 -0700 To: ZmnSCPxj , bitcoin-dev , "lightning-dev@lists.linuxfoundation.org" Message-ID: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Tue, 03 Jul 2018 23:10:11 +0000 Subject: Re: [bitcoin-dev] [Lightning-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 11:54:40 -0000 A convention in Haskell libraries is to use an "unsafe" prefix to any function that may have side effects (here be dragons, etc) I'm happy with a _VULNERABLE or _UNSAFE postfix as a standard way to signal this.