summaryrefslogtreecommitdiff
path: root/1e/6154f26eed884781b8ccf4596f64517022e808
blob: 0836a1ad012f833de3e3c71979f8284700b1e5c9 (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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
Delivery-date: Mon, 28 Apr 2025 05:04:15 -0700
Received: from mail-qt1-f183.google.com ([209.85.160.183])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBAABBNG5XXAAMGQE6XH7NLY@googlegroups.com>)
	id 1u9NDa-0000FW-D1
	for bitcoindev@gnusha.org; Mon, 28 Apr 2025 05:04:15 -0700
Received: by mail-qt1-f183.google.com with SMTP id d75a77b69052e-476a44cec4csf84435851cf.2
        for <bitcoindev@gnusha.org>; Mon, 28 Apr 2025 05:04:14 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1745841848; cv=pass;
        d=google.com; s=arc-20240605;
        b=I/TMwD6AcXH9aRGwcRVC5KE5OMupsdpRdLtf47V5Je8ihnzQ7JZZZaSYgAk6v5XVwj
         b4fizMaA+unODk6csLM6IIDKtOx4FaahfFZFBC1R1VVCWxVU9TgJCDJywlpOWoGSxWZd
         EQuQblsxzy9fbuafS+9KSPCSrH3X0DQlMC3tLeJVS3HTN9ccIl4o+8a8Kfy3tmB16/zG
         AqaCiAKZ8MsTNDVnnboSVYsK9Omogj7EUUshzMPe3gGqEiZH9+q9GnDBP+cYAAaMtczE
         N9MfD5qHYmPjqiOwGQZi9mYXTH0oDBEOKC/KstT/LDiFdrBlnyE26zaulEOYkRhJoOC1
         NHcw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:to:references:message-id
         :content-transfer-encoding:cc:date:in-reply-to:from:subject
         :mime-version:feedback-id:sender:dkim-signature;
        bh=JKr/CSdS8+kHD/NpOR4/552H582ZvjvfOH581Zg8gb4=;
        fh=e99q7QupEsIu9XT+eu5GbtE1t5a1tAsxjXhAN9cBhZ8=;
        b=dv3YJypKxmQOkJsSC9tyDzsjsgUXGROd7MY2S+dKZf3tZ3tYClweUHWy8ejeYMRt6F
         BhCamtFlbCgx0Hz0kNBI5PHdZ7C8S1100zVr1KCnWvqiaNMvXzG12BGmSTSzbEZHH1VV
         c0g55/0FfjePAg+8G8Ifa4Nnkz834lJn84jFuCdOZZPc+AygwllcreuHqAZL09sSFyEE
         1EpLh8lvHfeYVNIb3T2DWwNVFG52iFcPNZ42/MHc4CjS4MpMzCPxFj4fnw85RHh2frq7
         RbOYog0JZbCwQwasdnE2qBihGMwaDFdksQRXkWU9gjRjruMDHAt5YunBqhiimMOBMi0G
         h1rA==;
        darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
       dkim=pass header.i=@sprovoost.nl header.s=fm1 header.b=QE+Dr+P8;
       dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=AdyerSz8;
       spf=pass (google.com: domain of sjors@sprovoost.nl designates 103.168.172.158 as permitted sender) smtp.mailfrom=sjors@sprovoost.nl;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sprovoost.nl
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1745841848; x=1746446648; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:to:references:message-id
         :content-transfer-encoding:cc:date:in-reply-to:from:subject
         :mime-version:feedback-id:sender:from:to:cc:subject:date:message-id
         :reply-to;
        bh=JKr/CSdS8+kHD/NpOR4/552H582ZvjvfOH581Zg8gb4=;
        b=iVkhGg8yqD+7LcENmCUJkMIJd8B3qx5juV/2Rp4lGNhcgygWUprhnfRYl7W3nru8rX
         RrnIarFrK/JKQ4yE3SQj6r/3MIhSPhKQkZ9BCKvyvICl+OQNpT3kWMQizIZSI7yDYaqQ
         e3INs8ELwY3vv4T+05YDLT1Y/BkWc05YPEUCpFsthmXyYHT4xSg7ibJC9lYELHq+G8XJ
         PoRLCZdeHx+Q7xM88I30BbynZuSvkeZfEHqmczE7GNvAFuTMhs+2F0v0tqF35dFQNLdK
         vfuaBH8bT9UAgGco2n6zQJwMSAExAZUoGhmJJFE27hI85oiw5q61bUIkCuvuNcf12yR2
         bEiA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1745841848; x=1746446648;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:to:references:message-id
         :content-transfer-encoding:cc:date:in-reply-to:from:subject
         :mime-version:feedback-id:x-beenthere:x-gm-message-state:sender:from
         :to:cc:subject:date:message-id:reply-to;
        bh=JKr/CSdS8+kHD/NpOR4/552H582ZvjvfOH581Zg8gb4=;
        b=sk8yKMScZPrW5XHiNQB43b/bc9aoejUA7QyWz7XYRL+xWLOO+SBE6rGZVAjtnSbdoe
         SJ2ZftV2iVfNmszPZlkFtT97GQ81I+Tkdxfskjae7cogpLLCuTYHKTO30qIKNepiMjVU
         TNFEIERP4vIv1bRkTOFBQhzuv36hwCLl2zbUj5j0uQumVp9JgExEQGyNAT+mPl8SDibR
         HGCwUsMtNfziJxQz33I/FKwBQbwrJD9+964fXMnK4PBp/pJt08r8LqcBkkT4h/XLTR94
         aWb2YFFaFrGseVCJQ95st098viQqDFwFYp3J+SvRE1tmiaq5UdOs1zYHW/vtCKKf9C84
         bDOg==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=2; AJvYcCXc69vClo8zREPdZW4MjvkEMbsoQVyJ3bJI9x6miijmLJ64hgxKLXWG3gys4BzO+5SGEAY3j2Oz9JQj@gnusha.org
