summaryrefslogtreecommitdiff
path: root/6f/81b5c748cc9476e23638054ab6ae7ea4800241
blob: 4787ef6996f8cefea362a0790f5ab259afb6a50a (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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
Return-Path: <kalle@rosenbaum.se>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id ACF4A79E8
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  8 Oct 2018 18:59:14 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com
	[209.85.222.178])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id D66BA6C5
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  8 Oct 2018 18:59:13 +0000 (UTC)
Received: by mail-qk1-f178.google.com with SMTP id 12-v6so5844810qkj.10
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 08 Oct 2018 11:59:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=rosenbaum-se.20150623.gappssmtp.com; s=20150623;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to; 
	bh=E0BgYTQl3zai++6ggGUOUVO1n7bUxmT10tw4h1HBGME=;
	b=rfiSRKhpkZAwQUPUJr1SvNycgzDf0JY2vyQHio6zN8rONrWOSDEeY6/hI881sIJp2b
	dm/+qK1ix/WYgAJtOYOHe8Avk4bxrv6CLzd+K6wCWRZt9XOq0oqeSceVtXjecAPhptAa
	JEqsk2FhfYM9DMpMpx/SGv09GX7PXjMpnkH6q2JAGCLDrixGsqJYld3Tmvd86YTBCceJ
	QIzCgjlybLfEixPceHOWGJUmAqhfIrMM867c5T7naV1oceUn8jjUffjgIBnpTslIExI0
	ZBFA+tD0EV/pQn80eQNiAbX+sJgrGcCEfEoXw+Nr6wuOKDgmw29rBHnMn6tHA17GliUI
	kJiQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:references:in-reply-to:from:date
	:message-id:subject:to;
	bh=E0BgYTQl3zai++6ggGUOUVO1n7bUxmT10tw4h1HBGME=;
	b=S0kIq7BhuwBk0/tIjUMPM3cwYfj8Do/s67FSmJcNq3JXCv/sOgdSBpQpBNTf1TLBDt
	pOvB34UqxO2vk8yUh/hAwtGGtWnL6F5qnCWFjsixAIFUO3y96NAu417ZhnDR0iqmoIr/
	HRog3tOVIlOpfHhgJMb47TiNz+TfjuCy5Vl5zksl9I9guXzWAUeGwEo1psHx23D9mX0G
	spRFCaHLCZd823GG4wuAkpUfejSGChs2RXD7enaeQHUXJw2TuDD0vTIa5QGSKf3dok3X
	tbY6U6u8bolnaAWmSygqnL0ymZpvWQuCIONvqk5eVohHJcLE8fUQsv//ga6ljIcsPyin
	Xm4A==
X-Gm-Message-State: ABuFfojAOYo2sZZAdgfHC/dAfTZu1sbqosmM2RF8YkTuFQYUxITy/KCM
	AkKJaCjzT0+mgPiUXEph0yMUNz2ArFopC2R/JmXoSQ==
X-Google-Smtp-Source: ACcGV60lvMbXqiInc/F4Ybiz1nzJw/cIOPD42EP9/9C5T7ziTZEhclMigYDsQP11d3R+T+PFQxU2bURnaeJf0WNdHMA=
X-Received: by 2002:a37:bbc1:: with SMTP id
	l184-v6mr20129447qkf.111.1539025152701; 
	Mon, 08 Oct 2018 11:59:12 -0700 (PDT)
MIME-Version: 1.0
References: <QFg83njQkTWwnSLd_GxcmmHaD4TmocERn8RScBz0_cEjZmnAAsrtmpQsv-kjap7Nyf0wHZndH83gVKJ8ihkvI-cZF84fKqZD781SpLFYhXo=@protonmail.com>
In-Reply-To: <QFg83njQkTWwnSLd_GxcmmHaD4TmocERn8RScBz0_cEjZmnAAsrtmpQsv-kjap7Nyf0wHZndH83gVKJ8ihkvI-cZF84fKqZD781SpLFYhXo=@protonmail.com>
From: Kalle Rosenbaum <kalle@rosenbaum.se>
Date: Mon, 8 Oct 2018 20:59:00 +0200
Message-ID: <CAPswA9xJgkXgxX9gPFa8BiFWqJrwrnMyhk4VryAh2-fBz9xfow@mail.gmail.com>
To: =?UTF-8?B?0JLQtdC70LXRgdC70LDQsg==?= <veleslav.bips@protonmail.com>, 
	bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="0000000000008708930577bc37d4"
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, HTML_MESSAGE, 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
X-Mailman-Approved-At: Mon, 08 Oct 2018 19:32:34 +0000
Subject: Re: [bitcoin-dev] [BIP Proposal] Nym Enrolment Transaction Template
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: Mon, 08 Oct 2018 18:59:14 -0000

--0000000000008708930577bc37d4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi =D0=92=D0=B5=D0=BB=D0=B5=D1=81=D0=BB=D0=B0=D0=B2,

I won't comment on the usability of/need for this system, but I have a few
random comments and questions:

