Shared blockchain... I have a server PC that is on all the time and runs a copy of bitcoin core 24/7. My main personal computer I use separate for everything else including and I use both Bitcoin core and Armory. Each time I open either of these I have to update the blockchain to my computer, no big deal if it is only a day or two behind but it means I have two copies of the same blockchain, one on each PC. Would be nice to not have that increasing disk space used on my main personal PC. Rather than doing a copy from the server PC, is it possible to set up somehow, somewhere in the config file of either or both wallets to share the blockchain that will always be up to date on the server PC across my LAN ?
I wouldn't try to have both
bitcoinds attached to the same storage, that sounds like a recipe for disaster, if it'll start at all.
You can either tunnel the 8332 port on your personal computer to the remote server like this:
ssh -L 8332:localhost:8332 <remoteip>
This'll basically say "whenever I connect on the local port 8332, open a connection on the remote end to
localhost:8332, i.e., your server's 8332 port, and tunnel all traffic through it". So this mimicks a local
bitcoind but transparently passes everything over to the server. No need to share at all.
The other option is to add the following line to your
This will make
bitcoin-cli connect to the remote
bitcoind instead. You also need to make sure you actually allow incoming connections on the server, so this may be a bit less secure than the SSH variant above.