summaryrefslogtreecommitdiff
path: root/8b/981a0d05aabc1248f5ba2bae142cc46c1811e4
blob: ce4879786ea66cb754f420c50df44e8628d4db53 (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
224
225
Delivery-date: Thu, 30 May 2024 15:00:05 -0700
Received: from mail-oa1-f60.google.com ([209.85.160.60])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBDRYHVHZTUGRBXPN4OZAMGQE25ACYXY@googlegroups.com>)
	id 1sCnob-0000op-Fl
	for bitcoindev@gnusha.org; Thu, 30 May 2024 15:00:05 -0700
Received: by mail-oa1-f60.google.com with SMTP id 586e51a60fabf-250719d64afsf521197fac.3
        for <bitcoindev@gnusha.org>; Thu, 30 May 2024 15:00:04 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1717106399; cv=pass;
        d=google.com; s=arc-20160816;
        b=xImEGKteBvkEAWGKQ8OKDsIqGn8x1nEWa3TmAFtsofrORBTSW7d1wNEuGJS7Ze1IAR
         pdNw6RGF4294HikqRZJvHOd7NAjedbKgDIJCE486oj0l0M8XBbaciRHBqJPkxryNyWXe
         X53VC+561So/GrrDy0XI7GPRmiVgVuyGbxy51ffaj82l64BrhdQRPf+MzyW9eW0jkNEq
         1xzw1yxZCk7v1PakNZAYymnnsEZOvyGNxQSS/gBq2ODrhMr2NiQP40RtKHMaIF7aS515
         NqePFk5qF+dCu/vfXM+E5kkNL7WtQWaR6iCzcicvPi6L0wAgRxhQpsXD/pifutQuVeFK
         2ryw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:in-reply-to:content-disposition
         :mime-version:references:message-id:subject:cc:to:from:date
         :feedback-id:sender:dkim-signature;
        bh=DHMm6mzBgjADStmVndLrhx5vdrQoHS05yjnVRCJJNWY=;
        fh=tl4NYCjC3StDE/LGMZoEt1zIUvMnXF9E7MI5KzaAL2o=;
        b=eQRCcRJCc4lE3ey8caHxLyDKIH7htW9IzAiftVnqQNzSd+/lNrhi31NWbm2Dc1RoS2
         oYg3f31o6G0wLlAZUSIZ9YefEKW6ugIus3v2FPycYKp6EmoG51OmKtkV2B0534ANiP1e
         y2KeteJJf9geZoycgI7iByl4srcQ0jeTNBB9yW84evuYtJCaEtbCwozhSgkr+cELZfvz
         uTz+XIX1uQnqUN5CJs/doGZLvbtU0RqnZEJjunvOArakiQnVVfOIR5Apl8o/NTyzcXDr
         uWg+mxd9FkFLH5f8+RhIkH1G/VcYsc/0Z0N8nrhX+CUTWE9qRIFCGsvdqlqZ1f24NgLQ
         CmjQ==;
        darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
       dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=QBDRoOdN;
       spf=pass (google.com: domain of pete@petertodd.org designates 64.147.123.149 as permitted sender) smtp.mailfrom=pete@petertodd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1717106399; x=1717711199; 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:in-reply-to:content-disposition:mime-version
         :references:message-id:subject:cc:to:from:date:feedback-id:sender
         :from:to:cc:subject:date:message-id:reply-to;
        bh=DHMm6mzBgjADStmVndLrhx5vdrQoHS05yjnVRCJJNWY=;
        b=onVWbOIgjCuR7y+j1ECmbGcDT9Boub4V+uDgYHxMhw8GVXgkv90C04S3L/LMyTJklR
         tt81co9tIHLiB6eTjob5n9qtVEEum8XVhRoSE71mK38lXkbeOjaxMzJEZtWM0gqvvzOK
         EyA07By6zGJV9nXuU7V3V3fAgy5+QEMLTLBDfx5huu3lulSdSIU0mmhrxswP+Mw7aZQs
         PgiC4OAOdkhXx2eCuUCT5MkSd2acxkTNkLTKdighE0TiRgd+ZOaKu3ZFxPZDKgRsezX8
         /qKzU8b4BBsT1C3t1AX3wNgZbWOcnoRh88CmuF6aOzxSheJtIRSe7NKfjR0dfgWcTYac
         b1TQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1717106399; x=1717711199;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:in-reply-to:content-disposition:mime-version
         :references:message-id:subject:cc:to:from:date:feedback-id
         :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date
         :message-id:reply-to;
        bh=DHMm6mzBgjADStmVndLrhx5vdrQoHS05yjnVRCJJNWY=;
        b=hxXS4iSARg3ZA+5p0dTor4mCfwo4H8PIPG7nlK6aACewhuD4p1Hz2ri/cKm0D1Jn98
         7giKb0lPVDedEA+daBkO76Ao4FpxQgkh9wcZ3V17OXGUlrJcjz2CDDvha/T6aRc+qDvL
         ufjgTS6O1ZjI8x//zKTkFBx9WdwKESnedeRyrwoeO15tLBUaieBDx6/pCdZYUM5pbV1n
         YGSEUZ8Wq7jK7dolQwAGbH3Gr9zEQJIZZUGeXWiBECH5D3jblNDC30h7kRrA5oM5/xH0
         AZ69pMugSIbiMY6Y4pwweKRvClMO8VCI+GxyQ76Mlq3J+b9cExvPWUSopUY3hDxwA/BA
         fAVg==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=2; AJvYcCUKWc3yXTm9F+QMpUypGuHcujKDlncOJZa+QZqUlEg75EH1Y6VlTzeVj5Gg5Sh/FkL72f/SjDAN6tubAxOEhOxs6APOd70=
