summaryrefslogtreecommitdiff
path: root/f8/03275f3eeb31fa9092a0a2f5a6355321ab67cc
blob: 2ced1b51cfdce0bbb9eca80d4908138714339d10 (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
Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194]
	helo=mx.sourceforge.net)
	by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <laanwj@gmail.com>) id 1WQL8n-00072C-Qt
	for bitcoin-development@lists.sourceforge.net;
	Wed, 19 Mar 2014 18:23:01 +0000
Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.223.174 as permitted sender)
	client-ip=209.85.223.174; envelope-from=laanwj@gmail.com;
	helo=mail-ie0-f174.google.com; 
Received: from mail-ie0-f174.google.com ([209.85.223.174])
	by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1WQL8m-0005vw-Mz
	for bitcoin-development@lists.sourceforge.net;
	Wed, 19 Mar 2014 18:23:01 +0000
Received: by mail-ie0-f174.google.com with SMTP id rp18so9364361iec.19
	for <bitcoin-development@lists.sourceforge.net>;
	Wed, 19 Mar 2014 11:22:55 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.50.55.40 with SMTP id o8mr26073830igp.42.1395253375280; Wed,
	19 Mar 2014 11:22:55 -0700 (PDT)
Received: by 10.64.27.34 with HTTP; Wed, 19 Mar 2014 11:22:55 -0700 (PDT)
In-Reply-To: <CADZB0_aSpu7v0bVV6Po0RonobGVreWTLN7Mya687PbP2t_-oZg@mail.gmail.com>
References: <CADZB0_aSpu7v0bVV6Po0RonobGVreWTLN7Mya687PbP2t_-oZg@mail.gmail.com>
Date: Wed, 19 Mar 2014 19:22:55 +0100
Message-ID: <CA+s+GJDZGS5Mm-hcZ8r6OevEGvULH67HOG99TeCRX7cMoeyf7A@mail.gmail.com>
From: Wladimir <laanwj@gmail.com>
To: Angel Leon <gubatron@gmail.com>
Content-Type: multipart/alternative; boundary=047d7b10caa9ce2c7404f4f9bdd9
X-Spam-Score: -0.6 (/)
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
	(laanwj[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
	author's domain
	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: 1WQL8m-0005vw-Mz
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] [QT] how to disable block verification
 for faster UI testing?
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: Wed, 19 Mar 2014 18:23:02 -0000

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

On Wed, Mar 19, 2014 at 6:27 PM, Angel Leon <gubatron@gmail.com> wrote:

> the command line options mention a -checklevel  parameter.
> I've been passing 0 assuming there'd be little to no verification, but
> it's happened a few times that when I open the official binary (while not
> doing development) there's some sort of database corruption and Bitcoin-Qt
> needs to reindex blocks on disk, a process that can take probably a whole
> day.
>
> how do you guys develop the UI and avoid these issues?
>

In general I do very little with the database while developing the UI. I
have various seperate bitcoin data directories (both testnet and mainnet)
to try things out. Before doing something risky I just make a copy.

These days I also do a lot of development with -regtest, as it allows
quickly setting up test scenarios.

What are you trying to test specifically? The progress bar while reindexing?

If you have database problems are you perhaps switching between 0.8.x and
0.9.x with the same directory? In that case see the downgrading warning
here: https://bitcoin.org/bin/0.9.0/README.txt .

Wladimir

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Wed, Mar 19, 2014 at 6:27 PM, Angel Leon <span dir=3D"ltr">&lt;<a href=
=3D"mailto:gubatron@gmail.com" target=3D"_blank">gubatron@gmail.com</a>&gt;=
</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">the comm=
and line options mention a -checklevel =C2=A0parameter.<br>I&#39;ve been pa=
ssing 0 assuming there&#39;d be little to no verification, but it&#39;s hap=
pened a few times that when I open the official binary (while not doing dev=
elopment) there&#39;s some sort of database corruption and Bitcoin-Qt needs=
 to reindex blocks on disk, a process that can take probably a whole day.<b=
r>



<br>how do you guys develop the UI and avoid these issues?<br></div></block=
quote><div><br></div><div>In general I do very little with the database whi=
le developing the UI. I have various seperate bitcoin data directories (bot=
h testnet and mainnet) to try things out. Before doing something risky I ju=
st make a copy.<br>

<br></div><div>These days I also do a lot of development with -regtest, as =
it allows quickly setting up test scenarios.<br></div><div><br></div><div>W=
hat are you trying to test specifically? The progress bar while reindexing?=
<br>

<br></div><div>If you have database problems are you perhaps switching betw=
een 0.8.x and 0.9.x with the same directory? In that case see the downgradi=
ng warning here: <a href=3D"https://bitcoin.org/bin/0.9.0/README.txt">https=
://bitcoin.org/bin/0.9.0/README.txt</a> .<br>
</div><div><br>Wladimir<br><br></div></div></div></div>

--047d7b10caa9ce2c7404f4f9bdd9--