Skip to content

Commit

Permalink
modified configure and conf.sample for darkcoind
Browse files Browse the repository at this point in the history
  • Loading branch information
Propulsion authored and Propulsion committed Feb 4, 2015
1 parent 1b0765b commit 4490d53
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
21 changes: 11 additions & 10 deletions configure
Expand Up @@ -90,8 +90,9 @@ if [ ! -d $path ]; then
read -p "Do you want to download it from the Electrum foundry to $path ? " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
mkdir -p $path
wget -O - "http://foundry.electrum.org/leveldb-dump/electrum-fulltree-100-latest.tar.gz" | tar --extract --gunzip --strip-components 1 --directory $path --file -
#mkdir -p $path
#wget -O - "http://foundry.electrum.org/leveldb-dump/electrum-fulltree-100-latest.tar.gz" | tar --extract --gunzip --strip-components 1 --directory $path --file -
echo "Darkcoin database isn't available for download at this time."
fi
fi

Expand All @@ -107,16 +108,16 @@ if ! [ -f $logfile ]; then
fi


bitcoind_user=$(read_config "bitcoind_user")
if ! [ "$bitcoind_user" ]; then
read -p "rpcuser (from your bitcoin.conf file): " -r
write_config "bitcoind_user" $REPLY
darkcoind_user=$(read_config "darkcoind_user")
if ! [ "$darkcoind_user" ]; then
read -p "rpcuser (from your darkcoin.conf file): " -r
write_config "darkcoind_user" $REPLY
fi

bitcoind_password=$(read_config "bitcoind_password")
if ! [ "$bitcoind_password" ]; then
read -p "rpcpassword (from your bitcoin.conf file): " -r
write_config "bitcoind_password" $REPLY
darkcoind_password=$(read_config "darkcoind_password")
if ! [ "$darkcoind_password" ]; then
read -p "rpcpassword (from your darkcoin.conf file): " -r
write_config "darkcoind_password" $REPLY
fi


Expand Down
4 changes: 2 additions & 2 deletions electrum.conf.sample
Expand Up @@ -27,8 +27,8 @@ path =
pruning_limit = 100

[darkcoind]
bitcoind_host = localhost
bitcoind_port = 9999
darkoind_host = localhost
darkcoind_port = 9999
# user and password from darkcoin.conf
darkcoind_user =
darkcoind_password =

0 comments on commit 4490d53

Please sign in to comment.