summaryrefslogtreecommitdiff
path: root/6e/ae4337d1d94033504088be5b8ef70c328ff962
blob: 4bc3ef1d8335b8b77d7641222e0e56a0c4c24019 (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
Return-Path: <jtimon@jtimon.cc>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 5615E71
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 15 Nov 2015 11:28:46 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com
	[209.85.213.54])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id C90FB13F
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 15 Nov 2015 11:28:45 +0000 (UTC)
Received: by vkas68 with SMTP id s68so14485638vka.2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 15 Nov 2015 03:28:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=jtimon_cc.20150623.gappssmtp.com; s=20150623;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=YWQiJ7Mwzv3QdzkgMpBlp6T0ydZraxOSqRLXX/1s5rQ=;
	b=Oy3cmSczZMyv18KsZxWKCl9IubPH2zbWz4j0LX1WZsDj8fxg6UTMlg7VEmxrIGlFRW
	hbhxgmY7UwLH2j8C2WCCyGXLjKlAUJ9W6TQqOLbLvCRIHSrc87bPs+e0TJW2xFvhXGF7
	Ru4LuWBhfHxt9KDmSTfE7UM/R5u3KQioTBQ2BUNTrIOxW15wqSG12NbnLAsg7ZNo0B5H
	FM3hEBJ2QwhtYCyNnepsoWMii2Zf8GZu9T3vAPtcE43ZmvKajKzGeoGQpb3oHQC8jveq
	NpBQWJ/jD3pVk/Z27td/M76HA9MYtd8Wfwb7iTusC3IrYldND79cpSRJioCHWfQb5HY4
	uYmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=YWQiJ7Mwzv3QdzkgMpBlp6T0ydZraxOSqRLXX/1s5rQ=;
	b=i0tif0FVVySb7eoXFI45VOvQUTA7cw9bCDBNnwRIbs0dEAlcTCrOHzHYe4/SL6KcBE
	i4e5WF7TRV7yqyhMgX0Dggm4kIFYAl9Zo62vp/TClWUPVt48PY1PIxtVbuuUkwVeB2js
	p6f7kyS4juEn71BiOg6b2mLFhOXWvuP5RYd9a6GRabiTk2/hZRTYl+IRJz+kJEekZsW2
	93iGSLMo3lWHCsd+0Xt32RHUWQvTtoojklvZU2lnpqBWKAod3JHkUU8mgNS+xx47acZ3
	ZNluMrEMFhYwYkJOnCG1FuMC3PF7jpBcNGPvmG0BD9Rh/371uPj5xpSxm4xAGz4a9+WO
	Fj+Q==
X-Gm-Message-State: ALoCoQlneEPe+V9WvRFp1mf+r2rFkH0lmVncQ060fXGhoLewPiPs7jiZ5GT+ytN30j+c3iJS3cSr
MIME-Version: 1.0
X-Received: by 10.31.173.73 with SMTP id w70mr7301409vke.140.1447586924990;
	Sun, 15 Nov 2015 03:28:44 -0800 (PST)
Received: by 10.31.132.147 with HTTP; Sun, 15 Nov 2015 03:28:44 -0800 (PST)
In-Reply-To: <CABm2gDrEymffZXRqkYij0eCR3Rg6x1w_=AUJpb3NxHwQ-q48aQ@mail.gmail.com>
References: <5631C363.5060705@neomailbox.net>
	<201510290803.52734.luke@dashjr.org>
	<5632DE33.7030600@bitcartel.com>
	<CAAS2fgTga_vTfOKrFu_hEzXSfTfg9FRfJ6aL6ginuGFqnbm7=w@mail.gmail.com>
	<3CB90C47-293E-4C18-A381-E5203483D68F@gmx.com>
	<CAAS2fgRdK4bDr3x_y9UpdH234PQSfD7U539HBLA==+hLQJ_7Fw@mail.gmail.com>
	<571D9B7F-077D-4B80-B577-1C18FF2ECF31@gmx.com>
	<CAAS2fgTLE1cpDqKTiy0r1VMex7zTAB8tgUC=Y0WXmbNBJL42xQ@mail.gmail.com>
	<6DAD1D38-A156-4507-B506-BF66F26E6594@gmx.com>
	<CAAS2fgT+r4aRPe7Qjww6wgbAzkwafN+340pUaVO9F7MZEVY-zA@mail.gmail.com>
	<13D7C936-4D2E-4BAC-AC61-3DA80581C946@gmx.com>
	<CAAS2fgTuty0OCxJvZwU+BCPXG-VuJxtwCPVMvL7Xbze=OjSSdA@mail.gmail.com>
	<2C8EBBD8-51B7-4F47-AFFA-3870DBD6C4EA@gmx.com>
	<CABm2gDrEymffZXRqkYij0eCR3Rg6x1w_=AUJpb3NxHwQ-q48aQ@mail.gmail.com>
Date: Sun, 15 Nov 2015 12:28:44 +0100
Message-ID: <CABm2gDrUavAxgXcq8R4J99ZbVoWmOnoAWAnjQJDZo5HagNtN5w@mail.gmail.com>
From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@jtimon.cc>
To: Peter R <peter_r@gmx.com>
Content-Type: text/plain; charset=UTF-8
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>,
	Gregory Maxwell <gmaxwell@gmail.com>, telemaco <telemaco@neomailbox.net>
Subject: Re: [bitcoin-dev] [patch] Switching Bitcoin Core to sqlite db
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development 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, 15 Nov 2015 11:28:46 -0000

Going back on topic, I believe libconsensus shouldn't depend on any
particular database because assuming it will continue to be stateless
(the current libbitcoinconsensus is stateless) end therefore has no
storage. I know some people disagree in various degrees.
At the same time, the parts of the consensus rules verification that
depends on storage has not been encapsulated out to
libbitcoinconsensus yet, and I agree that changing the database is
unnecessarily risky at this point.
Even when the consensus rules are encapsulated, that doesn't mean that
Bitcoin Core should be DB agnostic or that we can guarantee that it
will follow the longest valid chain with databases that have not been
tested.