Bitcoin Forum
June 28, 2024, 07:41:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Encrypting Wallet From Command Line  (Read 954 times)
mrflibblehat (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
August 18, 2014, 04:31:30 PM
 #1

Hi,

I have bitcoind running on ubuntu with BTC in the wallet and have a couple of questions.

1) Is there a way to encrypt this from the command line? or do I need to encrypt it from Bitcoin-QT?

2) as im running a server is it even a good idea to encrypt the wallet?

Thanks


CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
August 18, 2014, 04:35:16 PM
 #2

The RPC method to change the passphrase is: walletpassphrasechange (it's right at the bottom of the RPC calls listed here: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list).

As regarding whether that matters when running a server it just depends upon whether that server is going to *use* a wallet (it is actually possible now to start up the server without a wallet at all).

If your bitcoin server doesn't need a wallet then perhaps consider using the -disablewallet option.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
mrflibblehat (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
August 18, 2014, 04:36:43 PM
 #3

The RPC method to change the passphrase is: walletpassphrasechange (it's right at the bottom of the RPC calls listed here: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list).

As regarding whether that matters when running a server it just depends upon whether that server is going to *use* a wallet (it is actually possible now to start up the server without a wallet at all).


Thank you for your help Smiley

Justin00
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
August 19, 2014, 12:16:59 PM
 #4

Are you trying to encrypt an unencrypted wallet for the first time ?

If so, you can do it with "encryptwallet <passphrase>" command

List of commands is here if you need it for future ref Smiley
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list


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!