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
|
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 68C6D8CC
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 20 Nov 2015 14:15:21 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-yk0-f172.google.com (mail-yk0-f172.google.com
[209.85.160.172])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id E7E4E142
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 20 Nov 2015 14:15:20 +0000 (UTC)
Received: by ykba77 with SMTP id a77so162942523ykb.2
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 20 Nov 2015 06:15:20 -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=oo4JS7o40SfDBYt78DQTaYRxk+s+9LTlv0tXHjtyrVg=;
b=TOzH3EkuBNbEBIKeMQmEr4mTm60SjywQPYfWEKkjz9Xe6+D+lYqYGnyRxxXGE7Yl+Q
p/4CDh8D8UFbDRdDwpdtD/SiJ36DFegj/2OkualsYGPJyAaegj3JwusbWNXhQ8/LAKEs
1KcY1lyGazyrszvhSPwB8wpqbRYMgjnhuK+bz2vKTqf0p4CnV9acIAgZNbphrw3FSEIY
fycOTKqEUtvHvXgzXu1jsnVVz3cnbPdmv+08WQxUX+8Pm4podEdHOCdYh9YHpJuA1GW0
zaGqysK3/wfeGqjSiHRTSp4wR/9M9nEC6NCS3R+5O+mKbbMDLWrCV1t+JgdEUtEkj71R
nWTA==
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=oo4JS7o40SfDBYt78DQTaYRxk+s+9LTlv0tXHjtyrVg=;
b=Qzr96ijs4ikNwwfUfNLVuackUru5GBAzFJJA8P2zuE1FYpqju+MUmvFZ+Ez5S3Kq+h
QO2hmr+smOMn2gvIuAVdIYsYub6M6Lm3kGpEbRMmMadt3JsYpCrk37A4/SJtE+O+9bKu
t6vdvjtX81J7t2UFYBOLZOoLWsBR3mRdqXmTEdMhsR+GBlDAUi1U28Mn9lfE7dwGhZW8
HxB41fNT1zyp1I7n+t+mAonr8kmVU/6MsoKckqasy4ysVdHUkdk8/2wKn7lQKWtiUJni
wIJ12BRWfzzsqbscABPberTMWeYpbFg5l06WsstDkneUJqsw+J4KbaTgRZ51wk+Gha53
NJdg==
X-Gm-Message-State: ALoCoQmNJRE3GXtLgcCAFRgqbIr9z/pJ99tDFmRYvPdDNAx3JpmZsvQdA+bgQcXGY0Rn0OH8s85u
MIME-Version: 1.0
X-Received: by 10.129.94.68 with SMTP id s65mr1683412ywb.93.1448028920192;
Fri, 20 Nov 2015 06:15:20 -0800 (PST)
Received: by 10.31.132.147 with HTTP; Fri, 20 Nov 2015 06:15:20 -0800 (PST)
In-Reply-To: <49CD7E61-C49B-472B-BB3C-1EFAD630104A@neomailbox.net>
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>
<D64AA4C7-BB66-41B2-A001-107985071DA1@gmx.com>
<0BABD098-33AB-4638-928B-F2D189FA2F8A@bitsofproof.com>
<CALJP9GCia3fedPi4B56G1+07OvwytEAOMNczYrJ4iMwUA3F3rQ@mail.gmail.com>
<49CD7E61-C49B-472B-BB3C-1EFAD630104A@neomailbox.net>
Date: Fri, 20 Nov 2015 15:15:20 +0100
Message-ID: <CABm2gDqOtdLo4aw0+O4UiZpei5v6FGdDCPkrV7_iza+XOouZxg@mail.gmail.com>
From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@jtimon.cc>
To: telemaco <telemaco@neomailbox.net>
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
X-Mailman-Approved-At: Fri, 20 Nov 2015 14:20:02 +0000
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>,
Gregory Maxwell <gmaxwell@gmail.com>
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: Fri, 20 Nov 2015 14:15:21 -0000
On Tue, Nov 17, 2015 at 11:17 PM, telemaco via bitcoin-dev
<bitcoin-dev@lists.linuxfoundation.org> wrote:
> Shouldn't a odbc jdbc jconnect or equivalent be totally transparent for the
> consensus code?
Yes, but we're only testing levelDB and we couldn't assure that it
won't produce unintentional consensus forks with other databases
behind the whatever db-agnostic interface.
I believe Bitcoin Core should officially support only one database at
a time. And if that is to change in the future, I don't think it
should be before a storage-agnostic libconsensus is encapsulated (and
after that there will still be risks and costs in officially
supporting several several databases simultaneously).
As has been said, these kind of experiments are welcomed outside of
bitcoin/master though.
|