chunglam
Donator
Full Member
Offline
Activity: 229
Merit: 106
|
|
April 18, 2012, 02:50:21 PM |
|
The point is that BitSafe doesn't know which timezone you're on, so it (shoulds) default to UTC and not UTC+8. As you stated correctly, linux expects the hwclock to be in UTC, so UTC=UTC-> it just takes its time as it is, hence giving the correct local time (if the main OS is Windows). In fact, my Windows PC shows the correct time when runs bitsafe even if i'm on CET/CEST. Maybe your hardware clock is able to tell the OS on which timezone it's set, or maybe Windows is doing some weirdness. We'll know better with the output from date Which localization are you choosing at boot? I choose English. The output from "date" command is exactly same as my local time, but it is wrong because it should be local time-8 in my case. Besides, the bitcoin client always complaint the incorrect time and keep saying the block chain data is behind 8 hours even it already downloaded latest block(I compared the block number with bitcoinwatch.com).
|
|
|
|
|
|
|
|
|
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
rb1205 (OP)
|
|
April 18, 2012, 02:54:41 PM |
|
Can you tell me the timezone reported by date?
|
|
|
|
chunglam
Donator
Full Member
Offline
Activity: 229
Merit: 106
|
|
April 18, 2012, 03:00:59 PM |
|
Can you tell me the timezone reported by date?
UTC, that's why I thought it is wrong. If bitcoin client expect UTC time from OS, it should be my local time minus 8 hours in my time zone.
|
|
|
|
rb1205 (OP)
|
|
April 18, 2012, 03:34:43 PM Last edit: April 18, 2012, 08:05:45 PM by rb1205 |
|
Now I see your point. The problem isn't on the reported local time, but on the UTC time used by the Bitcoin client. Sorry for taking so long to get it I'll see how to fix this. In the meanwhile, here's a workaround to the issue tailored for your needs. Just copypaste it in a text file and save it in the same USB drive you installed BitSafe on. #!/bin/sh
#Fix how debian reads/writes hwclock sudo sed -i 's/UTC=yes/UTC=no/' /etc/default/rcS
#Set the timezone sudo ln -sf /usr/share/zoneinfo/Asia/Hong_Kong /etc/localtime
#Set UTC time as current(hwtime) - 8 hours. sudo date -s @$(expr $(date +%s) - 28800)
Once done, you'll have to launch it from /live/squashfs/<filename> before launching bitcoin. Let me know if it works!
|
|
|
|
EhVedadoOAnonimato
|
|
July 22, 2012, 06:38:50 PM |
|
I'm having the following error when trying to launch bitcoin-qt in BitSafe: user@bitsafe:/mnt/disk$ /usr/bin/bitcoin-qt tar: ssh: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors /usr/bin/wrapped_bin/bitcoin-qt.wrp: line 44: 3907 Bus error $WRAPPER_ORIGINALBIN -datadir=$BITCOIN_HOME -nolisten $*
Does anyone have any idea of what this means? And, even better, does anyone have a workaround?
|
|
|
|
rb1205 (OP)
|
|
July 26, 2012, 09:29:37 AM |
|
Try to run just bitcoin-qt without the prefix
|
|
|
|
EhVedadoOAnonimato
|
|
July 26, 2012, 12:16:17 PM |
|
What do you mean by prefix? The directory? I've tried. Also, when I use the icon shortcuts, it doesn't work either (the splash screen shows up and closes almost instantly)
|
|
|
|
EhVedadoOAnonimato
|
|
July 29, 2012, 09:14:20 PM |
|
I've noticed that the behavior is different if I run bitcoin-qt as root. It starts normally, the splash screen shows up and stays there for a while (in contrast with the immediate crash as when I run with the normal user). While the splash screen is saying "Rescanning...", it crashes with the following error message: root@bitsafe:/home/user# bitcoin-qt
************************ EXCEPTION: NSt8ios_base7failureE CAutoFile::read : end of file bitcoin in Runaway exception
terminate called after throwing an instance of 'std::ios_base::failure' what(): CAutoFile::read : end of file /usr/bin/wrapped_bin/bitcoin-qt.wrp: line 44: 3436 Aborted $WRAPPER_ORIGINALBIN -datadir=$BITCOIN_HOME -nolisten $*
Does this give you any clue?
|
|
|
|
notme
Legendary
Offline
Activity: 1904
Merit: 1002
|
|
July 30, 2012, 06:50:10 AM |
|
Does this include armory? I'm really only interested to simplify my air-gapped wallet setup.
|
|
|
|
ricklandman
Newbie
Offline
Activity: 25
Merit: 0
|
|
September 03, 2012, 09:07:57 PM |
|
I donwloaded bitsafe, and ran it from a usb stick and connected it via ethernet. First thing bitsafe is asking after startup is if I want to download the blockchain, which I accept. I did this a few times, but after the download is completely finished (I see huge dat-files in /storage/bitcoins) I get consistently the same message signature verification failed! This means that your downloaded file is invalid: the signing key changed or your internet connection is being filtered or altered by someone or something. Please try again in a couple of minutes I tried it many times in a period of two weeks with the same result. Any ideas ?
|
|
|
|
ricklandman
Newbie
Offline
Activity: 25
Merit: 0
|
|
October 09, 2012, 09:27:36 PM |
|
It is a pity that the maintainer of bitsafe is not monitoring it's own product anymore. My former posting is still relevant. Meanwhile I tried running bitcoin-qt without using the quick download method. After two days of downloading the blockchain the program crashed and I cannot restart bitcoin-qt. Dmesg barks terminate called after throwing an instance of 'DbRunRecoveryException' what(): DbEnv::txn_checkpoint: DB_RUNRECOVERY: Fatal error, run database recovery /usr/bin/wrapped_bin/bitcoin-qt.wrp: line 44: 28866 Aborted $WRAPPER_ORIGINALBIN -datadir=$BITCOIN_HOME -nolisten $* At the moment of the crash db was 842MB. I also don't know how to upgrade bitcoin-qt in bitsafe. There is no repository available in /etc/apt/sources.list. Anybody knows what repository I need for bitsafe ?
|
|
|
|
|