summaryrefslogtreecommitdiff
path: root/29/2462571425d556753d4b144758dccf14b0ae2c
blob: 6ab29b46380af856c90d061aa0ee50aaecf5ff1c (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
Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
	helo=mx.sourceforge.net)
	by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <mh.in.england@gmail.com>) id 1WY976-0003Sd-Dc
	for bitcoin-development@lists.sourceforge.net;
	Thu, 10 Apr 2014 07:09:32 +0000
Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.214.179 as permitted sender)
	client-ip=209.85.214.179; envelope-from=mh.in.england@gmail.com;
	helo=mail-ob0-f179.google.com; 
Received: from mail-ob0-f179.google.com ([209.85.214.179])
	by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1WY975-0007gn-CE
	for bitcoin-development@lists.sourceforge.net;
	Thu, 10 Apr 2014 07:09:32 +0000
Received: by mail-ob0-f179.google.com with SMTP id va2so3989341obc.10
	for <bitcoin-development@lists.sourceforge.net>;
	Thu, 10 Apr 2014 00:09:26 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.60.162.7 with SMTP id xw7mr12608392oeb.13.1397113766036;
	Thu, 10 Apr 2014 00:09:26 -0700 (PDT)
Sender: mh.in.england@gmail.com
Received: by 10.76.96.180 with HTTP; Thu, 10 Apr 2014 00:09:25 -0700 (PDT)
Received: by 10.76.96.180 with HTTP; Thu, 10 Apr 2014 00:09:25 -0700 (PDT)
In-Reply-To: <CA+s+GJDcGxa_ARPFAbsd54cFhgBn8WcqNrRs00TZJBrNmvq5jQ@mail.gmail.com>
References: <CA+s+GJCn9U2kmyMH6w3o+m99NCfO0ws=SccvGBYJv07WVuF=eA@mail.gmail.com>
	<CAADm4BCEFCiOpNzUThPPHUamP2256izU8pwD3nerLCxks0wENA@mail.gmail.com>
	<CAAS2fgTx40XSLhiygnJMrSbOC=iJ2YMVLNK7-AMt3ifvAHDZUA@mail.gmail.com>
	<E9BAD633-3B6A-4A2C-AA06-DB591973DF66@bitsofproof.com>
	<53456B99.9010207@monetize.io>
	<B2FEC170-7214-4E46-8830-153995870B62@bitsofproof.com>
	<00b77560-d7ed-4ed4-a4e5-eb1f00467a06@email.android.com>
	<0509477C-89F9-47C7-8820-29ACAD4A4A8E@bitsofproof.com>
	<CANEZrP2Q=TG+jejEVFFh5FhjzDDkySHNSTfwtKueLcHu=pB6Kw@mail.gmail.com>
	<CA+s+GJBRvDFgktTgW2sCvAVahrjxcGqfgHw0BVNPvwUupotVrg@mail.gmail.com>
	<534592E2.7040800@gmail.com>
	<CAAS2fgS3q6N9go-NSKdjLwgU_5bFwa8YE88DcjNYHQTwzPCn3Q@mail.gmail.com>
	<5345986C.3040901@gmail.com>
	<CAAS2fgQyXHNnBDKoUMd_=-=1irGJ6cFKwi59enLJvFJiWBv50A@mail.gmail.com>
	<CAJna-Hj1U5cQ22bSXoNB-4ck_urCuS9xCk+iEHsbh+yv17MP7A@mail.gmail.com>
	<CANEZrP2w2b28qnYd7q=fo=VL0FzVE1R15s5Entuy+fK9x+V8Kg@mail.gmail.com>
	<CA+s+GJDcGxa_ARPFAbsd54cFhgBn8WcqNrRs00TZJBrNmvq5jQ@mail.gmail.com>