X-Gm-Message-State: AOJu0YxHOW3hRdMjqBll5VUKBt8d8LBIPKE0O5A/PJ63S76X7CxTGCYy
	IlsgPuMTZWr/qIKBYZoZaKaLorUNq9MDPHUWy+lmY2W1gGF1fAjc
X-Google-Smtp-Source: AGHT+IF8gI3JQr6o2wy3GuazVIk3OfnHqAIR1YxoFbG4bMqXDVfbIQI5K9gYaGp7h8Z8+svnGhBn6g==
X-Received: by 2002:a05:6870:1702:b0:250:5c1:5d3f with SMTP id 586e51a60fabf-2508bc5036bmr208861fac.56.1717106398977;
        Thu, 30 May 2024 14:59:58 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com
Received: by 2002:a05:6870:224d:b0:24f:c2cf:445a with SMTP id
 586e51a60fabf-250602d8974ls538792fac.1.-pod-prod-00-us; Thu, 30 May 2024
 14:59:57 -0700 (PDT)
X-Received: by 2002:a05:6808:14ca:b0:3d1:e162:1045 with SMTP id 5614622812f47-3d1e2d9f538mr22381b6e.3.1717106397386;
        Thu, 30 May 2024 14:59:57 -0700 (PDT)
Received: by 2002:a05:6808:8c8:b0:3d1:b94e:b547 with SMTP id 5614622812f47-3d1dcc9452cmsb6e;
        Thu, 30 May 2024 11:21:04 -0700 (PDT)
