summaryrefslogtreecommitdiff
path: root/6b/15ba3c85bfb1cfb893e1905090374f0ca54a5b
blob: f963c660d9039d73a6380e87ca8200a56e7b03e9 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
Delivery-date: Mon, 06 May 2024 12:25:29 -0700
Received: from mail-yb1-f189.google.com ([209.85.219.189])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBD7O3WHWY4JRBIO54SYQMGQEMT3C42A@googlegroups.com>)
	id 1s43xo-0002Mx-Pd
	for bitcoindev@gnusha.org; Mon, 06 May 2024 12:25:29 -0700
Received: by mail-yb1-f189.google.com with SMTP id 3f1490d57ef6-de8b6847956sf6507981276.1
        for <bitcoindev@gnusha.org>; Mon, 06 May 2024 12:25:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1715023522; x=1715628322; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:message-id:to:from:date:sender:from:to:cc:subject:date
         :message-id:reply-to;
        bh=yU2zlJRnbFOL7+7vRDPLxYESleb8Q67mHIqkZYGr8ao=;
        b=VSWODBQgcd5aGLiu+BNK6ivYI8Z5jvEkXN425bdC9CJDVbcIG53AGC3OY8pf1h0Ezn
         Qzpnq+X9T5sySKR8iAOjq6+erav6jgQHadspTWL3+kgbbpst406IL72UdqLxbIFCEUMm
         aZiRWWkz1l9SGC1xt0/A7zcxkCvRvqbYNnqD2pmvgCWWnJdo4UCTPdApnzeEn9PeO20Z
         KGbkywuN5tO4ATH4lGuxkr2r0MdQu/FV6fagp93vtTeywsF6HdM3s2zNf6DQuMuDzD3T
         9f14b/wzbT45RxJHnLamNQS2XvmVF8Uy36fnt9cbo2bwYibRHd83SFchH/WMoPXhD2y7
         0w0g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1715023522; x=1715628322; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:message-id:to:from:date:from:to:cc:subject:date:message-id
         :reply-to;
        bh=yU2zlJRnbFOL7+7vRDPLxYESleb8Q67mHIqkZYGr8ao=;
        b=Epzz9buWh/Q/eSVVy1tkBCepYss75+IWqPXifXlpTMm3Ih4bk/2hW2lF3r22xzT87W
         0cP2DhACm6hkIpkWRxlN+8T6w5gJmVNloGxEZV76TFf59Brf/hCpaPK48M2c/X6nkp4c
         1Z6qZ7tumGDYHqy1KHy2qifsEkOKUKX9Z958mz0Rh8iXM3M//dmZOZX6KOpWW0EOhbcD
         KC69q7sp2l9FSqdvyz9Mm59Jsu8ZSjnqA935sD/e1cfcQ9kIv6BMnrc0ab0dObgnT14v
         gLSvyD6EkZpbwKqc8VawASDJwgo/nulFz7iJVcWMgKVbfpWfs14D54CrqNoCzlOBFCZr
         qG0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1715023522; x=1715628322;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-sender:mime-version
         :subject:message-id:to:from:date:x-beenthere:x-gm-message-state
         :sender:from:to:cc:subject:date:message-id:reply-to;
        bh=yU2zlJRnbFOL7+7vRDPLxYESleb8Q67mHIqkZYGr8ao=;
        b=QCmr0FHhDW9LAvg5FtTWUAycnMriStUzIt2HzXabfpqNPo2Q6O4cMusOVQBgjrXnzX
         aJD/81XvS3FVPVZlpU1brfg//rcnwv1HLq6BUxzLD2bSRYT3YMmOKyXOCkW561c23QZ1
         /P37ghi/slqBaPCTjkGxtEUIxWhH0/Sg6mExEhx5rzTmvrzC7PM0JhaRUmI7VdR2C2Jm
         MDBFC+lJ4l08rfRYUwAMxn0g03ex72EVd9IrcOppsqExX2lQSsTbh4k/X5Mtl7H1AMg2
         ypMVtTm1oFVE96OuMxLAmB60z00Knpl6JZ9Gm+8tWmXHV8zXnA/od11xyXv+j6Jjp8Y8
         +0QA==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=1; AJvYcCUCZZ2vwxCKsfmvsbjJ/zplJhE7mWB67+Ys4Rv8x4bnsrEVcABEWVcPelzY9ryWpVGitwk4TIL86FWiuEaioSczRYhkC64=
