Bitcoin Forum
May 04, 2024, 04:04:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is normal running state of ./bitcoind ?  (Read 194 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
February 28, 2018, 01:47:10 PM
 #1

I know if run ./bitcoin-qt, wallet GUI program started.

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




If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714838666
Hero Member
*
Offline Offline

Posts: 1714838666

View Profile Personal Message (Offline)

Ignore
1714838666
Reply with quote  #2

1714838666
Report to moderator
1714838666
Hero Member
*
Offline Offline

Posts: 1714838666

View Profile Personal Message (Offline)

Ignore
1714838666
Reply with quote  #2

1714838666
Report to moderator
1714838666
Hero Member
*
Offline Offline

Posts: 1714838666

View Profile Personal Message (Offline)

Ignore
1714838666
Reply with quote  #2

1714838666
Report to moderator
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
February 28, 2018, 01:53:52 PM
Last edit: February 28, 2018, 02:13:52 PM by AdolfinWolf
 #2

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

bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
February 28, 2018, 04:58:12 PM
Merited by achow101 (2), DarkStar_ (2)
 #3

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

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
February 28, 2018, 11:26:45 PM
Merited by HCP (1)
 #4

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

[1] 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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!