gravitate (OP)
Legendary
Offline
Activity: 1372
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2013, 10:25:59 AM |
|
I use bitcioin-qt and quite a few times I open the damn thing and it has to start from scratch rebuilding the block database. I am fed up with it. Are there any other options which are just as safe?
|
To peel or not to peel.
|
|
|
smscotten
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 19, 2013, 11:10:45 AM |
|
I've noticed the need to reindex the block database if the power goes out and the machine gets unexpectedly restarted, but I haven't experienced that otherwise.
I use the QT client on my desktop computer as sort of not-quite-cold storage. On my laptop (more day-to-day usage) I use Multibit. Multibit does not download the entire blockchain and is more "lightweight" in a number of other ways. Sounds like that might be a better match for you.
|
|
|
|
DannyHamilton
Legendary
Offline
Activity: 3472
Merit: 4790
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 20, 2013, 06:01:56 AM |
|
I use Bitcoin-Qt on my Mac and haven't had the problem you've described as long as I shut down Bitcoin-Qt and wait for it to fully close before shutting down my computer. Are you using an old version?
|
|
|
|
World
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 21, 2013, 01:41:14 PM |
|
I've noticed the need to reindex the block database if the power goes out and the machine gets unexpectedly restarted.
It happened to me more than 5 times and it's very annoying to download again all database.Very often local transformer station turned off electricity
|
Supporting people with beautiful creative ideas. Bitcoin is because of the developers,exchanges,merchants,miners,investors,users,machines and blockchain technologies work together.
|
|
|
smscotten
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 21, 2013, 02:35:53 PM |
|
That sucks.
I think it should only be reindexing the block database, not downloading it. That still takes a half hour or more (inconvenient, especially if you have to do it over and over) but downloading the whole blockchain again and again would be like eight or twelve hours or more.
Anyway, sounds like Multibit might be the ticket for you. Though if you're losing power that often you might be wise to consider getting an uninterruptible power supply. It wouldn't have to be a big one, just enough time to let you shut down your computer gracefully.
|
|
|
|
21stcenturymoney
Newbie
Offline
Activity: 52
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 21, 2013, 11:22:20 PM |
|
I have gone back to a version that used BDB, as leveldb was just too flakey.
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 22, 2013, 12:21:10 AM |
|
I have gone back to a version that used BDB, as leveldb was just too flakey.
I strongly advise against doing that. You will be exposing yourself to all sorts of unfixed vulnerabilities. If I remember correctly, the reason why leveldb is wacky on Mac is because the ACPI wasn't implemented properly by apple. Ensuring a clean shutdown like DannyHamilton suggested will probably help.
|
|
|
|
TheButterZone
Legendary
Offline
Activity: 3024
Merit: 1032
RIP Mommy
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 22, 2013, 06:42:18 AM |
|
Electrum
|
Saying that you don't trust someone because of their behavior is completely valid.
|
|
|
gmaxwell
Staff
Legendary
Offline
Activity: 4228
Merit: 8644
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 22, 2013, 08:27:14 AM |
|
Electrum is categorically not "just as safe". There is a test build of Bitcoin-QT now with fixes which may fix the corruption on unclean power down on OSX. It seems that OSX violates posix and provides an fsync() that does nothing. This fix almost certainly fixes a major cause of corruption on OSX, though there may be other ones.
|
|
|
|
TheButterZone
Legendary
Offline
Activity: 3024
Merit: 1032
RIP Mommy
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 22, 2013, 09:03:52 PM |
|
Electrum is categorically not "just as safe".
How so, if you import your private keys, use a >30 character random letter, case, number, symbol passphrase with spaces, lock out all OS randomizer-generated seed addresses, and scan for keyloggers every run? Not talking about offline Armory (ultimate security?) here...
|
Saying that you don't trust someone because of their behavior is completely valid.
|
|
|
e4xit
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 23, 2013, 12:06:49 PM |
|
I use Bitcoin-QT on OSX but on a (well power-supplied) iMac, so I do not believe that these issues are anything to do with power supply for me, but I still have corrupt database probably the last 4 times I tried to re-open the program (after successfully re-downloading the blockchain about 4 times)...
Have downloaded the 0.8.4 test DMG and it is currently importing blocks from disk (bootstrap.dat) and then after it finally catches up to the present, I will shutdown the app (properly) and will see for sure if 0.8.4 brings any improvement at all for me...
For the record, I do not think that my database has not become corrupted on shutting down (or re-opening) of 0.8.3 a single time yet.
|
Not your keys, not your coins. CoinJoin, always.
|
|
|
World
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 23, 2013, 01:40:32 PM |
|
For the record, I do not think that my database has not become corrupted on shutting down (or re-opening) of 0.8.3 a single time yet.
Thank you for this.
|
Supporting people with beautiful creative ideas. Bitcoin is because of the developers,exchanges,merchants,miners,investors,users,machines and blockchain technologies work together.
|
|
|
DannyHamilton
Legendary
Offline
Activity: 3472
Merit: 4790
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 23, 2013, 01:56:00 PM |
|
For the record, I do not think that my database has not become corrupted on shutting down (or re-opening) of 0.8.3 a single time yet.
Thank you for this. Interesting. I'm still running 0.8.1. Perhaps I'll hold of on upgrading for a while longer, and see how 0.8.4 is.
|
|
|
|
gmaxwell
Staff
Legendary
Offline
Activity: 4228
Merit: 8644
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 23, 2013, 03:46:50 PM Last edit: August 23, 2013, 04:25:23 PM by gmaxwell |
|
How so, if you import your private keys, use a >30 character random letter, case, number, symbol passphrase with spaces, lock out all OS randomizer-generated seed addresses, and scan for keyloggers every run? Not talking about offline Armory (ultimate security?) here...
With moderate cost a hacked/rogue/network-intercepted server can tell you've that you've received payments you haven't really received, including payments of coin that doesn't really exist. Your client also sends its of addresses up to the server, so you lose your privacy towards it. Any 0.8.4rc results on OSX yet?
|
|
|
|
TheButterZone
Legendary
Offline
Activity: 3024
Merit: 1032
RIP Mommy
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 23, 2013, 08:41:52 PM |
|
How so, if you import your private keys, use a >30 character random letter, case, number, symbol passphrase with spaces, lock out all OS randomizer-generated seed addresses, and scan for keyloggers every run? Not talking about offline Armory (ultimate security?) here...
With moderate cost a hacked/rogue/network-intercepted server can tell you've that you've received payments you haven't really received, including payments of coin that doesn't really exist. Your client also sends its of addresses up to the server, so you lose your privacy towards it. Has anyone submitted a pull request to make Electrum check all the servers against each other (increased sync delay, but nowhere near as bad as full blockchain download), and throw a red flag on the one(s) that don't match? Not sure what to say about the second one, other than having a random set of addresses generated in the background every time for it to query, without private keys.
|
Saying that you don't trust someone because of their behavior is completely valid.
|
|
|
e4xit
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 23, 2013, 09:22:02 PM |
|
I am synced up to block 240653 so far, so hopefully tomorrow morning I should have an idea of whether 0.8.4 RC2 has helped me (specifically) on OSX.
Just a slightly off topic question, does loading blocks from disk (bootstrap) use GPU? CPU? Single core, multiple cores? etc... Basically I am disappointed that it took me at least 9 hours to load my blocks from disk, before any downloading even started....
|
Not your keys, not your coins. CoinJoin, always.
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 23, 2013, 09:31:07 PM |
|
Just a slightly off topic question, does loading blocks from disk (bootstrap) use GPU? CPU? Single core, multiple cores? etc... Basically I am disappointed that it took me at least 9 hours to load my blocks from disk, before any downloading even started....
After the last block checkpoint has been reached, multithreaded signature verification will be enabled. So there should be no bottlenecks from the CPU. The biggest bottleneck is often network (slow uploading peers or slow download) or disk. Disk bottleneck can be reduced by setting "dbcache=512" in bitcoin.conf (or whatever large value you want).
|
|
|
|
ThomasV
Legendary
Offline
Activity: 1896
Merit: 1353
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 24, 2013, 07:08:37 AM Last edit: August 24, 2013, 07:30:20 AM by ThomasV |
|
I plan to add queries to multiple servers in Electrum, in order to select the longest blockchain with SPV, in the coming months; this has been on my list for quite some time.
Electrum will never be a full client, and I fully reckon that it will never be as safe as bitcoin-qt with respect to certain type of attacks. However, my goal here is to provide the highest possible level of security that it is possible to have without downloading the blockchain.
I wrote Electrum because the other option that allows you to access your coins instantly, called "web wallets", is much less safe than Electrum, and has been the victim of all sorts of hacks. If you simply say that Electrum is not as safe as bitcoin-qt, without giving more explanations, you are just steering users towards javascript web wallets, and I guess that's not what you want. The demand for a solution that lets you access your bitcoins instantly will always be there and we need to address it properly.
I agree that querying multiple servers in Electrum needs to be done, and could have been done earlier. I have not done it yet because I have had limited time, and I am adressing the most pressing issues first. The security of a bitcoin client includes multiple aspects, and we need to address them all. When deciding which issues to address first, it is important to look at the facts (what are the actual security flaws that have caused some users to lose bitcoins). With this criterion, the two major causes of bitcoin losses are the lack of a deterministic wallet in bitcoin-qt (because users cannot do regular backups), and the use of hosted wallets (mybitcoin.com, instawallet, and I am sure that others will follow).
|
Electrum: the convenience of a web wallet, without the risks
|
|
|
gmaxwell
Staff
Legendary
Offline
Activity: 4228
Merit: 8644
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 24, 2013, 07:42:22 AM |
|
Thanks for responding ThomasV, I agree with everything you've said, and I'm super happy to hear that you're thinking about multiple connections in electrum. That I failed to elaborate here and point out the massive improvement electrum is over webwallets was only because the user here was already using Bitcoin-qt and was being lobbied by one of your (well deserved) fans. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
e4xit
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 27, 2013, 04:58:34 PM Last edit: August 27, 2013, 07:54:05 PM by e4xit |
|
Sorry for the late reply, went to Notting Hill Carnival and things got a little bit out of hand! ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Anyway, blockchain finished downloading with 0.8.4RC2 while I was away, I have just got back and closed down Bitcoin-QT, restarted the computer and re-opened the app: NO DATABASE ERROR. Hooray, perhaps this app is now really slightly more suitable for those running OSX now? Edit: Database Corrupt again. ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
Not your keys, not your coins. CoinJoin, always.
|
|
|
|