Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: wsxdrfv on February 28, 2018, 01:47:10 PM



Title: What is normal running state of ./bitcoind ?
Post by: wsxdrfv on February 28, 2018, 01:47:10 PM
I know if run ./bitcoin-qt, wallet GUI program started.

Then if everything is normal and fine, what will happen when run ./bitcoind?






Title: Re: What is normal running state of ./bitcoind ?
Post by: AdolfinWolf on February 28, 2018, 01:53:52 PM
I know if run ./bitcoin-qt, wallet GUI program started.

Then if everything is normal and fine, what will happen when run ./bitcoind?

Bitcoind is simply a so-called "headless" version of bitcoin-QT, so instead of a GUI (like Bitcoin-QT has) it has a command-line interface. So booting up bitcoind will give you a command prompt instead of the GUI bitcoin-qt provides.

I believe that there are no differences ( in terms of what commands are available, configurations etc) other then the GUI being different.  (or missing)

Some more information about the two can be found here > https://en.bitcoin.it/wiki/Running_Bitcoin


Title: Re: What is normal running state of ./bitcoind ?
Post by: bob123 on February 28, 2018, 04:58:12 PM
I know if run ./bitcoin-qt, wallet GUI program started.

Then if everything is normal and fine, what will happen when run ./bitcoind?

The more handy way would be to run bitcoind in daemon mode:
Code:
./bitcoind -daemon

and afterwards use API commands [1] to communicate via:
Code:
./bitcoin-cli


To stop the daemon you can type:
Code:
./bitcoin-cli stop



[1] https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list)


Title: Re: What is normal running state of ./bitcoind ?
Post by: achow101 on February 28, 2018, 11:26:45 PM
and afterwards use API commands [1] to communicate via:
Code:
./bitcoin-cli

[1] https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list)
Using

Code:
bitcoin-cli help
and
Code:
bitcoin-cli help <command>

will give you much better and up to date information than can be found on the Bitcoin wiki.