public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [Bitcoin-development] [QT] how to disable block verification for faster UI testing?
@ 2014-03-19 17:27 Angel Leon
  2014-03-19 18:22 ` Wladimir
  0 siblings, 1 reply; 3+ messages in thread
From: Angel Leon @ 2014-03-19 17:27 UTC (permalink / raw)
  To: bitcoin-development

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

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?

Cheers,
Angel

http://twitter.com/gubatron

[-- Attachment #2: Type: text/html, Size: 611 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bitcoin-development] [QT] how to disable block verification for faster UI testing?
  2014-03-19 17:27 [Bitcoin-development] [QT] how to disable block verification for faster UI testing? Angel Leon
@ 2014-03-19 18:22 ` Wladimir
  2014-03-19 18:36   ` Angel Leon
  0 siblings, 1 reply; 3+ messages in thread
From: Wladimir @ 2014-03-19 18:22 UTC (permalink / raw)
  To: Angel Leon; +Cc: Bitcoin Dev

[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1641 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bitcoin-development] [QT] how to disable block verification for faster UI testing?
  2014-03-19 18:22 ` Wladimir
@ 2014-03-19 18:36   ` Angel Leon
  0 siblings, 0 replies; 3+ messages in thread
From: Angel Leon @ 2014-03-19 18:36 UTC (permalink / raw)
  To: Wladimir; +Cc: Bitcoin Dev

[-- Attachment #1: Type: text/plain, Size: 1762 bytes --]

"If you have database problems are you perhaps switching between 0.8.x and
0.9.x with the same directory?"
I think that may have been the issue.

Maybe now that I have a 0.9.0 official binary, when I switch to the source
builds I won't have the issue.

However, I think I'll do what you do and have separate bitcoin data
directories, that's probably the best.

not trying to test anything specifically, just codign, building, launching
over and over, would like to make the startup of the Qt client faster.

http://twitter.com/gubatron


On Wed, Mar 19, 2014 at 2:22 PM, Wladimir <laanwj@gmail•com> wrote:

>
> 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
>
>

[-- Attachment #2: Type: text/html, Size: 2937 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-19 18:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-19 17:27 [Bitcoin-development] [QT] how to disable block verification for faster UI testing? Angel Leon
2014-03-19 18:22 ` Wladimir
2014-03-19 18:36   ` Angel Leon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox