Bitcoin Forum
August 09, 2024, 01:04:31 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Saving time/disk space while testing  (Read 1357 times)
carp (OP)
Member
**
Offline Offline

Activity: 82
Merit: 10


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?

theymos
Administrator
Legendary
*
Offline Offline

Activity: 5292
Merit: 13191


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
Merit: 1129


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

Activity: 5292
Merit: 13191


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
Merit: 101


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
Merit: 252



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:  

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