summaryrefslogtreecommitdiff
path: root/12/82659ff12d9f2e869340655663125bbc0b87f5
blob: ce75c67bcc510de3616055e19fd6fb58844c0617 (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
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 887DEE97
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 29 Aug 2015 23:30:41 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com
	[209.85.217.175])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id C2BF9161
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 29 Aug 2015 23:30:40 +0000 (UTC)
Received: by lbvd4 with SMTP id d4so9483850lbv.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 29 Aug 2015 16:30:39 -0700 (PDT)
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=/7zVmVxHQcLrHUDvE6p376zKSbWYqyAW4ozvwLgOxFU=;
	b=Tnds5uGeu1uau3zU3OwkbX1k+VhgbWDwYtFtySowzH2eMrjk5OHr6/ARrIMnAlKHcg
	rb5N+3ZcPaz3mJjdOj1LmWS2a05LP1cSwPlRKYWHj7x8e6MmiwaWs7+HA1lwOetnyYU8
	5FmotUA+G3fFNBxlvb20qjXieXK6p6besfceOkNaWYF5LO95Xclrl1/Ao8YLC0v2Bd+a
	gULHggAIRa0kdApbbI3LWeDYhx7X6Qdff7a7GAPQLbs1AmMNUsCzu4f7bmkFFBJtu0eH
	BWF/LVDfjn3Z6JISSRChUYnJ5xkaIvJxv4BzXIt1mOBQWLjUTKsuzQZuN0w8cTf5QKhW
	t58g==
X-Gm-Message-State: ALoCoQmIQ2NUuPsAJ8FGDnW6aTYnLNF7GL0ULI6YooFa0XykBHdz1hNNcwSAAdb4XV+IPtin72WY
MIME-Version: 1.0
X-Received: by 10.152.219.3 with SMTP id pk3mr7582589lac.114.1440891039124;
	Sat, 29 Aug 2015 16:30:39 -0700 (PDT)
Received: by 10.25.15.22 with HTTP; Sat, 29 Aug 2015 16:30:39 -0700 (PDT)
In-Reply-To: <22CF03CB-7A4B-44D9-8989-22798795BB16@bitsofproof.com>
References: <CABm2gDrApVuxF8DFf32V=pQhDKvvVfcDK=LeCXJ9h9o8CY+wNQ@mail.gmail.com>
	<55B723EA.7010700@voskuil.org>
	<CABm2gDok2gH2R8=x3a8PmPiM56WFg3TKzCum_WS=uV9-T1Ss3g@mail.gmail.com>
	<55B939CF.1080903@voskuil.org>
	<CABm2gDq1wHP01Tncw3hu=SCWQHaAOMjWOVYQWdQsOZ+E7zp9Yw@mail.gmail.com>
	<CABm2gDr_ePfPeWB8pEO8QNHDjUZpybVuCAdDmMxJxMaC8+2bGA@mail.gmail.com>
	<C4EA4A39-1920-4F33-822C-FBD12DF81004@bitsofproof.com>
	<CABm2gDqkF20ZoexQSV8iORb3ukxxZr5RasTLxJqQfSTsTqHvog@mail.gmail.com>
	<3390F712-879A-46E9-ABCD-D35B51190304@bitsofproof.com>
	<CABm2gDpcEmiPNQWeUk5aTjuTSRAJSPYfgAKc7B_qrqw0w04xoA@mail.gmail.com>
	<C486E9D9-D799-48B9-B80F-1A165DFD6536@bitsofproof.com>
	<CABr1YTcx4V0Q4-ZQBEiNG-z1NKeFzxzhMekRN3YRRLz+bme2iw@mail.gmail.com>
	<22CF03CB-7A4B-44D9-8989-22798795BB16@bitsofproof.com>
Date: Sun, 30 Aug 2015 01:30:39 +0200
Message-ID: <CABm2gDrW0hrom2pBavU=6rH5m-+Dhr+NO--_FJ3Co92tT=t45A@mail.gmail.com>
From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@jtimon.cc>
To: Tamas Blummer <tamas@bitsofproof.com>
Content-Type: text/plain; charset=UTF-8
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,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>,
	Libbitcoin <libbitcoin@lists.dyne.org>
Subject: Re: [bitcoin-dev] Libconsensus separated repository (was Bitcoin
 Core and hard forks)
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: Sat, 29 Aug 2015 23:30:41 -0000

On Sun, Aug 23, 2015 at 8:42 AM, Tamas Blummer <tamas@bitsofproof.com> wrote:
> I see the huge amount of sweat and love that went into core and it actually
> hurts to see that most is expended in friction and lack of a vision for the
> software architecture.
>
> To be concrete, this was my plan if dealing with the Core code base:
>
> 1) I'd consider the separation of networking and storage as suggested for a
> future extended libconsensus low priority, as their design should be (are)
> dominated by the need of the consensus logic only.
>
> 2) create an API to the consensus+networking+storage service that is not at
> the C++ language level but some scaleable cross-platform remoting, like eg.
> ZeroMQ.
> This API should be minimal and simple, assuming that one fully trusts the
> node answering it. This API would unlock user land development by distinct
> teams with diverse technologies.

I plan to replicate the RPC API (or a subset of it) using ZMQ's
req/rep pattern, but #6103 comes first.

> 3) move the wallet, QT and RPC and other backward compatibility stuff (if
> e.g. there is some mining support) in-top of the new API and into distinct
> source code repositories.

Well, the RPC is the API. For libconsensus, its C API is the API.
We've been talking about separating the wallet and qt to a different
repository for long, but modularization is a prerequisite.