Bitcoin Forum
April 25, 2024, 01:59:17 AM *
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?




1714010357
Hero Member
*
Offline Offline

Posts: 1714010357

View Profile Personal Message (Offline)

Ignore
1714010357
Reply with quote  #2

1714010357
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714010357
Hero Member
*
Offline Offline

Posts: 1714010357

View Profile Personal Message (Offline)

Ignore
1714010357
Reply with quote  #2

1714010357
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: 3374
Merit: 6535


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!