X-Received: by 2002:a54:478c:0:b0:3c9:6b2a:7988 with SMTP id 5614622812f47-3d1dcca5ee2mr2776096b6e.23.1717093263496;
        Thu, 30 May 2024 11:21:03 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1717093263; cv=none;
        d=google.com; s=arc-20160816;
        b=cRVEZC4+Lqx0Y8qPfyLfM0Ui0VYSOam+8QYapMTEBjaCEsqWOP/BlWcM3e2OWK2DEb
         4zraZt9JNqpISLtb/wnZ27w3fcFworotNPLR7/LB1fx+JE0teK93Kd/kHkCxrOaOKIr4
         lm5V+9lA4UNRMoYJ4t0e+bVkPWFNoaXKJ7RBK26nnv8yx9lIKv6MOnP/3Y29/2JdLea/
         zvrtrdVIHSnEFz2k5fsljfzKDximQfLagOWEdaD5WNuxeNJRwN0PXRkwtfEHSfjNlO81
         Rj5EfUPVOFglOnUuN2FlUiKtqaftwJdsiQ0Weqsbn3UlrmWApGxPe6k7Y1zy8Kw3MuPb
         3CqA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=in-reply-to:content-disposition:mime-version:references:message-id
         :subject:cc:to:from:date:feedback-id:dkim-signature;
        bh=+KXiTGLACyGBpNpst/vJ7G27n8ag2YRGGky8fAwQt5g=;
        fh=/wkcIisPNPZVlphgWN+bN3eJjrriehRYi/FJkYnKdig=;
        b=XMDPudJtm+kde0Z02LjooTjSlH8+bzy57Tj/Wk8VMDRE8xoeOWm1c29wZxU0FJ9Qhj
         Z6ho/wh+QarlmHTYO7sNJ5dy2xzH7wmWJpAqAWaj4rXX/Ev/NN/OwHU+/bTcmPcXQYH+
         i1SyVyNPLkCPOP3P66of7CBWRH/3/epFWTUAM9YpEe2cVpaKI2JJemlBeTVfnonECY0F
         8OSXfd4H8erfTxZ3iSdDLnIzhvcEg9UY/APnpQHJ/w1TuFWIljSnVf75WYb3uLBmG4pE
         C3eIUKNy8h5FmHYcpZx2mVTBKMMQPMQUbLUXZL4na9/f2XCOpK+BI2VJ+JZNkuxJeSCi
         LzsA==;
        dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
       dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=QBDRoOdN;
       spf=pass (google.com: domain of pete@petertodd.org designates 64.147.123.149 as permitted sender) smtp.mailfrom=pete@petertodd.org
Received: from wfout6-smtp.messagingengine.com (wfout6-smtp.messagingengine.com. [64.147.123.149])
        by gmr-mx.google.com with ESMTPS id 5614622812f47-3d1e1a0350csi11418b6e.1.2024.05.30.11.21.03
        for <bitcoindev@googlegroups.com>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 30 May 2024 11:21:03 -0700 (PDT)
Received-SPF: pass (google.com: domain of pete@petertodd.org designates 64.147.123.149 as permitted sender) client-ip=64.147.123.149;
Received: from compute7.internal (compute7.nyi.internal [10.202.2.48])
	by mailfout.west.internal (Postfix) with ESMTP id 08D1F1C00176;
	Thu, 30 May 2024 14:21:01 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
  by compute7.internal (MEProxy); Thu, 30 May 2024 14:21:02 -0400
X-ME-Sender: <xms:jcNYZiPegPZbQkXGp2Kk8SID7gkpyUVTlCu8aj6_hdnLRAsmjq_BXg>
    <xme:jcNYZg8jrCYg3vZWfvCScXMvNcQGA1PY5POxY7kSkn5qrkLN6lw5EFTaPuzqBOdyu
    og4CSbENo5ubdTBGHA>
X-ME-Received: <xmr:jcNYZpS__mlgijpJp8gznWg3K7pSGoGEq-C7TkuYYhov8YNSrlkIreMEPMb7>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekgedguddvudcutefuodetggdotefrod
    ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
    necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
    enucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddunecuhfhrohhmpefrvght
    vghrucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdrohhrgheqnecuggftrfgrth
    htvghrnheptdegheelhfeugedtgedukedvtdekgfduheevhfehkeevieeigeffjeejjedv
    feeinecuffhomhgrihhnpehpvghtvghrthhouggurdhorhhgnecuvehluhhsthgvrhfuih
    iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvsehpvghtvghrthhouggu
    rdhorhhg
X-ME-Proxy: <xmx:jcNYZiv26ToYEf9KuX29Ca-3iy0za4QkA-40v0xNAjfizpCKmEg-fg>
    <xmx:jcNYZqc2sL7hWIojcIsPnCWbI_bUu48qF8Chml7umM9hje3pMVzp3Q>
    <xmx:jcNYZm3r-zarv1XviPFHsFn3YJ6tV8vokEiLDa0L4FnJGVmHnxM3YA>
    <xmx:jcNYZu-84L_pFoRVOhX7PuCmPsJLKYxNubkbUBUfM47XIgV5do_6NQ>
    <xmx:jcNYZnF_ypnAaM1chwhtBfdkdg_TjtN7zwzXJwTj2PFpMER-5OAbM6ju>
