Bitcoin Forum
May 04, 2024, 11:37:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Client from USB  (Read 3226 times)
cuz0882 (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 13, 2012, 08:49:25 AM
 #1

Is there a way to run the bitcoin client entirely from a usb? I've been moving the bitcoin folder in roaming each time I want to run the client. There must be a easier way.
1714865822
Hero Member
*
Offline Offline

Posts: 1714865822

View Profile Personal Message (Offline)

Ignore
1714865822
Reply with quote  #2

1714865822
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714865822
Hero Member
*
Offline Offline

Posts: 1714865822

View Profile Personal Message (Offline)

Ignore
1714865822
Reply with quote  #2

1714865822
Report to moderator
1714865822
Hero Member
*
Offline Offline

Posts: 1714865822

View Profile Personal Message (Offline)

Ignore
1714865822
Reply with quote  #2

1714865822
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
March 13, 2012, 03:04:52 PM
 #2

Is there a way to run the bitcoin client entirely from a usb? I've been moving the bitcoin folder in roaming each time I want to run the client. There must be a easier way.

-datadir=

 - http://en.bitcoin.it/wiki/Running_Bitcoin

No matter where you launch the client from it will use the blockchain and wallet data from the directory given by -datadir.

If you are on Windows, here's a howto so that the bitcoin client and data are on the usb drive:
 - http://bitcointalk.org/index.php?topic=22582.0





Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
March 13, 2012, 03:14:13 PM
 #3

Yup, use the datadir thing

cuz0882 (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 14, 2012, 12:00:16 PM
 #4

I got it working but it takes a very long time to load. It seems to be downloading the whole block chain every time I run it. Did I do something wrong? It remembers my balance and transaction history but seems to download it anyway. It's not recreating bitcoin in my roaming folder though.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
March 14, 2012, 06:40:01 PM
 #5

I got it working but it takes a very long time to load. It seems to be downloading the whole block chain every time I run it. Did I do something wrong? It remembers my balance and transaction history but seems to download it anyway.

When the Bitcoin client starts up it will read through the entire blockchain (over 1 GB of data) from the storage device.  That can take several minutes on many computers, especially slower ones.   Over USB rather than from a hard drive that can take even longer.  Even then, once the client launches then it will start to download any blocks that it doesn't already have.  That can take many more more minutes or tens of minutes.  But you can still transact while it is doing that, you just cannot see transactions from blocks that have not yet been received.

Is this what you are describing?  

I've been moving the bitcoin folder in roaming each time I want to run the client. There must be a easier way.

There are thin clients, such as Electrum that you may wish to consider.   Or there is Javascript, client-side wallets like those from My Wallet ( http://www.blockchain.info/wallet ) and StrongCoin.
 - http://en.bitcoin.it/wiki/Category:Clients

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


cuz0882 (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 15, 2012, 01:30:27 AM
 #6

On my hard drive it takes about 30 seconds. On usb it just took 3 hours. It was only 14 hours behind on the blockchain. Hard to believe the usb transfer rates would cause that much difference. That is huge...
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
March 15, 2012, 03:51:30 AM
 #7

Is the port USB 2.0? (and the cable is rated for 2.0 also, if using one?)

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


cuz0882 (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 15, 2012, 05:01:33 AM
 #8

It's 2.0, no cable
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1288
Merit: 1225


Away on an extended break


View Profile
March 15, 2012, 05:05:39 AM
 #9

That's strange. I just use the batch file command 'bitcoin-qt.exe -datadir=.\Bitcoin' and it loads under 30 second on my netbook, almost 5 seconds if I do this on my stronger desktop.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
March 15, 2012, 07:00:10 PM
 #10

It's 2.0, no cable

Not sure what the problem could be then.  Would you have another computer that you could try running it from then -- that would help to isolate if the problem is with the USB and/or wallet  or if instead the problem is with one particular computer.

Also, there was a new update of the Bitcoin client out today.  I don't think there are significant performance improvements from the previous version, but it never hurts to use the most recent release.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


MaxSan
Sr. Member
****
Offline Offline

Activity: 369
Merit: 250


View Profile
March 15, 2012, 09:40:46 PM
 #11

Try Multibit - I use that on a USB and works wonders.
Pages: [1]
  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!