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
|
Return-Path: <vincenzopalazzodev@gmail.com>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])
by lists.linuxfoundation.org (Postfix) with ESMTP id 56CA2C0032
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 19 Sep 2023 09:58:39 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by smtp2.osuosl.org (Postfix) with ESMTP id 1E09940AAF
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 19 Sep 2023 09:58:39 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 1E09940AAF
Authentication-Results: smtp2.osuosl.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
header.a=rsa-sha256 header.s=20230601 header.b=PQa1YF7i
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
Received: from smtp2.osuosl.org ([127.0.0.1])
by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id XjUFqvQsuUwD
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 19 Sep 2023 09:58:38 +0000 (UTC)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com
[IPv6:2a00:1450:4864:20::32f])
by smtp2.osuosl.org (Postfix) with ESMTPS id 0860940491
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 19 Sep 2023 09:58:37 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 0860940491
Received: by mail-wm1-x32f.google.com with SMTP id
5b1f17b1804b1-402d0eda361so59463845e9.0
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 19 Sep 2023 02:58:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1695117516; x=1695722316;
darn=lists.linuxfoundation.org;
h=in-reply-to:references:to:from:subject:message-id:date
:content-transfer-encoding:mime-version:from:to:cc:subject:date
:message-id:reply-to;
bh=WJg5r18Ji/cvZeJARky2c4KJnD70rKhfUtrNbcgHBHM=;
b=PQa1YF7i01xvSbnHNgmCASEJOiUKEf6YSYvzAXae4DSWKURE5G2tC/z0F/+td3PG4h
NRjkjTKUqGaxaW67pBCtExVWiLgJZ9cCof/IHI6LrfPtlC+lCEy9MtFWMCFZqw6ySqLx
779XdhV+OLXQZXfP7S56JbtsqiFf5vEjZuuktasTJBQr7Lq7Z+aEoFPHtjQYUiUxV6Wa
gXU6icfq7TQUAn8rU4WPsQ8Q8Rzaqcl4zc3ccGnbkYs/f0512iRmBNhIhWMVshZR6Ne9
ewoSa0/x4QFdr9Nm51xeNDkb1BGhDX5k+Ot9r7QwJo267fLhFvCKU4HJKC+DZVbkr4X2
SVhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1695117516; x=1695722316;
h=in-reply-to:references:to:from:subject:message-id:date
:content-transfer-encoding:mime-version:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=WJg5r18Ji/cvZeJARky2c4KJnD70rKhfUtrNbcgHBHM=;
b=cwuLbcINpRlwTPE9G+tKe3nVCXkKbs+pJvuHbaxPlNhCnDhF0F/+OMh/vXJiXi4iom
JQDZE1OjvaeRICswRfmpnCFBstxfZL8ODTBH8VNE1hpJ51PW/p76ugF+YEi+aD4H/qYr
xKww/9GwOaJh8f+0F5j7xlNvSA3cGo/og+0H1MkdHD9Lr7AxQ5gouTglAZTvqT2GWxOM
jCfEQqLM1DYkbvclFU1couQxtL/uIAIDfr7jnthn1G9qHa6h/4kwi1wqpnVv0gdV7iOu
WoqD5oHJq8qg5mu+mhMnY1KxQpYiE0NCLDqCW4eAikES5YRmI7aFUsdx9hQ/qkgYllZu
vIkg==
X-Gm-Message-State: AOJu0YxH9B++PnCVZGOBWnWFErfwhcGQ7p34xhjO6B0TUy65Lfj9UM40
nYAazE/h9TF5xugiy0nu/Lc=
X-Google-Smtp-Source: AGHT+IEQE48/1jYP+rv3Z6CVCrKiEdSd8H4QR86HFuynucjQpcgXYwKhD9rHamDNyoWJwJuOzgvUgQ==
X-Received: by 2002:adf:dcc1:0:b0:31f:e86f:cc12 with SMTP id
x1-20020adfdcc1000000b0031fe86fcc12mr10045722wrm.41.1695117515771;
Tue, 19 Sep 2023 02:58:35 -0700 (PDT)
Received: from localhost ([146.70.74.102]) by smtp.gmail.com with ESMTPSA id
a4-20020adffb84000000b0031c5e9c2ed7sm15007610wrr.92.2023.09.19.02.58.34
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Tue, 19 Sep 2023 02:58:35 -0700 (PDT)
Mime-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Date: Tue, 19 Sep 2023 11:58:33 +0200
Message-Id: <CVMT0B6XUMRE.2OL4Q00QGBSOY@vincent-arch>
From: "Vincenzo Palazzo" <vincenzopalazzodev@gmail.com>
To: "Lucas Ontivero" <lucasontivero@gmail.com>, "Bitcoin Protocol
Discussion" <bitcoin-dev@lists.linuxfoundation.org>, "kiminuo"
<kiminuo@protonmail.com>
X-Mailer: aerc 0.15.2
References: <VwPEzimSfSX3TndEvhlkap6TFYa5AUI8njvv29ijuMAZOrkLMeSjGVxRloDWbMNBCZbQ9p0jRfIYiLGTheI4wHBjEK5f4qjFOyPoYN5jGZs=@protonmail.com>
<aqQNYBhbmUz3LRgMxGzzCiToOGl7Ra_gZAhk5xDnZKwkGv16ly2l3BqjQRD7pjaQ_QQ-3bouXBeNjitvPzfbNlP-NnHMkfampmmqiH1UvN8=@protonmail.com>
<CALHvQn1bt_TP17b3trEH7rE8TDreKGHgduQx3s0gxSYnMcKTqQ@mail.gmail.com>
In-Reply-To: <CALHvQn1bt_TP17b3trEH7rE8TDreKGHgduQx3s0gxSYnMcKTqQ@mail.gmail.com>
X-Mailman-Approved-At: Tue, 19 Sep 2023 10:51:31 +0000
Subject: Re: [bitcoin-dev] Parameters in BIP21 URIs
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.15
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, 19 Sep 2023 09:58:39 -0000
> Kiminuo, this was discussed here: https://github.com/bitcoin/bips/pull/49
What was the conclusion? the discussion point to another discussion=20
happens on here. It is kind confusing.
I do think that the grammar of the BIP 21 is under specified, in the sense
that each parameter need to specify also how many times can be repeted.
In lightning, people start to ask the possibility to have multiple
invoices, that make kind of sense due that we encode everythink inside=20
a invoice. So a person need only to know the invoice. See more here [1]
I am more in favor to work on improving the BIP21 maybe with a new
version? where we change just the grammar a little bit.
[1] https://github.com/lightning/bolts/issues/1111#issuecomment-1725177738
Cheers,
Vincent.
|