summaryrefslogtreecommitdiff
path: root/d5/24689ba56ab832bbb94beda7e339b6a9e918b1
blob: da3d9ee90932e8135a12c5f1d814da173afd050e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Return-Path: <jb55@jb55.com>
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: <pCP9Z6Iqp1vNfzs3qzRfN-kML2XCjrI5jZXVaWB7-Mf7GBg6rSDpbn5q9RMa8cr5InLZl1uwIuXOM30mJk_2u8gVz3W-UyPiXMQnSXg188w=@protonmail.com>
References: <871sewirni.fsf@gmail.com> <87sh73fe4h.fsf@gmail.com>
	<CAHUJnBCBp2kPh+4_XmrX==b8t0zFTydWYHiJQzVbVApkbeCC8A@mail.gmail.com>
	<pCP9Z6Iqp1vNfzs3qzRfN-kML2XCjrI5jZXVaWB7-Mf7GBg6rSDpbn5q9RMa8cr5InLZl1uwIuXOM30mJk_2u8gVz3W-UyPiXMQnSXg188w=@protonmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain;
 charset=UTF-8
From: William Casarin <jb55@jb55.com>
Date: Tue, 03 Jul 2018 04:54:37 -0700
To: ZmnSCPxj <ZmnSCPxj@protonmail.com>,
	bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org>,
	"lightning-dev@lists.linuxfoundation.org"
	<lightning-dev@lists.linuxfoundation.org>
Message-ID: <b0c84fce-27a0-4380-a16f-d06d941990f9@jb55.com>
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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.