Bitcoin Forum
December 10, 2016, 12:56:45 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Saving time/disk space while testing  (Read 1091 times)
carp
Member
**
Offline Offline

Activity: 82


View Profile
March 12, 2011, 04:30:02 AM
 #1

I decided that I wanted to keep a few different wallets, standard stuff, one to keep larger amounts in, a couple for backups of webapps, one for small transactions.

Since I have been switching between two on the same machine, I see that it keeps two entirely separate copies of the block chain, this is not only a space hog, but, means that when I go back to the lesser used wallet, it takes a while to get caught back up.

I was wondering, is there an easy way to switch wallets, but share the block chain information?

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2506


View Profile
March 12, 2011, 05:03:57 AM
 #2

You could probably do it if you always run Bitcoin with the -rescan switch.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526


View Profile
March 12, 2011, 10:24:04 AM
 #3

You might be able to hard-link the blk0001.dat and blkindex.dat files, but I don't think that's been tested at any point. A shell script to switch around the wallet.dats might work better.
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2506


View Profile
March 12, 2011, 02:45:27 PM
 #4

You might be able to hard-link the blk0001.dat and blkindex.dat files, but I don't think that's been tested at any point. A shell script to switch around the wallet.dats might work better.

That's going to cause a lot of problems if you don't run Bitcoin with -rescan all the time.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Dude65535
Full Member
***
Offline Offline

Activity: 126


View Profile
March 12, 2011, 06:08:37 PM
 #5

You could save time but not resources by running a second wallet in a virtual machine.

1DCj8ZwGZXQqQhgv6eUEnWgsxo8BTMj3mT
BitterTea
Sr. Member
****
Offline Offline

Activity: 294



View Profile
March 12, 2011, 06:46:25 PM
 #6

I've written a piece of software called WalletBuddy that you may find useful. It's still very beta, but I use it daily (on my home computer and a USB drive) and have not had any major issues. The next thing I'm going to work on is making it much easier to complete the initial set up, but for now if you have any questions, you can post in that thread.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!