Bitcoin Forum
May 11, 2024, 01:22:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Most graceful way to close bitcoin client  (Read 843 times)
jostmey (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile WWW
August 09, 2011, 06:41:30 PM
 #1

What is the most graceful way to close the bitcoin client software from a shell script?

I ask because I always want to leave the client running in the background, but periodically I will need to automatically close the program and backup the wallet file.

Search Bitcoin
Discover the bitcoin economy
1715390545
Hero Member
*
Offline Offline

Posts: 1715390545

View Profile Personal Message (Offline)

Ignore
1715390545
Reply with quote  #2

1715390545
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715390545
Hero Member
*
Offline Offline

Posts: 1715390545

View Profile Personal Message (Offline)

Ignore
1715390545
Reply with quote  #2

1715390545
Report to moderator
1715390545
Hero Member
*
Offline Offline

Posts: 1715390545

View Profile Personal Message (Offline)

Ignore
1715390545
Reply with quote  #2

1715390545
Report to moderator
jimbo77
Member
**
Offline Offline

Activity: 224
Merit: 10


View Profile
August 09, 2011, 06:50:37 PM
 #2

kill should be fine.
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
August 09, 2011, 06:54:19 PM
 #3

You know the client has a command to backup the wallet, right?

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
jostmey (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile WWW
August 10, 2011, 03:31:27 AM
 #4

You know the client has a command to backup the wallet, right?


How do I call the command to backup the wallet file from an active process? And isn't the backup command only for the daemon, or is it for the GUI version too?

Search Bitcoin
Discover the bitcoin economy
EricJ2190
Full Member
***
Offline Offline

Activity: 134
Merit: 102


View Profile
August 10, 2011, 04:06:11 AM
 #5

You know the client has a command to backup the wallet, right?


How do I call the command to backup the wallet file from an active process? And isn't the backup command only for the daemon, or is it for the GUI version too?

The GUI will accept commands too if run with the "-server" option or if you specify "server=1" in bitcoin.conf. You can then use the "backupwallet" JSON-RPC command to backup the wallet. From the command-line, that would be "bitcoind backupwallet /output/file".
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!