shadowproject / shadow

ShadowCore integration/staging tree
MIT License
96 stars 60 forks source link

Datadir Flag Negated From Umbra Launch #86

Open matthewjamesr opened 7 years ago

matthewjamesr commented 7 years ago

A custom data directory to download the blockchain to does not work when launching, the first time, directly from a shortcut to Umbra. Example shortcut listed below.

C:\..\..\..\umbra.exe -datadir="D:\..\Shadowcash (Umbra)\blockchain"

On launch Umbra still synchs to original/default data directory. To fix this a new shortcut to shadowcoind.exe must be made and ran first:

C:\..\..\..\shadowcoind.exe -datadir="D:\..\Shadowcash (Umbra)\blockchain"

This initialized the blockchain data in the proper data path, but requires the additional step of then creating a shadowcoin.conf with rpc details. After this is done, launching the Umbra shortcut with datadir flag then works synching to updated data directory.

Solution:

Pass the datadir flag and value from an umbra shortcut to shadowcoind and auto-generate a shadowcoin.conf file.