summaryrefslogtreecommitdiff
path: root/93/24fa22370978893370b023e3d090f0067a72c6
blob: 7a7081c9d695674158a62b3294db43a3fae2ac52 (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
Return-Path: <earonesty@gmail.com>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 00E3CC002D
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 11 Jul 2022 20:52:53 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp3.osuosl.org (Postfix) with ESMTP id BBEBC60AE6
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 11 Jul 2022 20:52:53 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org BBEBC60AE6
Authentication-Results: smtp3.osuosl.org;
 dkim=pass (2048-bit key) header.d=q32-com.20210112.gappssmtp.com
 header.i=@q32-com.20210112.gappssmtp.com header.a=rsa-sha256
 header.s=20210112 header.b=VqXGssZH
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: 0.5
X-Spam-Level: 
X-Spam-Status: No, score=0.5 tagged_above=-999 required=5
 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
 autolearn=no 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 QqZ0se8LlE9E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 11 Jul 2022 20:52:53 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E1325608D8
Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com
 [IPv6:2a00:1450:4864:20::232])
 by smtp3.osuosl.org (Postfix) with ESMTPS id E1325608D8
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 11 Jul 2022 20:52:52 +0000 (UTC)
Received: by mail-lj1-x232.google.com with SMTP id o12so5026602ljc.3
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 11 Jul 2022 13:52:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=q32-com.20210112.gappssmtp.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=XMJrxKy1hgziSW8jl15LFSC7wxD9/Ott6S1evsKOOww=;
 b=VqXGssZH0Y17GJABRDcXQF1DvQKnYlzziEmzGXhfmubCc0yNiZK2RkCe1HhZxFFAbS
 hJ4Iv2yr3pUR0Cu51gKacZdZz1uZMLDJ8GjnPzmnk1d2gv5plZzJd+MnbG2r5zJBkBXl
 U0hT5sLWQBWInApLHzWlBV3L1ML4BQ9DzilTP/EVT2fC6N3dc4191PbOIvqRu1EQvq8X
 pahHQUUSbY+3j1bTXIJmsg6bUZEpdTBL1vxHLYMaHeas+KOS/C3Pugx4z2k+0cPQQeRH
 YGPJvJtsxYRHNqXdwyTg5RZf09mxZIOHbWhZR0wbWjqaWAnunfscGc5lpG1KPNOoudgF
 qDNQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=XMJrxKy1hgziSW8jl15LFSC7wxD9/Ott6S1evsKOOww=;
 b=ia/y2VHmw9hHLyTm/lhHrbQNvV7L8dTdzF6eN3TGiZzNU6hNvVJ7UEtpACpViNFgw+
 Aocql8fOWMklTrzlsektqYR/eaWLLmAHsreP7sV8Ka3pWVuGJPbUAof94PPlurjUM2bh
 PKKfPyNl/Jqj2ovoaU5j+O7wJo6efFtU3GQdE9PhjgUZe6duAkTCn6yLuWS25gPyayvY
 esA9x12nqA7ehb/i8AobXHx0sPq5BZ2fjX/VR5986RX0PZBy1jlUdQY/DfYhTafic1Ax
 FdAFCCdQQ4URpSG66UGr+OyC8vCcllj8ht6d00ODK1FsWV7wkZYU8aG0gwGMdR989n7A
 My6Q==
X-Gm-Message-State: AJIora9BcA7q94dM6das4AEU2N0YZEz7BiTef9THTK3q7HVjTw45crtO
 pd9m4USGLML2pI4bqxtV0qnebumefp6Vbty4S44cQ2Y=
X-Google-Smtp-Source: AGRyM1vsi5PkLmYDTpUS5NZhiv1OSxIuEgZugGDMhZS2w8I2Sg7sSyB/z60K301MjmL2qbUy+6VemVn8n9ON6t1JaYc=
X-Received: by 2002:a2e:bd0e:0:b0:253:c481:d1bd with SMTP id
 n14-20020a2ebd0e000000b00253c481d1bdmr11062701ljq.154.1657572770775; Mon, 11
 Jul 2022 13:52:50 -0700 (PDT)
MIME-Version: 1.0
References: <CAHUJnBDYDbgr3C158o7c6_XXdG+kqJruFo=od_RmPFk_GS0udw@mail.gmail.com>
 <CAMZUoKmN1Sj=C-asUKCB0hbe-V2fRMsFzNn6kcsJeigbnz3fgQ@mail.gmail.com>
In-Reply-To: <CAMZUoKmN1Sj=C-asUKCB0hbe-V2fRMsFzNn6kcsJeigbnz3fgQ@mail.gmail.com>
From: Erik Aronesty <erik@q32.com>
Date: Mon, 11 Jul 2022 16:52:39 -0400
Message-ID: <CAJowKg+cm5WeC0L=rfexd2n5fstSXw2sqMo1ZGR3unuqBJ8swA@mail.gmail.com>
To: "Russell O'Connor" <roconnor@blockstream.com>, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="0000000000003107e305e38dbcf5"
X-Mailman-Approved-At: Mon, 11 Jul 2022 23:05:26 +0000
Subject: Re: [bitcoin-dev] Security problems with relying on transaction
 fees for security
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: Mon, 11 Jul 2022 20:52:54 -0000

--0000000000003107e305e38dbcf5
Content-Type: text/plain; charset="UTF-8"

>
> Miners will learn to create anyone-can-spend outputs to bribe other miners
> to build on their block rather than reorg it.  (Due to the coinbase
> maturity, this will require some amount of floating capital.)
>

(reward + avg fee) * 144 * 365 (one year) == approximate investment needed
to reorg the chain for a double-spend attack

in 30 years, assuming fees are still negligible (why wouldn't they be?
layer 2 works and layer 3 is coming), that's only 1200 bitcoin.  not really
a lot.

there's only few things that allow that security budget to be ok

 - we assume the price goes up a lot
 - we assume transactions get a lot more expensive
 - we don't care about double-spend attacks for very large transactions

i'd rather engineer block demand than ignore it

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

<div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_quote"><div>Miners =
will learn to create anyone-can-spend outputs to bribe other miners to buil=
d on their block rather than reorg it.=C2=A0 (Due to the coinbase maturity,=
 this will require some amount of floating capital.)<br></div></div></div><=
/blockquote><div><br></div><div>(reward=C2=A0+ avg fee) * 144 * 365 (one ye=
ar) =3D=3D approximate investment needed to reorg the chain for a double-sp=
end attack</div><div><br></div><div>in 30 years, assuming fees are still ne=
gligible (why wouldn&#39;t they be?=C2=A0 layer 2 works and layer 3 is comi=
ng), that&#39;s only 1200 bitcoin.=C2=A0 not really a lot.<br><br>there&#39=
;s only few things that allow that security budget to be ok</div><div><br><=
/div><div>=C2=A0- we assume the price goes up a lot=C2=A0</div><div><div>=
=C2=A0- we assume transactions get a lot more expensive<br></div><div><div>=
=C2=A0- we don&#39;t care about=C2=A0double-spend attacks for very large tr=
ansactions<br></div><div><br></div></div></div><div>i&#39;d rather engineer=
 block demand than ignore it</div><div><br><br><br></div></div></div>

--0000000000003107e305e38dbcf5--