Why demand exactly one input? This will probably cause problems for wallets
with many small value UTXOs and no big.

Why demand exactly type p2wpkh on input? Why limit at all?

32-byte-nym_public_key is actually 33 bytes, no? Compressed pubkeys are 33
bytes.

Why verify "SIZE 32 EQUALVERIFY" on output 2? It puts a ceiling on the
entropy, but no floor, so it seems useless.

Why require segwit version 0 change output? This seems like an unnecessary
limitation.

It's not clear to me what's IsStandard rules and what's nym protocol rules
in the specification section. I interpret the specification to specify
IsStandard rules, but the section also mentions stuff not relevant to that,
for example how the nym signature is constructed and what the opreturn data
consists of. You should make the distinction more clear.

I couldn't find info on what 1-byte-nym_version and 1-byte-nym_use are and
how they are used. But it might not belong in the BIP if it only should
describe IsStandard policies?

Regards,
Kalle

Sent from my Sinclair ZX81

Den s=C3=B6n 7 okt. 2018 05:57=D0=92=D0=B5=D0=BB=D0=B5=D1=81=D0=BB=D0=B0=D0=
=B2 via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> skrev:

> Hello list,
>
> I would like to propose a draft BIP that takes the next available
> transaction version number and defines a new transaction template. This
> proposal does not have any consensus changes, and is purely for the
> application layer of Bitcoin. The new transaction template defines a
> special transaction structure that can be used as a cryptographic pseudon=
ym.
>
> I hope the community will find this proposal useful and will find time to
> give it careful review.
>
> Here is the first BIP within our project
> https://github.com/veleslavs/bips/blob/bip_nym_tx/bip-nym_tx.mediawiki
>
> I would like to thank the entire team that has supported me in creating
> this proposal.
>
> =D0=A1 =D0=BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=
=BF=D0=BE=D0=B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8,
> =D0=92=D0=B5=D0=BB=D0=B5=D1=81=D0=BB=D0=B0=D0=B2
>
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

--0000000000008708930577bc37d4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi =D0=92=D0=B5=D0=BB=D0=B5=D1=81=D0=BB=D0=B0=D0=B2,=C2=
=A0<div dir=3D"auto"><br></div><div dir=3D"auto">I won&#39;t comment on the=
 usability of/need for this system, but I have a few random comments and qu=
estions:</div><div dir=3D"auto"><div dir=3D"auto"><br></div><div dir=3D"aut=
o">Why demand exactly one input? This=C2=A0<span style=3D"font-family:sans-=
serif">will probably cause problems for wallets with many small value UTXOs=
 and no big.=C2=A0</span></div><div dir=3D"auto"><span style=3D"font-family=
:sans-serif"><br></span></div><div dir=3D"auto">Why demand exactly type p2w=
pkh on input? Why limit at all?=C2=A0</div><div dir=3D"auto"><br></div><div=
 dir=3D"auto">32-byte-nym_public_key is actually 33 bytes, no? Compressed p=
ubkeys are 33 bytes.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"aut=
o">Why verify &quot;SIZE 32 EQUALVERIFY&quot; on output 2? It puts a ceilin=
g on the entropy, but no floor, so it seems useless.<br></div><div dir=3D"a=
uto"><br></div><div dir=3D"auto">Why require segwit version 0 change output=
? This seems like an unnecessary limitation.=C2=A0</div><div dir=3D"auto"><=
br></div><div dir=3D"auto">It&#39;s not clear to me what&#39;s IsStandard r=
ules and what&#39;s nym protocol rules in the specification section. I inte=
rpret the specification to specify IsStandard rules, but the section also m=
entions stuff not relevant to that, for example how the nym signature is co=
nstructed and what the opreturn data consists of. You should make the disti=
nction more clear.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto"=
><span style=3D"font-family:sans-serif">I couldn&#39;t find info on what 1-=
byte-nym_version and 1-byte-nym_use are and how they are used. But it might=
 not belong in the BIP if it only should describe IsStandard policies?=C2=
=A0</span><br></div><div dir=3D"auto"><br></div><div dir=3D"auto">Regards,=
=C2=A0</div><div dir=3D"auto">Kalle=C2=A0</div><br><div data-smartmail=3D"g=
mail_signature" dir=3D"auto">Sent from my Sinclair ZX81</div></div></div><b=
r><div class=3D"gmail_quote"><div dir=3D"ltr">Den s=C3=B6n 7 okt. 2018 05:5=
7=D0=92=D0=B5=D0=BB=D0=B5=D1=81=D0=BB=D0=B0=D0=B2 via bitcoin-dev &lt;<a hr=
ef=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linux=
foundation.org</a>&gt; skrev:<br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
style=3D"color:rgb(85,85,85);font-family:Arial,&quot;Helvetica Neue&quot;,H=
elvetica,sans-serif;font-size:14px;font-style:normal;font-variant-caps:norm=
al;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0p=
x;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:n=
one">Hello list,<br></div><div style=3D"color:rgb(85,85,85);font-family:Ari=
al,&quot;Helvetica Neue&quot;,Helvetica,sans-serif;font-size:14px;font-styl=
e:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;=
text-align:start;text-indent:0px;text-transform:none;white-space:normal;wor=
d-spacing:0px;text-decoration:none"><br></div><div style=3D"color:rgb(85,85=
,85);font-family:Arial,&quot;Helvetica Neue&quot;,Helvetica,sans-serif;font=
-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;le=
tter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;wh=
ite-space:normal;word-spacing:0px;text-decoration:none">I would like to pro=
pose a=C2=A0draft BIP that takes the next available transaction version num=
ber and defines a new transaction template. This proposal does not have any=
 consensus changes, and is purely for the application layer of Bitcoin. The=
 new transaction template defines a special transaction structure that can =
