summaryrefslogtreecommitdiff
path: root/31/a029bb1be7d4115e8dbdb8f35641f0b1efeb3c
blob: ffd791ce305419920055e592dc93cd591f889488 (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
Return-Path: <gregtonoski@gmail.com>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 76BE9C0037
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sun, 14 Jan 2024 13:10:17 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp3.osuosl.org (Postfix) with ESMTP id 450D360AC3
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sun, 14 Jan 2024 13:10:17 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 450D360AC3
Authentication-Results: smtp3.osuosl.org;
 dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com
 header.a=rsa-sha256 header.s=20230601 header.b=e1qoqvpg
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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,
 URIBL_SBL_A=0.1] autolearn=ham autolearn_force=no
Received: from smtp3.osuosl.org ([127.0.0.1])
 by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id AHb85vbo7gDi
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sun, 14 Jan 2024 13:10:16 +0000 (UTC)
Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com
 [IPv6:2607:f8b0:4864:20::532])
 by smtp3.osuosl.org (Postfix) with ESMTPS id 7A5E560671
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sun, 14 Jan 2024 13:10:16 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7A5E560671
Received: by mail-pg1-x532.google.com with SMTP id
 41be03b00d2f7-5c21e185df5so5778179a12.1
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sun, 14 Jan 2024 05:10:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1705237816; x=1705842616;
 darn=lists.linuxfoundation.org; 
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=26JSTVk1lEkS4X1qaFHh2gwzGd4Z27YSSWhS889QOww=;
 b=e1qoqvpgDu5dAFG9E60hj+x7mgXm06nkkfXHBmXKKvZnHVKbQGv4sX5AAK0w/7tate
 +YjkeGqsN0rQ+nfuGs2FBum9xVLJoEiBr8pSytsoHGqN4XK+DAuNoUcjFRHL1ORqa8j1
 t0wyEmhNSG6Xz3YOpwsvb8st07GpE9JcpH9IeiyNvvlHzJuDj8ZE4f2RwafNsFJH1XI6
 Vd7nUwN3zzWFVVtil7hMVU6e7XhHY8MxFABsvzACLdr9x5klsxon/4MGT+f2BuLF1iQr
 kiL6XKcpnPi7bifIs9xQrjVV+WS7KoXorK8F14Ts7d+xPq/2vQkEd3BkOGz20+emdlYG
 IfDA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705237816; x=1705842616;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=26JSTVk1lEkS4X1qaFHh2gwzGd4Z27YSSWhS889QOww=;
 b=eegZDv47/a/PQV4HOU7c8A4KEMEqozn+jXpjg7Mfkc4jqcomOGCPnb3LkD0L1tHjSu
 W9zFkC1i0zyL6X6clqlOxpKcwW4srY/Bfk+I6bLSL2Rtm+ix2zAnnfH5NMdxrXdkE3vA
 t/vwhH/xd/P+NxhnmHQSev+BbcLQPNFY/x/qT+KklgGY8ZdC2iellfkFK12Zui3IWEfk
 iKedk5yN3Ng2os/GmoodhlJD9Rs++iR6biWNgK2s9vrmfOQurjw2Hz5kG2nuMP7WoHRn
 Z1E7vM2PmDZSpr8/37J9FQmmYFN3B6vU3HlNDkIpfLAn3io9JPMrLF3qDa8PSqqLGWl/
 l4jQ==
X-Gm-Message-State: AOJu0Yzrtf6/x7nNWva754vssAp7dhK3Uy98K202z25JmTB4rDSFEQQc
 DoKz6ItBQPye1P4thKqHCwZSbOnRkbxhoxKGtmc=
X-Google-Smtp-Source: AGHT+IGnyZRq60xg2ZB+YQ73248W7xQsqiQz88qVg56T2vMiwhvDE90xOchHKsB5I855agCEbwuuMHqR1LhxQSW1jns=
X-Received: by 2002:a17:90b:1c91:b0:28b:d596:39d9 with SMTP id
 oo17-20020a17090b1c9100b0028bd59639d9mr2915736pjb.82.1705237815765; Sun, 14
 Jan 2024 05:10:15 -0800 (PST)
MIME-Version: 1.0
References: <CAMHHROxsKuqzVsU90srQBNDj4redB11uqB2JxmDK=G1LDw9_HA@mail.gmail.com>
 <CALeFGL2AZfVqchy=GWTDyehKXJkjYtCaonYFigv7ctHUnsxPfg@mail.gmail.com>
In-Reply-To: <CALeFGL2AZfVqchy=GWTDyehKXJkjYtCaonYFigv7ctHUnsxPfg@mail.gmail.com>
From: Greg Tonoski <gregtonoski@gmail.com>
Date: Sun, 14 Jan 2024 14:10:30 +0100
Message-ID: <CAMHHROwP8guVcy3yV09B=PYQscTcnGtNGMheFdvJM4ZYdWTSYw@mail.gmail.com>
To: Keagan McClelland <keagan.mcclelland@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Sun, 14 Jan 2024 13:20:55 +0000
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [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: Sun, 14 Jan 2024 13:10:17 -0000

On Wed, Dec 27, 2023 at 11:39=E2=80=AFPM Keagan McClelland
<keagan.mcclelland@gmail.com> wrote:
>
> > 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).
>
> Can you please describe the mechanism here?

Sure. Because of the preferential treatment there is incentive to
bloat the underpriced part of transaction data (so-called Witness) at
the expense of a number of genuine, simple transactions and so a
number of updates in the ledger. Blockspace is allocated to useless,
irrelevant data that don't affect state of Bitcoin, e.g. the
transaction 1c35521798dde4d1621e9aa5a3bacac03100fca40b6fb99be546ec50c1bcbd4=
a
could have been stripped of bloat and UTXO set wouldn't have changed;
at the same time the freed space could have been allocated to a simple
transaction that updates UTXO set (improving cost effectivness at the
same time).

Additionally, bloated transactions are bigger and so require more time
to be downloaded during Initial Block Download - wasting bandwith
(cost borne by node operators).

>
> > Price of blockspace should be the same for any data (1 byte =3D 1 byte,
> irrespectively of location inside or outside of witness), e.g. 205/205
> and 767/767 bytes in the examples above.
>
> "Should" ... to what end?

"Should" in order to avoid hazard of centralization. A single bidder
who takes advantage of "buy 1 get 3 megabytes free" may outcompete a
number of individuals whose simple transactions recieve
anti-preferential treatment - "buy 1 get 0.33 megabytes free" in
aggregate. There is the illustration at:
"https://gregtonoski.github.io/bitcoin/segwit-mispricing/Comparison_of_4MB_=
and_1.33MB_blocks_in_Bitcoin.pdf".