X-Gm-Message-State: AOJu0YweVJo5kw5E6A3K4ayE+8rktM5e5RD5N9GA5MG/yoTL3qtuxHhF
	1M426HaTm/nPWH6BdMIwisT5EkUdmwD2NPY3wx4pWIJoEhu/Klug
X-Google-Smtp-Source: AGHT+IHCGxDWiCOU8Al9NlYA+NirD/MJ4dlQ16LLdg/P/zckeOO7fodvDqnZ5M97jXjYxmAZbYtacA==
X-Received: by 2002:a05:622a:1313:b0:477:1edc:2367 with SMTP id d75a77b69052e-4801e5f07f3mr177714901cf.37.1745841847586;
        Mon, 28 Apr 2025 05:04:07 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=AVT/gBGadIkp2E+Gyv1ytZ96L55RKMNCY2e9oRrwf43H79xQDA==
Received: by 2002:a05:622a:a017:b0:477:5ddb:625a with SMTP id
 d75a77b69052e-47e5ddeeb1als20274291cf.1.-pod-prod-03-us; Mon, 28 Apr 2025
 05:04:04 -0700 (PDT)
X-Received: by 2002:a05:620a:4493:b0:7c7:9a85:d395 with SMTP id af79cd13be357-7c960786a45mr1745353085a.44.1745841843710;
        Mon, 28 Apr 2025 05:04:03 -0700 (PDT)
Received: by 2002:a05:620a:254e:b0:7c5:50d5:7703 with SMTP id af79cd13be357-7c960f1afa2ms85a;
        Mon, 28 Apr 2025 04:48:44 -0700 (PDT)
X-Received: by 2002:a05:620a:1b99:b0:7c5:af73:4f72 with SMTP id af79cd13be357-7c960785819mr2059001085a.42.1745840923835;
        Mon, 28 Apr 2025 04:48:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1745840923; cv=none;
        d=google.com; s=arc-20240605;
        b=IemZH40KPi3O0IGz6mytICyvWvZbR91+ZcxR7S7WZ7qcx8s1ek1gnrxT5V4ZPmIM+i
         z6DtYCitomUTIuq6GsLm38mqvwROXsdmnlqqm4DwHZ3ejjTKlk205GAVEc0RKIak6bwN
         mJbjx/wPTDS/KWPPgevWBExD43hxR1UR1K12TVXBiL0ZvWWwDSnriSH0jSlmCi95m1yP
         wlbjQ3lK1CoyhUQemgQFC+Xa5w8HMdO8BMsHBILoiAk0tV1I/zRD/ilyC6jMAEvWUlBa
         OW8CGwImH0QbPD2v3eL7B5n4A3FIBdGa1KFhMm5LXdzgXUGZVHUoG/VKXr2yFWkrzKtN
         29cg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=to:references:message-id:content-transfer-encoding:cc:date
         :in-reply-to:from:subject:mime-version:feedback-id:dkim-signature
         :dkim-signature;
        bh=goaT4OytJtlC31UVoe82k4OeCvdFKXtS3QfaOfPG2KE=;
        fh=afRemxxCTowt2Yv1A/mi4ZuzpKzvnpOnn+pWsGUHuEo=;
        b=MUIR4Cbxf2eBGV+fUm6Aeiz+5JWvR+a2P+KN4MtWLXLuF4ifp6KScCFhYbnVHum+v4
         kNzG2CcNFGSSL3ZYyB9MURdpmUU2S06vz3bL46pRu8ePSlkw972ozNk4xVWeDlxRDcfU
         fd2/0rSPAr31JBcS8YhD/hoArhYs2ZSGbogLSli8Ubz0y+RW4csyCW+GqV/AS0WmVF0i
         XCRFZxfVhoZYthfEIzYW9TT1SyXOLurLd4k5qJxj/Zfta0WqeR0H1RuNWosIWR1/F2FT
         7Q2WFTB700TuoBencJpBECq2XYuTX/HZcnBDJohT1p3r+9ij98XRjhSCO27npay1kC9W
         i34g==;
        dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
       dkim=pass header.i=@sprovoost.nl header.s=fm1 header.b=QE+Dr+P8;
       dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=AdyerSz8;
       spf=pass (google.com: domain of sjors@sprovoost.nl designates 103.168.172.158 as permitted sender) smtp.mailfrom=sjors@sprovoost.nl;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sprovoost.nl
Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com. [103.168.172.158])
        by gmr-mx.google.com with ESMTPS id af79cd13be357-7c958d7953csi36393385a.7.2025.04.28.04.48.43
        for <bitcoindev@googlegroups.com>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Mon, 28 Apr 2025 04:48:43 -0700 (PDT)
Received-SPF: pass (google.com: domain of sjors@sprovoost.nl designates 103.168.172.158 as permitted sender) client-ip=103.168.172.158;
Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43])
	by mailfhigh.phl.internal (Postfix) with ESMTP id 57E8B114020C;
	Mon, 28 Apr 2025 07:48:43 -0400 (EDT)
Received: from phl-mailfrontend-02 ([10.202.2.163])
  by phl-compute-03.internal (MEProxy); Mon, 28 Apr 2025 07:48:43 -0400
X-ME-Sender: <xms:GmsPaNwClkem8YHxZ2vlnyBA5Cf8vZBjf-w98zSVJZjJ9ApE5kBXfA>
    <xme:GmsPaNT7NvSehFFn05VgiDz-PDamlgasjtr9I2R5ydrQ4GjVb2ji-fPltdgGGfJkB
    ZPteLTnIvzJdXWknA>
X-ME-Received: <xmr:GmsPaHUJelhG8hSGuClTm33PrbZhPZTviOMf5_MFXi11d7fnaaOyTRoHvmcAtBia58Ln>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddviedtkeejucetufdoteggodetrf
    dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv
    pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih
    gvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhh
    tddvnecuhfhrohhmpefujhhorhhsucfrrhhovhhoohhsthcuoehsjhhorhhssehsphhroh
    hvohhoshhtrdhnlheqnecuggftrfgrthhtvghrnhepveeklefgfffggfffleefhffgtddv
    udfftdduteeijedvjeevkeekgeffjeetfeejnecuvehluhhsthgvrhfuihiivgeptdenuc
    frrghrrghmpehmrghilhhfrhhomhepshhjohhrshesshhprhhovhhoohhsthdrnhhlpdhn
    sggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegsihhttg
    hoihhnuggvvhesghhoohhglhgvghhrohhuphhsrdgtohhmpdhrtghpthhtoheprhhsohhm
    shgvnhesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:GmsPaPiQNMPGNdSFUWqHZUrkGbSDPDi_LUFGcJ2nbiVUOIRoUtwJfg>
    <xmx:GmsPaPBNhEiVDwVQ8SCDJLuGqukDyNvc5wQSx16qMrFPS66eiCQAzg>
    <xmx:GmsPaIJrgTj7p5H0XHHS9C7fC4faTXk_BkOoGf0U7agfnwSybxNrVg>
    <xmx:GmsPaOAjJ6C74gcOZa-B9GTLSnqtf3JixcHkHMeSjCT_955N0h5gsQ>
    <xmx:G2sPaGUos3UW3ogAl1c5NPG0vAyugh_VWbuD8MXqNo7Z1B58BnD7p49m>
