Bitcoin Forum
April 27, 2024, 12:35:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4]  All
  Print  
Author Topic: [OpenSource live USB OS] BitSafe, a safety deposit box for your bitcoins.  (Read 19479 times)
chunglam
Donator
Full Member
*
Offline Offline

Activity: 229
Merit: 106



View Profile
April 18, 2012, 02:50:21 PM
 #61

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  Smiley

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).
1714178152
Hero Member
*
Offline Offline

Posts: 1714178152

View Profile Personal Message (Offline)

Ignore
1714178152
Reply with quote  #2

1714178152
Report to moderator
1714178152
Hero Member
*
Offline Offline

Posts: 1714178152

View Profile Personal Message (Offline)

Ignore
1714178152
Reply with quote  #2

1714178152
Report to moderator
1714178152
Hero Member
*
Offline Offline

Posts: 1714178152

View Profile Personal Message (Offline)

Ignore
1714178152
Reply with quote  #2

1714178152
Report to moderator
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.
1714178152
Hero Member
*
Offline Offline

Posts: 1714178152

View Profile Personal Message (Offline)

Ignore
1714178152
Reply with quote  #2

1714178152
Report to moderator
1714178152
Hero Member
*
Offline Offline

Posts: 1714178152

View Profile Personal Message (Offline)

Ignore
1714178152
Reply with quote  #2

1714178152
Report to moderator
1714178152
Hero Member
*
Offline Offline

Posts: 1714178152

View Profile Personal Message (Offline)

Ignore
1714178152
Reply with quote  #2

1714178152
Report to moderator
rb1205 (OP)
Hero Member
*****
Offline Offline

Activity: 797
Merit: 1017



View Profile
April 18, 2012, 02:54:41 PM
 #62

Can you tell me the timezone reported by date?

chunglam
Donator
Full Member
*
Offline Offline

Activity: 229
Merit: 106



View Profile
April 18, 2012, 03:00:59 PM
 #63

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)
Hero Member
*****
Offline Offline

Activity: 797
Merit: 1017



View Profile
April 18, 2012, 03:34:43 PM
Last edit: April 18, 2012, 08:05:45 PM by rb1205
 #64

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  Cheesy

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.

Code:
#!/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
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile
July 22, 2012, 06:38:50 PM
 #65

I'm having the following error when trying to launch bitcoin-qt in BitSafe:

Code:
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? Cheesy
rb1205 (OP)
Hero Member
*****
Offline Offline

Activity: 797
Merit: 1017



View Profile
July 26, 2012, 09:29:37 AM
 #66

Try to run just bitcoin-qt without the prefix

EhVedadoOAnonimato
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile
July 26, 2012, 12:16:17 PM
 #67

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
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile
July 29, 2012, 09:14:20 PM
 #68

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:

Code:
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 Offline

Activity: 1904
Merit: 1002


View Profile
July 30, 2012, 06:50:10 AM
 #69

Does this include armory?  I'm really only interested to simplify my air-gapped wallet setup.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
ricklandman
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
September 03, 2012, 09:07:57 PM
 #70

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
Code:
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 Offline

Activity: 25
Merit: 0


View Profile
October 09, 2012, 09:27:36 PM
 #71

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
Quote
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 ?
Pages: « 1 2 3 [4]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!