X-Gm-Message-State: AOJu0YwaTO4w8AOg09rRjmviwD2+LGv9FNwXSAfHAHKCOKEoQGshT3Xi
	ztSDIenMl7l/E2sxRa8xxhcYVLJSfZXh0NH6fHk2UqIXv/pdr8EJ
X-Google-Smtp-Source: AGHT+IGgJefxd9leUPbQSoOZFr/p8VJfQeXNpfA585iGuf2bsVTXPYy3iwNAGMjSCfXFb7cZPNH0zw==
X-Received: by 2002:a25:d88c:0:b0:dda:c380:689e with SMTP id 3f1490d57ef6-deba31e005amr490802276.4.1715023522508;
        Mon, 06 May 2024 12:25:22 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com
Received: by 2002:a25:ac93:0:b0:de6:3ce:8432 with SMTP id 3f1490d57ef6-de8b50571d4ls948879276.0.-pod-prod-08-us;
 Mon, 06 May 2024 12:25:21 -0700 (PDT)
X-Received: by 2002:a05:6902:1023:b0:dd9:1db5:8348 with SMTP id x3-20020a056902102300b00dd91db58348mr3798397ybt.8.1715023520975;
        Mon, 06 May 2024 12:25:20 -0700 (PDT)
Received: by 2002:a05:690c:f88:b0:620:4018:7c57 with SMTP id 00721157ae682-62040188055ms7b3;
        Mon, 6 May 2024 11:44:05 -0700 (PDT)
X-Received: by 2002:a05:6902:2192:b0:de6:bf2:b026 with SMTP id dl18-20020a056902219200b00de60bf2b026mr1434019ybb.13.1715021043942;
        Mon, 06 May 2024 11:44:03 -0700 (PDT)
Date: Mon, 6 May 2024 11:44:03 -0700 (PDT)
From: jeremy <jeremy.l.rubin@gmail.com>
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Message-Id: <35cba1cd-eb67-48d1-9615-e36f2e78d051n@googlegroups.com>
Subject: [bitcoindev] BIP-119.2: Extensions for Lightning Symmetry
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1178_16237916.1715021043512"
X-Original-Sender: Jeremy.L.Rubin@gmail.com
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
 <https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.5 (/)

------=_Part_1178_16237916.1715021043512
Content-Type: multipart/alternative; 
	boundary="----=_Part_1179_79091784.1715021043512"

------=_Part_1179_79091784.1715021043512
Content-Type: text/plain; charset="UTF-8"

This adds 3 new modes:

- 20 Byte Hash160 CTV
- 21 and 33 Byte CTV where last byte indicates second-to-top stack element 
to be included in hash

The extension data is beneficial to Lightning Symmetry applications as they 
need data inscribed in a block so that clients may delete old channel 
states.

One question to particularly address is if Hash160 is both preimage and 
collision resistant in this context, or if 20 bytes will be a security 
issue for lightning developers (I'm aware they use Hash160 for other 
applications)

see draft BIP here: https://github.com/bitcoin/bips/pull/1587

-- 
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bitcoindev/35cba1cd-eb67-48d1-9615-e36f2e78d051n%40googlegroups.com.

------=_Part_1179_79091784.1715021043512
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div>This adds 3 new modes:</div><div><br /></div><div>- 20 Byte Hash160 CT=
V</div><div>- 21 and 33 Byte CTV where last byte indicates second-to-top st=
ack element to be included in hash</div><div><br /></div><div>The extension=
 data is beneficial to Lightning Symmetry applications as they need data in=
scribed in a block so that clients may delete old channel states.</div><div=
><br /></div><div>One question to particularly address is if Hash160 is bot=
h preimage and collision resistant in this context, or if 20 bytes will be =
a security issue for lightning developers (I'm aware they use Hash160 for o=
ther applications)</div><div><br /></div>see draft BIP here: https://github=
.com/bitcoin/bips/pull/1587<br />

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com">bitcoind=
ev+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/bitcoindev/35cba1cd-eb67-48d1-9615-e36f2e78d051n%40googlegroups.=
com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msg=
id/bitcoindev/35cba1cd-eb67-48d1-9615-e36f2e78d051n%40googlegroups.com</a>.=
<br />

------=_Part_1179_79091784.1715021043512--

------=_Part_1178_16237916.1715021043512--