Bitcoin Forum
November 18, 2019, 11:52:00 AM *
News: 10th anniversary art contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can I delete my wallet.dat without problems ?  (Read 182 times)
Emilstud
Newbie
*
Offline Offline

Activity: 24
Merit: 16


View Profile
July 04, 2018, 02:46:44 PM
 #1

Hi, I know the risk when I delete my wallet.dat, all my privkeys are gone if they are not backuped. But on empty wallets it's no problem to delete the wallet.dat because there aren't any funds on it.

My question is, when I delete the wallet.dat, will Bitcoin Core generate a new one for me or will there be thousands of error messages ?

Greetings Emil
1574077920
Hero Member
*
Offline Offline

Posts: 1574077920

View Profile Personal Message (Offline)

Ignore
1574077920
Reply with quote  #2

1574077920
Report to moderator
1574077920
Hero Member
*
Offline Offline

Posts: 1574077920

View Profile Personal Message (Offline)

Ignore
1574077920
Reply with quote  #2

1574077920
Report to moderator
The Bitcoin Forum is turning 10 years old! Join the community in sharing and exploring the notable posts made over the years.
1574077920
Hero Member
*
Offline Offline

Posts: 1574077920

View Profile Personal Message (Offline)

Ignore
1574077920
Reply with quote  #2

1574077920
Report to moderator
1574077920
Hero Member
*
Offline Offline

Posts: 1574077920

View Profile Personal Message (Offline)

Ignore
1574077920
Reply with quote  #2

1574077920
Report to moderator
1574077920
Hero Member
*
Offline Offline

Posts: 1574077920

View Profile Personal Message (Offline)

Ignore
1574077920
Reply with quote  #2

1574077920
Report to moderator
bob123
Legendary
*
Offline Offline

Activity: 1078
Merit: 1575



View Profile WWW
July 04, 2018, 02:48:20 PM
 #2

My question is, when I delete the wallet.dat, will Bitcoin Core generate a new one for me ?

Yes. You will be able to create a new one.
You can create as much wallet files as you wish.

And if you have just created a wallet for testing purpose and didn't use any address, you can safely delete it without running any risks (even though just renaming it wouldn't hurt).

achow101
Moderator
Legendary
*
Offline Offline

Activity: 1946
Merit: 2902


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
July 04, 2018, 11:08:56 PM
Last edit: July 05, 2018, 07:56:46 PM by achow101
 #3

My question is, when I delete the wallet.dat, will Bitcoin Core generate a new one for me or will there be thousands of error messages ?
Bitcoin Core automatically creates a new wallet file if one does not already exist.

cellard
Legendary
*
Offline Offline

Activity: 1372
Merit: 1211


View Profile
July 05, 2018, 04:08:08 PM
 #4

I wouldn't risk it personally. It's better to always rename them, add in a number or something, for example the date of the last received transaction, to know if it's an up to date wallet or not. Satoshi always advised to never delete wallet files. It's better to have a mess of different wallet.dat files renamed than accidentally deleting a wallet file with some private keys in it. Just change the extension for example (wallet.1, wallet.2, wallet.3...) and keep it all.
hash-pool.eu
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile
July 13, 2018, 01:41:26 PM
Merited by OgNasty (1)
 #5

The wallet checks after every start if there is a wallet file and creates a new one if  necessary. It also creates many private keys and addresses (I think about hundred on the latest release).

So, if you just don't need the wallet, you can remove it.

If you already used the wallet, then make sure you have proper backups from the wallet.dat and the private keys (watch out for change addresses, they can also hold coins).