Feedback-ID: ie5e042df:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 28 Apr 2025 07:48:42 -0400 (EDT)
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.500.181.1.5\))
Subject: Re: [bitcoindev] The Tragic Tale of BIP30
From: Sjors Provoost <sjors@sprovoost.nl>
In-Reply-To: <CAPv7TjZTWhgzzdps3vb0YoU3EYJwThDFhNLkf4XmmdfhbORTaw@mail.gmail.com>
Date: Mon, 28 Apr 2025 13:48:31 +0200
Cc: Ruben Somsen <rsomsen@gmail.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <86FA0255-1A81-4DA1-9B1A-E57AD4F1DAAD@sprovoost.nl>
References: <CAPv7TjZTWhgzzdps3vb0YoU3EYJwThDFhNLkf4XmmdfhbORTaw@mail.gmail.com>
To: bitcoindev@googlegroups.com
X-Mailer: Apple Mail (2.3826.500.181.1.5)
X-Original-Sender: sjors@sprovoost.nl
X-Original-Authentication-Results: gmr-mx.google.com;       dkim=pass
 header.i=@sprovoost.nl header.s=fm1 header.b=QE+Dr+P8;       dkim=pass
 header.i=@messagingengine.com header.s=fm3 header.b=AdyerSz8;       spf=pass
 (google.com: domain of sjors@sprovoost.nl designates 103.168.172.158 as
 permitted sender) smtp.mailfrom=sjors@sprovoost.nl;       dmarc=pass (p=NONE
 sp=NONE dis=NONE) header.from=sprovoost.nl
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
 <https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.8 (/)

Luke Dashr wrote:

> Solution C could be to remove it, but restore the previous UTXO. In other=
 words, treat the overwrite as a spend of the overwritten transaction.

This might also be cleaner at the Bitcoin Core implementation level, becaus=
e each UTXO set entry contains its creation height. And it might (conceptua=
lly) help Utreexo and SwiftSync.

Eric Voskuil wrote:

> I'm not aware of any compelling argument to hard fork out the existing ch=
eckpoints

Bitcoin Core plans to remove checkpoints entirely by v30 this fall. I just =
started a thread about this.

Ruben Somsen wrote:

> One last point to address is why BIP34 gets deactivated if block 227931 i=
s reorged out. The reason for this is because otherwise it'd open the door =
to possibly creating outputs prior to BIP34's activation that will conflict=
 with BIP34's rules for ensuring coinbase transaction uniqueness (the exact=
 issue the Consensus Cleanup is seeking to resolve).
>=20
> Ideally, it'd be nice to be able to sunset the BIP30 UTXO set check compl=
etely, ensuring it's no longer required, even in case of a reorg.

As I suggested in the other thread, it might be useful to have a more gener=
al BIP to describe the various issues around an alien-attack level reorg, f=
or those who want to stick around and salvage the project.

In the case of BIP30, one option could be to have a rule that says: if the =
2014 checkpoint is missing, then enforce the BIP54 Consensus Cleanup nLockT=
ime rule from genesis. BIP34 can then simply go away.

(while you're at it, this rule could disable bare script, p2pk, p2sh, segwi=
t v0, sigops counting and maybe some legacy stuff)

- Sjors

--=20
You received this message because you are subscribed to the Google Groups "=
Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/=
86FA0255-1A81-4DA1-9B1A-E57AD4F1DAAD%40sprovoost.nl.