be used as a cryptographic pseudonym.<br></div><div style=3D"color:rgb(85,8=
5,85);font-family:Arial,&quot;Helvetica Neue&quot;,Helvetica,sans-serif;fon=
t-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;l=
etter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;w=
hite-space:normal;word-spacing:0px;text-decoration:none"><br></div><div sty=
le=3D"color:rgb(85,85,85);font-family:Arial,&quot;Helvetica Neue&quot;,Helv=
etica,sans-serif;font-size:14px;font-style:normal;font-variant-caps:normal;=
font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;t=
ext-transform:none;white-space:normal;word-spacing:0px;text-decoration:none=
">I hope the community will find this proposal useful and will find time to=
 give it careful review.<br></div><div style=3D"color:rgb(85,85,85);font-fa=
mily:Arial,&quot;Helvetica Neue&quot;,Helvetica,sans-serif;font-size:14px;f=
ont-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing=
:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no=
rmal;word-spacing:0px;text-decoration:none"><br></div><div style=3D"color:r=
gb(85,85,85);font-family:Arial,&quot;Helvetica Neue&quot;,Helvetica,sans-se=
rif;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:n=
ormal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform=
:none;white-space:normal;word-spacing:0px;text-decoration:none">Here is the=
 first BIP within our project<br></div><div style=3D"color:rgb(85,85,85);fo=
nt-family:Arial,&quot;Helvetica Neue&quot;,Helvetica,sans-serif;font-size:1=
4px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-sp=
acing:normal;text-align:start;text-indent:0px;text-transform:none;white-spa=
ce:normal;word-spacing:0px;text-decoration:none"><a href=3D"https://github.=
com/veleslavs/bips/blob/bip_nym_tx/bip-nym_tx.mediawiki" rel=3D"noreferrer =
nofollow noopener noreferrer" style=3D"background-color:transparent" target=
=3D"_blank">https://github.com/veleslavs/bips/blob/bip_nym_tx/bip-nym_tx.me=
diawiki</a><br></div><div style=3D"color:rgb(85,85,85);font-family:Arial,&q=
uot;Helvetica Neue&quot;,Helvetica,sans-serif;font-size:14px;font-style:nor=
mal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-=
align:start;text-indent:0px;text-transform:none;white-space:normal;word-spa=
cing:0px;text-decoration:none"><br></div><div style=3D"color:rgb(85,85,85);=
font-family:Arial,&quot;Helvetica Neue&quot;,Helvetica,sans-serif;font-size=
:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-=
spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-s=
pace:normal;word-spacing:0px;text-decoration:none">I would like to thank th=
e entire team that has supported me in creating this proposal.<br></div><di=
v style=3D"color:rgb(85,85,85);font-family:Arial,&quot;Helvetica Neue&quot;=
,Helvetica,sans-serif;font-size:14px;font-style:normal;font-variant-caps:no=
rmal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:=
0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration=
:none"><br></div><div style=3D"color:rgb(85,85,85);font-family:Arial,&quot;=
Helvetica Neue&quot;,Helvetica,sans-serif;font-size:14px;font-style:normal;=
font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing=
:0px;text-decoration:none">=D0=A1 =D0=BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=
=88=D0=B8=D0=BC=D0=B8 =D0=BF=D0=BE=D0=B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8=D1=
=8F=D0=BC=D0=B8,<br></div><div style=3D"color:rgb(85,85,85);font-family:Ari=
al,&quot;Helvetica Neue&quot;,Helvetica,sans-serif;font-size:14px;font-styl=
e:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;=
text-align:start;text-indent:0px;text-transform:none;white-space:normal;wor=
d-spacing:0px;text-decoration:none">=D0=92=D0=B5=D0=BB=D0=B5=D1=81=D0=BB=D0=
=B0=D0=B2<br></div><div class=3D"m_2257638885878747020protonmail_signature_=
block"><div class=3D"m_2257638885878747020protonmail_signature_block-proton=
 m_2257638885878747020protonmail_signature_block-empty"><br></div></div><di=
v><br></div>_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank" =
rel=3D"noreferrer">bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer noreferrer" target=3D"_blank">https://lists.linuxfoundati=
on.org/mailman/listinfo/bitcoin-dev</a><br>
</blockquote></div>

--0000000000008708930577bc37d4--