summaryrefslogtreecommitdiff
path: root/29/8d803d63d87ea817fd2bafb534d9fbbf0972d3
blob: ee740e309fc0936c3bb2705a22f8e86d5192259f (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
Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194]
	helo=mx.sourceforge.net)
	by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <jtimon@monetize.io>) id 1Wz1Ip-0008CM-UI
	for bitcoin-development@lists.sourceforge.net;
	Mon, 23 Jun 2014 10:16:43 +0000
Received: from mail-lb0-f177.google.com ([209.85.217.177])
	by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1Wz1Io-0000Bh-4I
	for bitcoin-development@lists.sourceforge.net;
	Mon, 23 Jun 2014 10:16:43 +0000
Received: by mail-lb0-f177.google.com with SMTP id u10so4190074lbd.36
	for <bitcoin-development@lists.sourceforge.net>;
	Mon, 23 Jun 2014 03:16:35 -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:date:message-id:subject:from:to
	:content-type:content-transfer-encoding;
	bh=2ssyTCQA360tLsJANLFuG7pmFlJ9oWwMKWRtJiZkDU4=;
	b=OoFp58qR90JdGj7xB+8qdkBYK4M4T/ruqr1TfiviEofKNVnmnxEolbGBBHxzH6R4HK
	z36BCh6i6VSRv0zsoKmFQMOuzCRW8mJoPdS8QnX/Pjs1+i9vsFN8GEaQOcO9g9v5aaoX
	6WqDI/jhIWeYpvkrmWtCfwNc7xnfH2guqe3BoPjaR1d4XBvQm6s8vStk2bH+J7hEupbQ
	29kSY8ZElQrP/PQd9bHDJn5BAoYoMNRMqWhBFNotJ6uOJMyEchEOsLO9ZOfm7txez0bc
	fZMIuJGIDzrJzNJ8ecMAw4N9cBsH6uGH/rlOVANUvVt6hztvysdPtyYC5118ckDS/EVr
	hyAA==
X-Gm-Message-State: ALoCoQk7bkoI6yijFocf4EdBhVBE0anciBoUCf2FZfc2N2X+o6xzal2P3dzTKJ3Z1u1FXevbJjeq
MIME-Version: 1.0
X-Received: by 10.152.45.37 with SMTP id j5mr1267337lam.58.1403517000784; Mon,
	23 Jun 2014 02:50:00 -0700 (PDT)
Received: by 10.112.185.4 with HTTP; Mon, 23 Jun 2014 02:50:00 -0700 (PDT)
X-Originating-IP: [85.59.140.152]
Date: Mon, 23 Jun 2014 11:50:00 +0200
Message-ID: <CAC1+kJNjcPkaHiR8mzofwXE4+4UX5nmxX5Q3rZv37v-K40p1Tw@mail.gmail.com>
From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@monetize.io>
To: Bitcoin Development <bitcoin-development@lists.sourceforge.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
X-Headers-End: 1Wz1Io-0000Bh-4I
Subject: [Bitcoin-development] Plans to separate wallet from core
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Mon, 23 Jun 2014 10:16:44 -0000

I know there are plans to separate the wallet from the core code and I
think it's a great idea that will result in cleaner and more modular
software.
But it seems like my assumptions on how this would be done may be incorrect=
.

I was assuming that the wallet would consume data from a trusted
bitcoind core node using rpc or a better interface like an http rest
api (see PR #2844).
So the core would take care of the hard consensus stuff, and the
wallet would maintain its own database with private keys, addresses,
balances, etc. and would consume some data contained in bitcoind's
database.
I also assumed that the interface between wallet and core would
include queries to the UTXO (see PR #4351) and maybe TXO (see PR
#3652) for getting the historic balances.

As said, I'm not sure these assumptions are true anymore so I ask.
Is this the plan?
Is the plan that the wallet will use the p2p directly and maintain its
own chain database?

Well, it's something that generally interests me so if anyone can
detail the steps for separating the wallet a little bit, maybe I can
help with some of the steps.

Maybe there's no roadway yet. In that case I would like to advance
that discussion in this thread.

--=20
Jorge Tim=C3=B3n