summaryrefslogtreecommitdiff
path: root/6b/6ba6aa39ed06cc582bde07063878cd4658ff78
blob: 5c4b91d8ddd7b40efff0d61d11230bbc803a115f (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
Return-Path: <gregtonoski@gmail.com>
Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])
 by lists.linuxfoundation.org (Postfix) with ESMTP id E8B87C0037
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 16:44:47 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp4.osuosl.org (Postfix) with ESMTP id B78C74109B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 16:44:47 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org B78C74109B
Authentication-Results: smtp4.osuosl.org;
 dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
 header.a=rsa-sha256 header.s=20230601 header.b=MwdYwE28
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 smtp4.osuosl.org ([127.0.0.1])
 by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id FKiEB6ZjH7Ij
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 16:44:47 +0000 (UTC)
Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com
 [IPv6:2607:f8b0:4864:20::535])
 by smtp4.osuosl.org (Postfix) with ESMTPS id 2A0794089B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 16:44:47 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 2A0794089B
Received: by mail-pg1-x535.google.com with SMTP id
 41be03b00d2f7-5ca29c131ebso4156880a12.0
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 08:44:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1703695486; x=1704300286;
 darn=lists.linuxfoundation.org; 
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=ED03JVs+RrHT6mcKwFq9pq8fNrTXcE5i2lF9a2zYmhE=;
 b=MwdYwE28io2vk8iNGFxiDkS5Ac/3IDzkjrRibH8QRx6aCWOQoIKMPZ3OJejWY+mthQ
 QTn4BfEliARaId1IITN3MXZnRliB0gLWxpp7JV34kghPwU8m+lDAiOKNFvKNT2AAjbVi
 +akNjFuDQdYt5BYkgygux4YBPUqmk6iBBx04GXW/S0D6uoNRp6c4DGIyNE5TbwofvRT6
 V4XmmHA4rvrrEHmBAxlZwwQYfEE4lpTP9Ud5pT5BvlATsRpZQaCecPlx9q7Nr/0b9Pt0
 hvYRVOnU9u1JRLLULgE1U12mZtWdqs25aU4W0vsFui20kMwF5AsclCzltvhL96AlG3K1
 Cmdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1703695486; x=1704300286;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=ED03JVs+RrHT6mcKwFq9pq8fNrTXcE5i2lF9a2zYmhE=;
 b=EBm4dlrMhBbWjNun1BVPKVxy22GcWQbb4BqUYlZaMhp/3P0pqXQzaJ06d+xacPBL84
 uUd4Z74AWHpwzBSSJOF9YBErThzDsdoh+WowMOkrT5vLZoHENsyjCZdAoty8EOfMHVck
 yPfWINAkdTgbxfIkKNkae0zAiggA6QfooquZan6KAr0GIM4uuRAc8VM8dTF+/PrVIoHo
 oP/91UaK7wOMOrM77NC47/WiQ91uOrOyRXoW3mPPoL/YaLtjgq7KepB0bQl/uOL41Itx
 nKEdzKFAQT5sqRJh7uLJ4OcDfksT8bLeFPc5MlgDg5DinCp2Hp1zcXtU+faTcxcQMkpV
 sRKw==
X-Gm-Message-State: AOJu0YyZaApVXCRndru30WCyjjxCzMzqo/6z34Vd5puCgGpDTIDPqI76
 TnaN0r/9fCNcZ/aHuJN2hzefRGxedXsv8nv+wyvDS+E00klerw==
X-Google-Smtp-Source: AGHT+IFTLdI3Fyxdw5i8kM+FPjSnsBrMu6Pm2Kb4bcASBmvLYepSiIdahtmv5VX3VEtKjbwcs+6FxZYz3Zejmy5ZsnQ=
X-Received: by 2002:a17:90a:8911:b0:28c:8dc0:7eda with SMTP id
 u17-20020a17090a891100b0028c8dc07edamr999885pjn.91.1703695486154; Wed, 27 Dec
 2023 08:44:46 -0800 (PST)
MIME-Version: 1.0
From: Greg Tonoski <gregtonoski@gmail.com>
Date: Wed, 27 Dec 2023 17:44:51 +0100
Message-ID: <CAMHHROxsKuqzVsU90srQBNDj4redB11uqB2JxmDK=G1LDw9_HA@mail.gmail.com>
To: bitcoin-dev@lists.linuxfoundation.org
Content-Type: text/plain; charset="UTF-8"
X-Mailman-Approved-At: Wed, 27 Dec 2023 17:26:31 +0000
Subject: [bitcoin-dev] [BUG]: Bitcoin blockspace price discrimination put
 simple transactions at disadvantage
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: Wed, 27 Dec 2023 16:44:48 -0000

Blockspace price for data of a simple transaction is higher than the
one for data of other ("complex") transactions: 3 vs 1.49
"weight"/byte in the examples below:
- 3=616 "weight" / 205 bytes (txid:
aabbcce67f2aa71932f789cac5468d39e3d2224d8bebb7ca2c3bf8c41d567cdd)
- 1.49=1140 "weight" / 767 bytes (txid:
1c35521798dde4d1621e9aa5a3bacac03100fca40b6fb99be546ec50c1bcbd4a).

As a result, there are incentives structure distorted and critical
inefficiencies/vulnerabilities (e.g. misallocation of block space,
blockspace value destruction, disincentivized simple transaction,
centralization around complex transactions originators).

Price of blockspace should be the same for any data (1 byte = 1 byte,
irrespectively of location inside or outside of witness), e.g. 205/205
and 767/767 bytes in the examples above.

Perhaps, the solution (the same price, "weight" of each bit of a
transaction) could be introduced as part of the next version of Segwit
transactions.

Let's fix it. What do you think?