summaryrefslogtreecommitdiff
path: root/f7/c95124d313b6d0089f0a04ca0933ca3c04abe4
blob: 017175914fd6c9b04b13ee7138be4cef30361d8d (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
Return-Path: <bnagaev@gmail.com>
Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])
 by lists.linuxfoundation.org (Postfix) with ESMTP id C73FDC0037
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 19:06:51 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp4.osuosl.org (Postfix) with ESMTP id 9CAFA415CF
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 19:06:51 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 9CAFA415CF
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=NmGupQ8X
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 GkuQpMdsXnvV
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 19:06:51 +0000 (UTC)
Received: from mail-il1-x135.google.com (mail-il1-x135.google.com
 [IPv6:2607:f8b0:4864:20::135])
 by smtp4.osuosl.org (Postfix) with ESMTPS id DFDC8414CE
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 19:06:50 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org DFDC8414CE
Received: by mail-il1-x135.google.com with SMTP id
 e9e14a558f8ab-35fe9a6609eso36671595ab.2
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 27 Dec 2023 11:06:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1703704010; x=1704308810;
 darn=lists.linuxfoundation.org; 
 h=content-transfer-encoding:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=2GH16prUWIr823OgFbIfxTsiw+KJ6zs7siBIQof79wk=;
 b=NmGupQ8XZ9lMlre2/da4ub9CFsB5/N0feiVZE6jkwlxefKay+uEu6j2wV7II9f4Vd/
 vPdb+5uLltyiPep5nfro/SL+B/uYhxzH5b1zseN56157iRqUae+RtW/tpWUTqOQVDJQU
 lOJz40El9BX14JKWpo0jA0gtXJoxkGDx5Ft+CvNQiG5cq5Dvg4/29qadFlgz/V+xS0yR
 J+GykZPQUWWIJLWmVMgQpt1bD3rx6uGqtm1Is1ZAa2wlL8gwaCTH/14omFJp1OeAjZoY
 XsxGyp/84+qyqBORv3pvXcl6pmEwe8+RRepNq8k9Ms2XV4Y46NtMUN0KaH53Z6EamHrG
 yhxA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1703704010; x=1704308810;
 h=content-transfer-encoding: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=2GH16prUWIr823OgFbIfxTsiw+KJ6zs7siBIQof79wk=;
 b=YsU+rE8Qg6SPaFtGgiI7janAIyAKes6FdhTRn+XRM4UrabatKJXUt6FwYwTHUsrJRu
 ANyQsrIvCjC20IYlXrfFvYWWWWZDoTX7PD/kI2wpK0FIKrLTKPSSa1o5BM5ZILekOElT
 1bnWzq3bbN8PN1+nf336XbdcUDEt4BA758tl4T7dLKPEtrglQi41D4DOsmqiQjJ1qJM2
 tNeSx99Evlzde3E4clPvtzkAeCvvUHFkoe2m597Oyh+etpdxci+HoZ4yT6SMBxGZ2fpp
 OqV81c2//Y1Oc8hizwz2up6Av/m9Uy/0/wyTFGPOBjCIyO8eWxM6CHFfZ6JhCyF3WRfI
 BxmA==
X-Gm-Message-State: AOJu0Yymx3HwoAY9tNHAd8prfd0CHkB9HouAAqNTyN1rU4IWfVvo8J3J
 qaGU9u1E4XxR7ppx+3JmZQWRe7In59ft38RaCOg=
X-Google-Smtp-Source: AGHT+IEb2K2aaF7lQobeZNyVR7vgnbaU6GWwuwXmqlQxKo/cnxQEjLvkfzAnynjTAVHhi8atkczozBDqHAvX5l2Rg60=
X-Received: by 2002:a05:6e02:1a49:b0:35f:b65b:d with SMTP id
 u9-20020a056e021a4900b0035fb65b000dmr15449119ilv.79.1703704009856; Wed, 27
 Dec 2023 11:06:49 -0800 (PST)
MIME-Version: 1.0
References: <CAMHHROxsKuqzVsU90srQBNDj4redB11uqB2JxmDK=G1LDw9_HA@mail.gmail.com>
In-Reply-To: <CAMHHROxsKuqzVsU90srQBNDj4redB11uqB2JxmDK=G1LDw9_HA@mail.gmail.com>
From: Nagaev Boris <bnagaev@gmail.com>
Date: Wed, 27 Dec 2023 16:06:13 -0300
Message-ID: <CAFC_Vt4pjZCMAZSi32Y3z-F3rrnnXVR4pvF5T4Ojrdb=Lsu97A@mail.gmail.com>
To: Greg Tonoski <gregtonoski@gmail.com>, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Thu, 28 Dec 2023 10:46:17 +0000
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: Wed, 27 Dec 2023 19:06:51 -0000

On Wed, Dec 27, 2023 at 2:26=E2=80=AFPM Greg Tonoski via bitcoin-dev
<bitcoin-dev@lists.linuxfoundation.org> 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).
>
> 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.

Witness data does not contribute to utxo set. The discount on storing
data in witness creates an incentive to store data exactly in the
witness and not in the parts contributing to utxo set.

$ du -sh blocks/ chainstate/
569G    blocks/
9.3G    chainstate/

Witness data is part of the "blocks" directory which is not
latency-critical and can be stored on a slow and cheap storage device.
Directory "chainstate" contains the data needed to validate new
transactions and should fit into a fast storage device otherwise
initial block download takes weeks. It is important to maintain the
incentives structure, resulting in a small chainstate.

--=20
Best regards,
Boris Nagaev