Bitcoin Forum
June 22, 2024, 08:26:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BitcoinQT command-line in windows?  (Read 1390 times)
moriartybitcoin (OP)
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500

★777Coin.com★ Fun BTC Casino!


View Profile
October 11, 2014, 12:57:29 AM
 #1

I am running BitcoinQT on my laptop in Windows .. does anyone know how to run command-line commands such as 'keypoolrefill'

On linux I would just type bitcoind keypoolrefill from root.  But how do I do this on windows when I'm running the GUI Bitcoin-QT ??

I need to refill the keypool urgently .. any help is appreciated

Walter Rothbard
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


Bytecoin: 8VofSsbQvTd8YwAcxiCcxrqZ9MnGPjaAQm


View Profile WWW
October 11, 2014, 01:00:13 AM
 #2

You can go to Help -> Debug window -> Console to execute most commands.

moriartybitcoin (OP)
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500

★777Coin.com★ Fun BTC Casino!


View Profile
October 11, 2014, 01:09:03 AM
 #3

oh thanks!

I would like to tip you 0.01 btc for your help

Also, do you know how to refill the keypool with more than 101 ?  I did a keypoolrefill and it will only put 101 keys in the keypool ...

Walter Rothbard
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


Bytecoin: 8VofSsbQvTd8YwAcxiCcxrqZ9MnGPjaAQm


View Profile WWW
October 11, 2014, 01:47:03 AM
 #4

oh thanks!

I would like to tip you 0.01 btc for your help

13pahbkd6weDXYty6k7X7mGskBpWzgSKmD

Quote
Also, do you know how to refill the keypool with more than 101 ?  I did a keypoolrefill and it will only put 101 keys in the keypool ...

edit your bitcoin.conf and set:
keypool=1000

You'll need to restart bitcoin afterward.

moriartybitcoin (OP)
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500

★777Coin.com★ Fun BTC Casino!


View Profile
October 11, 2014, 09:43:56 PM
 #5

Thanks again for the help, I sent you 0.01btc

Walter Rothbard
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


Bytecoin: 8VofSsbQvTd8YwAcxiCcxrqZ9MnGPjaAQm


View Profile WWW
October 12, 2014, 01:05:39 AM
 #6

Thanks again for the help, I sent you 0.01btc

I got it - thanks!

Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
October 13, 2014, 09:57:43 PM
 #7

FYI, you can use bitcoind on windows too; it's in the "daemon" folder within the Bitcoin install directory. You may need to add it to your path if you want to use it without having to cd to the folder first, but aside from that it works identically to the linux version (aside from the formatting of path names, anyway).

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
KarstenNilsen
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile WWW
October 14, 2014, 12:28:11 PM
 #8

Be aware that the Windows version of the Bitcoin Deamon sometimes has some memory issues, so I would recommend 64-bit Linux version for server appliances.
spin
Sr. Member
****
Offline Offline

Activity: 362
Merit: 261


View Profile
October 17, 2014, 01:54:17 PM
 #9

Also going forward you should use bitcoin-cli (as opposed to bitcoind) for commands from the command line.  As eventually it won't be possible to use bitcoind to do this.  

E.g.

Code:
bitcoin-cli getinfo
This should return something similar to the following to the command line:
Code:
{"info":{"version":90100,"protocolversion":70002,"walletversion":60000,"balance":0,"blocks":325730,"timeoffset":-1,"connections":59,"proxy":"","difficulty":35002482026.13323,"testnet":false,"keypoololdest":1402556143,"keypoolsize":101,"paytxfee":0,"errors":""}}


If this exe is not on the path you need to CD to the relevant directory on windows.


If you liked this post buy me a beer.  Beers are quite cheap where I live!
bc1q707guwp9pc73r08jw23lvecpywtazjjk399daa
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!