★ PRiVCY ➢ Own Your Privacy! ➢ Best privacy crypto-market! ★
✈✈✈[PoW/PoS]✅[Tor]✅[Airdrop]✈✈✈ (https://privcy.io/)
legendster
Hero Member
*****
Offline Offline

Activity: 1330
Merit: 717


www.V.systems


View Profile
July 17, 2018, 08:19:57 AM
 #6

Hi, I know the risk when I delete my wallet.dat, all my privkeys are gone if they are not backuped. But on empty wallets it's no problem to delete the wallet.dat because there aren't any funds on it.

My question is, when I delete the wallet.dat, will Bitcoin Core generate a new one for me or will there be thousands of error messages ?

Greetings Emil

Like others have already explained. Your wallet will re-sync and reverify everything on startup if the DAT file is messed with. If you want to double check simply move the dat or rename it and see what happens. Make your own mistakes and learn. Good luck

smartmixer.io▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
.Make your Cryptos untraceable!.
(( ███████ ((    TELEGRAM    )) ███████ ))
▄▄███████▄▄
▄███████▀███████▄
▄███▀▀▀ ▄▄▄ ▀▀▀███▄
▄███ ▄▀▀▀   ▀▀▀▄ ███▄
████ █  ▄   ▄█ █ ████
████▌▐▌ ▀█▄█▀ ▐▌▐████
▀████ ▀▄  ▀  ▄▀ ████▀
▀████▄ ▀▄▄▄▀ ▄████▀
▀█████▄▄ ▄▄█████▀
▀▀███████▀▀
.
NO LOGS
▄▄███████▄▄
▄██████▀▀▀██████▄
▄█████▀ ▄▄▄ ▀█████▄
▄██████ ▀   █ ██████▄
███████   █▀  ███████
████████▄ ▄ ▄████████
▀████▀         ▀████▀
▀███   ▄   ▄   ███▀
▀███████████████▀
▀▀███████▀▀
.
NO SIGN-UP
▄▄███████▄▄
▄███████████████▄
▄███████▀   ▀█████▄
▄████▀  ▀      █████▄
████     ▄▀▄  ▀ ▀████
███    ▄▀▄ ▄▀▄    ███
▀███▄▄  ▀█ █▀   ▄███▀
▀████████ ████████▀
▀███████████████▀
▀▀███████▀▀
.

70% COMSN
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
MIX NOW!
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
bob123
Legendary
*
Offline Offline

Activity: 1078
Merit: 1575



View Profile WWW
July 17, 2018, 09:23:30 AM
 #7

My question is, when I delete the wallet.dat, will Bitcoin Core generate a new one for me or will there be thousands of error messages ?

Like others have already explained. Your wallet will re-sync and reverify everything on startup if the DAT file is messed with.

Core won't resync/reverify anything upon deletion of the wallet.dat.
There is no reason to do so. If you remove your wallet.dat, core will generate a new one.
Syncing/Verifying is only necessary if (1) blocks are corrupted or (2) the chainstate contains errors. Not upon creating a new wallet file.



If you want to double check simply move the dat or rename it and see what happens. Make your own mistakes and learn. Good luck

This remembers me of a quote from Otto von Bismarck:
Quote
“Only a fool learns from his own mistakes. The wise man learns from the mistakes of others.”

I don't see a reason to make mistakes if dozens of people already have made them.
Visiting this forum and asking for an advice is a way better way of learning something than to make mistakes and trying to repair them afterwards.


legendster
Hero Member
*****
Offline Offline

Activity: 1330
Merit: 717


www.V.systems


View Profile
July 17, 2018, 02:35:30 PM
 #8


This remembers me of a quote from Otto von Bismarck:
Quote
“Only a fool learns from his own mistakes. The wise man learns from the mistakes of others.”

I don't see a reason to make mistakes if dozens of people already have made them.
Visiting this forum and asking for an advice is a way better way of learning something than to make mistakes and trying to repair them afterwards.


Dear Bob,

If you think making your own mistakes and learning from them is "foolish" then you are calling all of us old-timers fools. Back when I started most of these "new" problems didn't even exist. I guess it all boils down to the differences between sheep and pioneers. Dear bob, the whole point of making your own mistake is to learn from them so you remember what your mistakes were. If learning from other's mistakes just by reading or watching them were enough then the world would be overrun with doctors and lawyers.

As far as OP's problem is considered I do believe this issue has been solved and I would request OP to lock this thread.

smartmixer.io▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
.Make your Cryptos untraceable!.
(( ███████ ((    TELEGRAM    )) ███████ ))
▄▄███████▄▄
▄███████▀███████▄
▄███▀▀▀ ▄▄▄ ▀▀▀███▄
▄███ ▄▀▀▀   ▀▀▀▄ ███▄
████ █  ▄   ▄█ █ ████
████▌▐▌ ▀█▄█▀ ▐▌▐████
▀████ ▀▄  ▀  ▄▀ ████▀
▀████▄ ▀▄▄▄▀ ▄████▀
▀█████▄▄ ▄▄█████▀
▀▀███████▀▀
.
NO LOGS
▄▄███████▄▄
▄██████▀▀▀██████▄
▄█████▀ ▄▄▄ ▀█████▄
▄██████ ▀   █ ██████▄
███████   █▀  ███████
████████▄ ▄ ▄████████
▀████▀         ▀████▀
▀███   ▄   ▄   ███▀
▀███████████████▀
▀▀███████▀▀
.
NO SIGN-UP
▄▄███████▄▄
▄███████████████▄
▄███████▀   ▀█████▄
▄████▀  ▀      █████▄
████     ▄▀▄  ▀ ▀████
███    ▄▀▄ ▄▀▄    ███
▀███▄▄  ▀█ █▀   ▄███▀
▀████████ ████████▀
▀███████████████▀
▀▀███████▀▀
.

70% COMSN
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
MIX NOW!
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
▄  ▄  ▄  ▄  ▄

▀  ▀  ▀  ▀  ▀
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!