Bitcoin Forum
May 06, 2024, 09:57:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What does "Flushing wallet.dat" mean?  (Read 2660 times)
SgtSpike (OP)
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
June 22, 2011, 07:31:02 AM
 #1

Currently, my bitcoind service is stuck doing it.  I'd just like to know what it means if my wallet is being flushed.  Sounds a bit frightening...
1715032654
Hero Member
*
Offline Offline

Posts: 1715032654

View Profile Personal Message (Offline)

Ignore
1715032654
Reply with quote  #2

1715032654
Report to moderator
1715032654
Hero Member
*
Offline Offline

Posts: 1715032654

View Profile Personal Message (Offline)

Ignore
1715032654
Reply with quote  #2

1715032654
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715032654
Hero Member
*
Offline Offline

Posts: 1715032654

View Profile Personal Message (Offline)

Ignore
1715032654
Reply with quote  #2

1715032654
Report to moderator
shantee
Sr. Member
****
Offline Offline

Activity: 381
Merit: 274


An investment in knowledge pays the best interest.


View Profile WWW
May 23, 2013, 03:53:25 PM
 #2

I am sorry this is a bit old I know..But why does this topic hasn't received any reply ?
I am also wondering the same ? what's "Flushing wallet.dat" I can read in my debug.log

10 Great Bitcoin & Litecoin related domain name on sale ! | MY ltc adress : LdCEBkFWAoXNcXXgvJ2zGRk35ircZouUx8
twobits
Sr. Member
****
Offline Offline

Activity: 574
Merit: 250



View Profile
May 25, 2013, 06:37:53 PM
 #3

Flushing in this context means to flush or empty out the memory buffers, and force the data to be written to disk.   Now this does not actually always work with modern consumer grade drives, but that is what it is at least trying to do when it logs that message.

One interesting thing is it uses the line

Code:
dbenv.txn_checkpoint(0, 0, 0);

to do this. While another section of code seem to have been written thinking this is a nop.  Wonder what the actually behavior is.

█████                █████      ███████             
█████                ███    █████████████       
█████                ██  █████████████████   
█████                █  ██████              ██████ 
█████                    ████                      ████ 
█████████████  █████                        ████
█████████████  █████                        ████
█████████████  █████                        ████
█████                    █████                             
█████                █  ██████              ███████
█████                ██  ███████████    █████ 
█████                ███    █████████    ████   
█████                █████      ███████    ██
███
███
███
███
███
███
███
███
███
HyperQuant.net
Platform for Professional Asset Management
███
███
███
███
███
███
███
███
███
WhitePaper
One-Pager
███
███
███
███
███
███
███
███
███
Telegram 
Facebook
Twitter
Medium
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
█████                █████      ███████             
█████                ███    █████████████       
█████                ██  █████████████████   
█████                █  ██████              ██████ 
█████                    ████                      ████ 
█████████████  █████                        ████
█████████████  █████                        ████
█████████████  █████                        ████
█████                    █████                             
█████                █  ██████              ███████
█████                ██  ███████████    █████ 
█████                ███    █████████    ████   
█████                █████      ███████    ██
Quicker_777
Newbie
*
Offline Offline

Activity: 58
Merit: 0



View Profile
May 26, 2013, 12:30:36 AM
 #4


This might be a bit off-topic, I don't know... when people talk about a "paper wallet", are they just saying that they're writing down their private key(s) and putting them in a safe, and then deleting all electronic traces until they re-establish a wallet?

Photon939
Sr. Member
****
Offline Offline

Activity: 452
Merit: 250



View Profile
May 26, 2013, 01:14:41 AM
 #5


This might be a bit off-topic, I don't know... when people talk about a "paper wallet", are they just saying that they're writing down their private key(s) and putting them in a safe, and then deleting all electronic traces until they re-establish a wallet?



Generally yes, it's a good way to safeguard your coin stash for longer periods of time.

They can be created entirely offline and then you send all your coins to the generated address without the wallet ever being online.
Quicker_777
Newbie
*
Offline Offline

Activity: 58
Merit: 0



View Profile
May 26, 2013, 01:53:16 AM
 #6


This might be a bit off-topic, I don't know... when people talk about a "paper wallet", are they just saying that they're writing down their private key(s) and putting them in a safe, and then deleting all electronic traces until they re-establish a wallet?



Generally yes, it's a good way to safeguard your coin stash for longer periods of time.

They can be created entirely offline and then you send all your coins to the generated address without the wallet ever being online.

Thanks for the response!   So, as a follow-up, how do you "restore" a wallet with your keys?
Photon939
Sr. Member
****
Offline Offline

Activity: 452
Merit: 250



View Profile
May 26, 2013, 02:53:36 AM
 #7

There are command line commands for importing private keys to your wallet, it's not an option available from the GUI AFAIK
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!