Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: bitplanet on October 19, 2017, 11:54:26 AM



Title: Bitcoin core and armory on external hard drive - Help
Post by: bitplanet on October 19, 2017, 11:54:26 AM
Hello folks-
I am using a macbook and I would like to run/store Core and Armory blocks from an external hard drive.  How can I do this?


Title: Re: Bitcoin core and armory on external hard drive - Help
Post by: AdolfinWolf on October 19, 2017, 03:23:19 PM
Hello folks-
I am using a macbook and I would like to run/store Core and Armory blocks from an external hard drive.  How can I do this?

What exactly do you mean by armoury? The wallet, https://www.bitcoinarmory.com/ ? You should be able to just download that for mac, and it should work fine.

Ofcourse you can also use bitcoincore, but that seems unnecessary to me, if you already use armory..

What am i missing, what isn't working?


Title: Re: Bitcoin core and armory on external hard drive - Help
Post by: HeRetiK on October 19, 2017, 04:07:07 PM
You need to set Core's data directory using the -datadir parameter. Looking at this troubleshooting guide it looks like you'll need to start Core manually using the -datadir parameter before launching Armory:

https://www.bitcoinarmory.com/troubleshooting/#how-can-i-change-the-blockchain-database-storage-location-for-armory-and-bitcoin-core


Since MacOs X has a different concept of shortcuts than windows, you'll either have to launch Bitcoin Core from the command line like so:

Code:
/Applications/Path/To/Bitcoin -datadir=/Path/To/ExternalHD/

...or create a script, like so:

https://superuser.com/questions/16750/how-can-i-run-an-application-with-command-line-arguments-in-mac-os


Additionally you'll need to start Armory using the --satoshi-datadir parameter, pointing at the same /Path/To/ExternalHD/ (either via command line or script, similar to Bitcoin Core).


What exactly do you mean by armoury? The wallet, https://www.bitcoinarmory.com/ ? You should be able to just download that for mac, and it should work fine.

Ofcourse you can also use bitcoincore, but that seems unnecessary to me, if you already use armory..

What am i missing, what isn't working?

You can't run Armory without Bitcoin Core. (unless this has changed since I last used Armory, which is admittedly 1-2 years ago)


Title: Re: Bitcoin core and armory on external hard drive - Help
Post by: HCP on October 20, 2017, 12:21:16 PM
- Armory requires Bitcoin Core
- The very latest release is here: https://github.com/goatpig/BitcoinArmory/releases
- https://btcarmory.com/ (https://btcarmory.com/) IS the current website.
- NOTE: www .bitcoinarmory.com IS NOT the current website... it is old and outdated
- Try the Armory subforum for more assistance: https://bitcointalk.org/index.php?board=97.0


Title: Re: Bitcoin core and armory on external hard drive - Help
Post by: HeRetiK on October 21, 2017, 06:01:16 PM
Thank you but the directions call for me to right click and I am not able to do that on my mac. 

The troubleshooting directions from Armory are great but I am still unclear. 
I am attempting to follow the directions but they do not directly translate.
I think I transferred the bitcoin core blocks properly and I moved all of bitcoin core and armory to the external hard drive but I have no I dea how to create the shortcut.
Can someone please help?

Have you tried following the directions in the link mentioned above?

https://superuser.com/questions/16750/how-can-i-run-an-application-with-command-line-arguments-in-mac-os


For Bitcoin Core / Armory this translates to either creating an AppleScript and saving it as an application like so:

Code:
do shell script "/Applications/Path/To/Bitcoin -datadir=/Path/To/ExternalHD/"

Code:
do shell script "/Applications/Path/To/Armory --satoshi-datadir=/Path/To/ExternalHD/"


Or creating an application with a single "Run Shell Script" action in Automator like so:

Code:
/Applications/Path/To/Bitcoin -datadir=/Path/To/ExternalHD/

Code:
/Applications/Path/To/Armory --satoshi-datadir=/Path/To/ExternalHD/