From mboxrd@z Thu Jan 1 00:00:00 1970 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 ) 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 ; 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: References: Date: Wed, 19 Mar 2014 19:22:55 +0100 Message-ID: From: Wladimir To: Angel Leon 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 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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

= On Wed, Mar 19, 2014 at 6:27 PM, Angel Leon <gubatron@gmail.com>= wrote:
the comm= and line options mention a -checklevel =C2=A0parameter.
I've been pa= ssing 0 assuming there'd be little to no verification, but it's hap= pened a few times that when I open the official binary (while not doing dev= elopment) 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 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.

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

W= hat are you trying to test specifically? The progress bar while reindexing?=

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: https= ://bitcoin.org/bin/0.9.0/README.txt .

Wladimir

--047d7b10caa9ce2c7404f4f9bdd9--