Feedback-ID: i525146e8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 30 May 2024 14:21:01 -0400 (EDT)
Received: by localhost (Postfix, from userid 1000)
	id 472FF5F834; Thu, 30 May 2024 18:20:57 +0000 (UTC)
Date: Thu, 30 May 2024 18:20:57 +0000
From: Peter Todd <pete@petertodd.org>
To: Juan David =?iso-8859-1?Q?Pe=F1a?= Melo <jdom1824@gmail.com>
Cc: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Subject: Re: [bitcoindev] How was the average size of blk*.data chosen?
Message-ID: <ZljDiesLp29yqipn@petertodd.org>
References: <af58fdac-f62f-44b6-8c30-37bb8ad8c4e3n@googlegroups.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="sZUACPFPsAtOgCEJ"
Content-Disposition: inline
In-Reply-To: <af58fdac-f62f-44b6-8c30-37bb8ad8c4e3n@googlegroups.com>
X-Original-Sender: pete@petertodd.org
X-Original-Authentication-Results: gmr-mx.google.com;       dkim=pass
 header.i=@messagingengine.com header.s=fm1 header.b=QBDRoOdN;       spf=pass
 (google.com: domain of pete@petertodd.org designates 64.147.123.149 as
 permitted sender) smtp.mailfrom=pete@petertodd.org
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 (/)


--sZUACPFPsAtOgCEJ
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 06, 2024 at 06:23:47PM -0700, Juan David Pe=C3=B1a Melo wrote:
> I notice that the Bitcoin database is stored sequentially in blk*.dat=20
> files, with an average size between 128 to 134MB. I would like to know ho=
w=20
> this average size is determined and if there are any tests that demonstra=
te=20
> this size is the most efficient.

Most likely someone just picked a number at random. For things like this, t=
here
is a very wide range of values that are probably fine. The main limiting fa=
ctor
at the high end, is some older file systems still don't support files >4GB,=
 so
you'd want to pick a value below that; Monero all block data in a single fi=
le,
and that occasionally leads to issues when, eg, copying that file from one
place to another. At the low end, having tens of thousands of files in one
directory tends to cause problems.

--=20
https://petertodd.org 'peter'[:-1]@petertodd.org

--=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 on the web visit https://groups.google.com/d/msgid/=
bitcoindev/ZljDiesLp29yqipn%40petertodd.org.

--sZUACPFPsAtOgCEJ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmZYw4cACgkQLly11TVR
LzfsHhAAjptU+/e2lnjevcQBOQIVQTF8TM/uxD/W3uzBTmVM+MllfWiXbjufURUf
Lo6NQfz6aGX3gx04BbzoKDXsrWSo+bGOtlLFtpqB9BehOopQRyosFPfpB0C1sxBO
yOXPCBOyoJt1WoN5WEx0UM7hBMc+owMbqm1iFGkcDY1TyZOZXsLSJqZOf9l6loIP
HqBrmMwTmn+XFcu10R1c4QvbA+utVxAlL3gI8CAlO7Nojx5bmtYraC6ThCxgNXNU
mCubShBXI6X+xPb7FD3/Y9UWmPs5rfsJgFdrK+QjlL3cJpv1EWOKkuXC9VTc4Ozu
IP+uuZjyPDx+AfhwuSRFbr5sEBoAzMoF222J9E104ZFJJvvgehbf+rFHNZ/+kMsq
l6n5NQ2EX8/cElT4740sm4+Jgh173Mrf+sjW1e1TJIaVZ8m8CWY0KeG1PMSlhEiZ
sPTnwpd4zVW/wfXPZM4bxk3Lkp9bV1JaS+afYKLxw0PTXbNgENvc6otgky+3Zo97
iqqs4120T84667VGcvTxCoJjyyFwgHyXGaZt9ONFuC+4parFHecgs/AVk8wmGmVh
gJcpB7zPcYu4C9ZB85xyVbHm+I3uvRGQOYWGzUoSOWSM9Yu6bOktKDD8hmk4zoTi
+yQ6DvUpbzEv+/wdw0cTnnAPFU0JWaFlrHt0iK0yVKsKur/fdRI=
=lvL7
-----END PGP SIGNATURE-----

--sZUACPFPsAtOgCEJ--