Date: Thu, 10 Apr 2014 09:09:25 +0200
X-Google-Sender-Auth: FgaWySiRQlPleWaIqqB5RBwXq78
Message-ID: <CANEZrP2hNmAg846v-6cS78uhmOvGMwq4A4wEHjS5cuQa3J744Q@mail.gmail.com>
From: Mike Hearn <mike@plan99.net>
To: Wladimir <laanwj@gmail.com>
Content-Type: multipart/alternative; boundary=047d7b33cd7cbc491104f6aae5a3
X-Spam-Score: -0.5 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
	sender-domain
	0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
	(mh.in.england[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
	not necessarily valid
	-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1WY975-0007gn-CE
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Bitcoind-in-background mode for SPV
	wallets
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: Thu, 10 Apr 2014 07:09:32 -0000

--047d7b33cd7cbc491104f6aae5a3
Content-Type: text/plain; charset=UTF-8

It's an optimisation problem. Home environments are much more hostile than
servers are due to things like virus scanners, wildly varying memory
pressure as apps are started and shut down, highly asymmetrical upstream
versus downstream bandwidth,  complicated nat setups, people who only use
laptops (which I think is most people these days) and so on.

So I think the right way to go is to optimise the things that hurt server
node operators like large memory and disk  usage, and this will
automatically make it more pleasant to run on the desktop as well. If at
some point all the low hanging fruit for the server side is gone then
improving things on the desktop would be the next place to go. But we have
to be realistic. Desktop tower machines that are always on are dying and
will not be coming back. Not a single person I know uses them anymore, they
have been wiped out in favour of laptops. This is why, given the tiny size
of the bitcoin core development team, I do not think it makes sense to
spend precious coding hours chasing this goal.
On 10 Apr 2014 08:51, "Wladimir" <laanwj@gmail.com> wrote:

> On Thu, Apr 10, 2014 at 8:38 AM, Mike Hearn <mike@plan99.net> wrote:
>
>> I tend to agree with slush here - counting the IPs in addr broadcasts
>> often gives a number like 100,000 vs just 10,000 for actually reachable
>> nodes (or less). It seems like optimising the NAT tunneling code would
>> help. Starting by adding more diagnostic stuff to the GUI. STUN support may
>> also help.
>>
>> The main constraint with home devices is not IMHO their actual power but
>> rather that a lot of people no longer keep computers switched on all the
>> time. If you don't do that then spv with bundled Core can't help your
>> security because the spv wallet would always be syncing from the p2p
>> network for performance reasons.
>>
> I agree that there is a fundamental incompatibility in usage between
> wallets and nodes. Wallets need to be online as little as possible, nodes
> need to online as much as possible.
>
> However, a full node background process could also be running if the
> wallet is not open itself. Ffor example - by running as a system service.
>
> Bitcoin Core's own wallet is also moving to SPV, so this means a general
> solution is needed to get people to run a node when the wallet is not
> running.
>
> Maybe the node shouldn't be controlled from the wallet at all, it could be
> a 'node control' user interface on its own (this is what -disablewallet
> does currently). In this case, there is no need for packaging it with a
> wallet The only drawback would be that initially, people wouldn't know why
> or when to install this, hence my suggestion to pack it with wallets...
>
> Wladimir
>
>

--047d7b33cd7cbc491104f6aae5a3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">It&#39;s an optimisation problem. Home environments are much=
 more hostile than servers are due to things like virus scanners, wildly va=
rying memory pressure as apps are started and shut down, highly asymmetrica=
l upstream versus downstream bandwidth,=C2=A0 complicated nat setups, peopl=
e who only use laptops (which I think is most people these days) and so on.=
 </p>

<p dir=3D"ltr">So I think the right way to go is to optimise the things tha=
t hurt server node operators like large memory and disk=C2=A0 usage, and th=
is will automatically make it more pleasant to run on the desktop as well. =
If at some point all the low hanging fruit for the server side is gone then=
 improving things on the desktop would be the next place to go. But we have=
 to be realistic. Desktop tower machines that are always on are dying and w=
ill not be coming back. Not a single person I know uses them anymore, they =
have been wiped out in favour of laptops. This is why, given the tiny size =
of the bitcoin core development team, I do not think it makes sense to spen=
d precious coding hours chasing this goal. </p>

<div class=3D"gmail_quote">On 10 Apr 2014 08:51, &quot;Wladimir&quot; &lt;<=
a href=3D"mailto:laanwj@gmail.com">laanwj@gmail.com</a>&gt; wrote:<br type=
=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
hu, Apr 10, 2014 at 8:38 AM, Mike Hearn <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:mike@plan99.net" target=3D"_blank">mike@plan99.net</a>&gt;</span> wrot=
e:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">

<p dir=3D"ltr">I tend to agree with slush here - counting the IPs in addr b=
roadcasts often gives a number like 100,000 vs just 10,000 for actually rea=
chable nodes (or less). It seems like optimising the NAT tunneling code wou=
ld help. Starting by adding more diagnostic stuff to the GUI. STUN support =
may also help.</p>



<p dir=3D"ltr">The main constraint with home devices is not IMHO their actu=
al power but rather that a lot of people no longer keep computers switched =
on all the time. If you don&#39;t do that then spv with bundled Core can&#3=
9;t help your security because the spv wallet would always be syncing from =
the p2p network for performance reasons.</p>

</blockquote><div>I agree that there is a fundamental incompatibility in us=
age between wallets and nodes. Wallets need to be online as little as possi=
ble, nodes need to online as much as possible.<br><br>However, a full node =
background process could also be running if the wallet is not open itself. =
Ffor example - by running as a system service.<br>

=C2=A0<br></div><div>Bitcoin Core&#39;s own wallet is also moving to SPV, s=
o this means a general solution is needed to get people to run a node when =
the wallet is not running.<br><br></div><div>Maybe the node shouldn&#39;t b=
e controlled from the wallet at all, it could be a &#39;node control&#39; u=
ser interface on its own (this is what -disablewallet does currently). In t=
his case, there is no need for packaging it with a wallet The only drawback=
 would be that initially, people wouldn&#39;t know why or when to install t=
his, hence my suggestion to pack it with wallets...<br>

</div><div><br>Wladimir<br></div></div><br></div></div>
</blockquote></div>

--047d7b33cd7cbc491104f6aae5a3--