Opened 11 years ago

Closed 7 years ago

#41837 closed enhancement (wontfix)

Enhancements for bitcoind

Reported by: zachlym@… Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: bitcoind

Description

I was trying to modify your bitcoind portfile to install namecoind and failed utterly. However, I have previously figured out some things while installing Namecoin which you might find helpful. Everything should work with Bitcoin but no promises : )

Auto-setup bitcoin.conf:

RPCPASS=`openssl rand -hex 7`
RPCUSER=`whoami`
echo "rpcuser=$RPCUSER \nrpcpassword=$RPCPASS \nrpcport=8336" > ~/.bitcoin/bitcoin.conf

I believe you can also set 'daemon=1' in bitcoin.conf and avoid the (irritatingly redundant) bitcoind -deamon switch.

Your comments mention something about automake and config, I think you just use the normal 'make -f makefile.osx' and set 'use_configure no'.

Your post install notes comments should mention something about bootstrap.dat so the user doesn't have to wait 72 hours for their blockchain to be built.

Change History (6)

comment:1 Changed 11 years ago by zachlym@…

Actually, I think that bootstrap.dat should be included in the standard install or at the very least as a variant.

Last edited 11 years ago by zachlym@… (previous) (diff)

comment:2 Changed 11 years ago by zachlym@…

Cc: zachlym@… added

Cc Me!

comment:3 Changed 11 years ago by zachlym@…

I was trying to modify your bitcoind portfile to install namecoind and failed utterly. However, I have previously figured out some things while installing Namecoin which you might find helpful. Everything should work with Bitcoin but no promises : )

Auto-setup bitcoin.conf:

RPCPASS=`openssl rand -hex 20`
RPCUSER=`whoami`
echo "rpcuser=$RPCUSER \nrpcpassword=$RPCPASS \nrpcport=8336" > ~/.bitcoin/bitcoin.conf

I believe you can also set 'daemon=1' in bitcoin.conf and avoid the (irritatingly redundant) bitcoind -deamon switch.

Your comments mention something about automake and config, I think you just use the normal 'make -f makefile.osx' and set 'use_configure no'.

Your post install notes comments should mention something about ​bootstrap.dat so the user doesn't have to wait 72 hours for their blockchain to be built.

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: easieste openmaintainer zachlym@… removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to easieste@…

comment:5 in reply to:  3 Changed 11 years ago by zachlym@…

Replying to zachlym@…:

I was trying to modify your bitcoind portfile to install namecoind and failed utterly. However, I have previously figured out some things while installing Namecoin which you might find helpful. Everything should work with Bitcoin but no promises : )

Auto-setup bitcoin.conf:

RPCPASS=`openssl rand -hex 20`
RPCUSER=`whoami`
echo "rpcuser=$RPCUSER \nrpcpassword=$RPCPASS \nrpcport=8336" > ~/.bitcoin/bitcoin.conf

I believe you can also set 'daemon=1' in bitcoin.conf and avoid the (irritatingly redundant) bitcoind -deamon switch.

Your comments mention something about automake and config, I think you just use the normal 'make -f makefile.osx' and set 'use_configure no'.

Your post install notes comments should mention something about ​bootstrap.dat so the user doesn't have to wait 72 hours for their blockchain to be built.

Ugh, I'm sorry, I meant to change the actual ticket to increase the password length. Hex only has 16 characters, I had used base63 previously but I thought the /'s might cause parsing trouble at some point.... perhaps I shouldn't try to make edits at 1:00. :p

comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.