Author

Topic: Bitcoind vs Bitcoin-cli Command Line Functions (Read 6527 times)

newbie
Activity: 58
Merit: 0
August 19, 2014, 10:12:03 PM
#8
I found it here under the Wallet options subheading:

https://en.bitcoin.it/wiki/Running_Bitcoin

Would this work on the command line as "bitcoin-qt -rescan"?
legendary
Activity: 910
Merit: 1000
★YoBit.Net★ 350+ Coins Exchange & Dice
hmm I had a look through the commands list and I can't see rescan anywhere. If you import a priv key it will recan, but can't see rescan by its self.
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

I might be wrong... but perhaps "-rescan" is only an option you can use when starting bitcoin.

If that is  the case you would start bitcoin with "bitcoin-qt -rescan" (or make a shortcut like I was talking about before)
newbie
Activity: 58
Merit: 0
Sounds like a rescan takes about thirty minutes.

So from the command line on bitcoin-cli, would I enter, "bitcoin-qt rescan" or "bitcoin-qt -rescan"?

Many thanks!
legendary
Activity: 910
Merit: 1000
★YoBit.Net★ 350+ Coins Exchange & Dice
Lol yeah fair point...
I guess I don't really like clutter.. My desktop for e.g has literally 4 icons.. recycle bin, my computer, firefox and putty.
I don't think I have ever clicked any of them except for recycle bin.
legendary
Activity: 1974
Merit: 1029
I have a shortcut for bitcoin-qt that sets my -datadir... so when I want to do a rescan I just open my shortcut and add "-rescan" to the end of the target (I'm using win7)

It does get annoying when I forget to remove -rescan and it takes 30 minutes to open up the GUI on occasion :p

Why don't you have two shortcuts then? Tongue
legendary
Activity: 910
Merit: 1000
★YoBit.Net★ 350+ Coins Exchange & Dice
I have a shortcut for bitcoin-qt that sets my -datadir... so when I want to do a rescan I just open my shortcut and add "-rescan" to the end of the target (I'm using win7)

It does get annoying when I forget to remove -rescan and it takes 30 minutes to open up the GUI on occasion :p

legendary
Activity: 1974
Merit: 1029
What is the difference when using the command line functions between bitcoind and bitcoin-cli?

Do all the commands work on bitcoin-cli?

I would like to rescan the blockchain for any missing wallet transactions.  Can I use bitcoin-cli or should I use bitcoind?

bitcoind used to be the command you'd use in the past. In the future you should use bitcoin-cli. They are equivalent and bitcoind only works now for backwards compatibility.
newbie
Activity: 58
Merit: 0
What is the difference when using the command line functions between bitcoind and bitcoin-cli?

Do all the commands work on bitcoin-cli?

I would like to rescan the blockchain for any missing wallet transactions.  Can I use bitcoin-cli or should I use bitcoind?
Jump to: