Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: lewisg on June 03, 2013, 10:08:53 AM



Title: Does your Bitcoin-Qt v0.8.2 takes 5 mins to verifying block database integrity?
Post by: lewisg on June 03, 2013, 10:08:53 AM
My Bitcoin-Qt takes 5 mins to verifying block database integrity.


Title: Re: Does your Bitcoin-Qt v0.8.2 takes 5 mins to verifying block database integrity?
Post by: Diapolo on June 03, 2013, 11:59:27 AM
Perhaps you have a very slow HDD or I/O bound system?

Dia


Title: Re: Does your Bitcoin-Qt v0.8.2 takes 5 mins to verifying block database integrity?
Post by: grue on June 03, 2013, 03:10:14 PM
No. It takes 1 minute max.

However, if you find it annoying, you can do this dangerous tweak:
"checklevel=1" in bitcoin.conf


Title: Re: Does your Bitcoin-Qt v0.8.2 takes 5 mins to verifying block database integrity?
Post by: Dabs on June 04, 2013, 01:36:47 AM
Even faster, but possibly more dangerous tweak

Code:
checkblocks=1
checklevel=0

Someone tell me what the checklevels stand for? from 0 to 4? And does it affect the running bitcoin-qt client or only upon start up? Because if I had my client running yesterday, then I launch it for today, and it checks the previous blocks without downloading new blocks, what's the harm?

New blocks will get verified and checked as they arrive, don't they? Or does this checklevel affect new blocks too? If it does, then that could be dangerous since new blocks might be fake.

But if it doesn't, I save time.

I know, that my blocks from yesterday are all good. More or less.


Title: Re: Does your Bitcoin-Qt v0.8.2 takes 5 mins to verifying block database integrity?
Post by: grue on June 04, 2013, 01:44:20 AM
Even faster, but possibly more dangerous tweak

Code:
checkblocks=1
checklevel=0

Someone tell me what the checklevels stand for? from 0 to 4? And does it affect the running bitcoin-qt client or only upon start up? Because if I had my client running yesterday, then I launch it for today, and it checks the previous blocks without downloading new blocks, what's the harm?

New blocks will get verified and checked as they arrive, don't they? Or does this checklevel affect new blocks too? If it does, then that could be dangerous since new blocks might be fake.

But if it doesn't, I save time.

I know, that my blocks from yesterday are all good. More or less.
checklevel and checkblocks is only done at startup. it's to verify the block database haven't been damaged/tampered with.