Author

Topic: Confusion: bitcoind versus bitcoin-qt (Read 946 times)

sr. member
Activity: 882
Merit: 251
December 22, 2015, 07:55:16 AM
#7
Yes, both are the same thing and qt is a graphical interface. You only need one folder Smiley You're having two different wallets and two different copies of the blockchain in the way you seemed to have set it up.

Thank you for replying. Smiley

I see. So I should just run either one? If I have bitcoin-qt running, does that means I am also functioning as a node too?

But if I were to run bitcoin-qt, I cannot seem to parse commands to bitcoin-cli?  Huh

sorry to jump in, but if your running the qt wallet create a bitcoin.conf file in either or both data dir with the following options

server=1
listen=1
daemon=1
rpcuser=changeme
rpcpassword=changeme
port=8333

this should give you access to bitcoin-cli commands from command prompt or terminal Smiley



Yes, both are the same thing and qt is a graphical interface. You only need one folder Smiley You're having two different wallets and two different copies of the blockchain in the way you seemed to have set it up.

Thank you for replying. Smiley

I see. So I should just run either one? If I have bitcoin-qt running, does that means I am also functioning as a node too?

But if I were to run bitcoin-qt, I cannot seem to parse commands to bitcoin-cli?  Huh

Yes, run only one, so to speak. The daemon has got to start always. When you run QT, it runs the daemon on the background.

Now you use whatever suits you best. For regular usage bitcoin-qt is the most used. You are working as a node as long as you have your Bitcoin ports forwarded.

To push commands, create a .conf as said


Thanks. Will run only the daemon in the future. Need to sort out my messed up system. Smiley

no worries, good luck mate Smiley
sr. member
Activity: 448
Merit: 250
December 22, 2015, 07:48:48 AM
#6
Yes, both are the same thing and qt is a graphical interface. You only need one folder Smiley You're having two different wallets and two different copies of the blockchain in the way you seemed to have set it up.

Thank you for replying. Smiley

I see. So I should just run either one? If I have bitcoin-qt running, does that means I am also functioning as a node too?

But if I were to run bitcoin-qt, I cannot seem to parse commands to bitcoin-cli?  Huh

sorry to jump in, but if your running the qt wallet create a bitcoin.conf file in either or both data dir with the following options

server=1
listen=1
daemon=1
rpcuser=changeme
rpcpassword=changeme
port=8333

this should give you access to bitcoin-cli commands from command prompt or terminal Smiley



Yes, both are the same thing and qt is a graphical interface. You only need one folder Smiley You're having two different wallets and two different copies of the blockchain in the way you seemed to have set it up.

Thank you for replying. Smiley

I see. So I should just run either one? If I have bitcoin-qt running, does that means I am also functioning as a node too?

But if I were to run bitcoin-qt, I cannot seem to parse commands to bitcoin-cli?  Huh

Yes, run only one, so to speak. The daemon has got to start always. When you run QT, it runs the daemon on the background.

Now you use whatever suits you best. For regular usage bitcoin-qt is the most used. You are working as a node as long as you have your Bitcoin ports forwarded.

To push commands, create a .conf as said


Thanks. Will run only the daemon in the future. Need to sort out my messed up system. Smiley
legendary
Activity: 1512
Merit: 1012
December 21, 2015, 12:27:12 PM
#5
Yes, both are the same thing and qt is a graphical interface. You only need one folder Smiley You're having two different wallets and two different copies of the blockchain in the way you seemed to have set it up.

Thank you for replying. Smiley

I see. So I should just run either one? If I have bitcoin-qt running, does that means I am also functioning as a node too?

But if I were to run bitcoin-qt, I cannot seem to parse commands to bitcoin-cli?  Huh

Yes, run only one, so to speak. The daemon has got to start always. When you run QT, it runs the daemon on the background.

Now you use whatever suits you best. For regular usage bitcoin-qt is the most used. You are working as a node as long as you have your Bitcoin ports forwarded.

To push commands, create a .conf as said
sr. member
Activity: 882
Merit: 251
December 21, 2015, 11:34:44 AM
#4
Yes, both are the same thing and qt is a graphical interface. You only need one folder Smiley You're having two different wallets and two different copies of the blockchain in the way you seemed to have set it up.

Thank you for replying. Smiley

I see. So I should just run either one? If I have bitcoin-qt running, does that means I am also functioning as a node too?

But if I were to run bitcoin-qt, I cannot seem to parse commands to bitcoin-cli?  Huh

sorry to jump in, but if your running the qt wallet create a bitcoin.conf file in either or both data dir with the following options

server=1
listen=1
daemon=1
rpcuser=changeme
rpcpassword=changeme
port=8333

this should give you access to bitcoin-cli commands from command prompt or terminal Smiley
sr. member
Activity: 448
Merit: 250
December 21, 2015, 11:29:05 AM
#3
Yes, both are the same thing and qt is a graphical interface. You only need one folder Smiley You're having two different wallets and two different copies of the blockchain in the way you seemed to have set it up.

Thank you for replying. Smiley

I see. So I should just run either one? If I have bitcoin-qt running, does that means I am also functioning as a node too?

But if I were to run bitcoin-qt, I cannot seem to parse commands to bitcoin-cli?  Huh
legendary
Activity: 1512
Merit: 1012
December 21, 2015, 11:23:11 AM
#2
Yes, both are the same thing and qt is a graphical interface. You only need one folder Smiley You're having two different wallets and two different copies of the blockchain in the way you seemed to have set it up.
sr. member
Activity: 448
Merit: 250
December 21, 2015, 11:20:32 AM
#1
During the first launch of bitcoin-qt, it asked for a custom directory which I created (bitcoin_custom/) to store the blockchain. I obliged and extracted a latest copy of the blockchain into this custom directory.

Subsequently, when I launched bitcoind, I needed to create .bitcoin.conf under ~/.bitcoin/. A bunch of files are automatically created in ~/.bitcoin/

I then realised there are two directories bitcoin_custom/ and ~/.bitcoin that contains identical file names and debug.log getting filled up in both directories.

I am confused. Which wallet.dat am I supposed to back up? The one in bitcoin_custom/ or .bitcoin/ ?

Am I supposed to run either bitcoind or bitcoin-qt but not both? If I am not mistaken, bitcoin-qt is the GUI layer for bitcoind?
Jump to: