Author

Topic: linux bitcoind and bitcoind -daemon (Read 1011 times)

full member
Activity: 171
Merit: 100
April 14, 2016, 09:55:21 AM
#6
Hello,

bitcoind <- bitcoin deamon = core value of the software (bitcoind -printtoconsole -debug=1)
bitcoin-cli <- bitcoin command line interface = allow you to "query' the blockchain that you had download previously with bitcoind. You must run bitcoind to use this command (obvious ?) (bitcoin-cli getmininginfo)
bitcoin-qt <- Graphical bitcoin software = bitcoind + graphical interface (You can find a graphical console embedded in which you will use bitcoin-cli command)
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
April 12, 2016, 08:38:50 AM
#5
The -daemon option runs it in the background.  Without the option, it'll run in the foreground and will die when you hit control-c or if you shut down the terminal window.
legendary
Activity: 4130
Merit: 1307
April 12, 2016, 06:43:00 AM
#4
sorry for this noob question.

1. When running bitcoind on Linux. what is the difference between just "bitcoind" and "bitcoind -daemon"

2. I try just "bitcoind" and it seems it load forever and I dunno whether it runs or not. so I press Ctrl + C to stop it.
does it stay in the background?

If you want it in the background, use -daemon

Otherwise when you hit ctrl-c, you've stopped it.
sr. member
Activity: 284
Merit: 250
April 12, 2016, 06:36:46 AM
#3
Try to run bitcoin-qt in the terminal that should work.
staff
Activity: 3458
Merit: 6793
Just writing some code
April 11, 2016, 09:17:38 PM
#2
sorry for this noob question.

1. When running bitcoind on Linux. what is the difference between just "bitcoind" and "bitcoind -daemon"
AFAIK, there is no difference.

2. I try just "bitcoind" and it seems it load forever and I dunno whether it runs or not. so I press Ctrl + C to stop it.
does it stay in the background?
That is actually normal, to not see any output when running bitcoind. In fact, there should be absolutely no output from the bitcoind whatsoever, and if there is, something wrong happened. Just leave it running and open another terminal and use bitcoin-cli to send commands to the bitcoind. If it is still starting, you will get an error about it still starting up or verifying blocks. It is ready when you are actually getting the right output for your commands.
newbie
Activity: 48
Merit: 0
April 11, 2016, 08:53:17 PM
#1
sorry for this noob question.

1. When running bitcoind on Linux. what is the difference between just "bitcoind" and "bitcoind -daemon"

2. I try just "bitcoind" and it seems it load forever and I dunno whether it runs or not. so I press Ctrl + C to stop it.
does it stay in the background?
Jump to: