16 votes

opening an old wallet.dat

I recently recovered an old wallet.dat file using pywalley.py and Electrum, which allowed me to read the wallet and sweep the coins to a new Electrum wallet. Steps: Get the jackjack pywallet https://...
Phillip Remaker's user avatar
11 votes

How can I get the private key from wallet.dat from 2011 Bitcoin software on WinXP?

The wallet.dat was created with Bitcoin Core (in 2011 it was called "Bitcoin"). You should install the newest version of Bitcoin-Core (0.14.2 by the time of writing). The wallet.dat from 2011 should ...
Jonas Schnelli's user avatar
10 votes
Accepted

Why is the Bitcoin Core wallet database moving from Berkeley DB to SQLite?

The introduction of descriptor wallets presents an opportunity to introduce a new database backend as descriptor wallets are backwards incompatible. The following is taken from Andrew Chow's blog post ...
Michael Folkson's user avatar
8 votes

Can I retrieve my bitcoins from years ago that I never received?

If you still have the wallet.dat file and your password you can access your bitcoins. You do not have to use Bitcoin-Qt 7 and it does not matter if your wallet ever synced before. If the sender sent ...
animal instinct's user avatar
7 votes
Accepted

How to get rid of 'ghost' wallets in Bitcoin Core?

In the data directory, there should be a file named settings.json. Just delete the lines with the names of the wallets that you have removed. The file needs to contain valid json, so you also need to ...
Ava Chow's user avatar
  • 70.5k
7 votes

Gradual deprecation of importprivkey call?

Yes, importprivkey will stop being supported entirely whenever support for legacy wallets is removed, probably in version 28.0. Old wallets will of course be covertible to the new format. However, it ...
Pieter Wuille's user avatar
5 votes
Accepted

Why are there ETH addresses in bitcoin wallet.dat?

Ethereum addresses are the trailing 20 bytes of keccak256(public_key). In other words, ethereum addresses are any collection of 20 bytes. 0014{20 byte payload} in Bitcoin is the redeem script for a ...
Raghav Sood's user avatar
5 votes

How do wallets work?

Does it create a public key based of private? Yes, a cryptographic routine exists that computes the public key from the private key. maybe on the wallet.dat file? All modern wallet software ...
Pieter Wuille's user avatar
4 votes

How can I create a new wallet on Bitcoin Core?

With bitcoin-core version 0.21, A default wallet is no longer automatically created Here is the command to create a new wallet. $ bitcoin-wallet -wallet=wallet.dat create Topping up keypool... Wallet ...
Samir Sadek's user avatar
4 votes

How to dump all of addresses from wallet.dat for other alt-coins?

now you can use bitcoin-cli dumpwallet command to export all your privkeys
cifer's user avatar
  • 151
4 votes

How can I fix corrupted encrypted wallet.dat?

Found out that pywallet has recovery feature, and it worked: Created 1GB FAT32 partition on flash drive(/dev/sdb1 in my case), copied corrupted wallet.dat on it and run: nyaa@ubuntu:~/github/...
nyaa's user avatar
  • 171
4 votes

How do I retrieve my backed up wallet to Bitcoin Core?

Restoring a wallet on a fresh machine: Start Bitcoin-Core (daemon or Qt), shut it down after it has started up (you only do that to create the necessary data directory) Replace wallet.dat with your ...
Jonas Schnelli's user avatar
4 votes
Accepted

How to migrate bitcoin node from one computer to another

This method is used by Bitcoin Core (and few others) and comprises of backing up a wallet.dat file. It's a file that holds keys to spend outputs, addresses, transaction information, and other metadata ...
Zombie's user avatar
  • 548
4 votes

To test if my wallet.dat encryption password is correct, MUST I spend coins?

As you are using the Bitcoin Core wallet you can look at the right bottom if your wallet is locked or unlocked in the padlock icon. Go to Window > Console and type: walletpassphrase "your ...
Luca Blight's user avatar
4 votes

What do they mean by "12/24 words" or "seed words"?

Bitcoin Core does not support BIP39, or any other seed word standard. You are correct that this implies backing up wallet.dat and keeping it safe directly. This is a good idea in any case, even if ...
Pieter Wuille's user avatar
4 votes
Accepted

explore sqlite wallet

The data stored is binary data, which is why it comes out garbled. It is not text. So you will have to convert the data to something human readable. One such method is to convert it to hex. One such ...
Ava Chow's user avatar
  • 70.5k
4 votes
Accepted

How can one examine the contents of the wallet.dat file using sqlite3?

Why does wallet.dat need to be locked permanently if bitcoind is running? bitcoind does not retrieve data from disk when it is running. It only retrieves data on loading, and will occasionally write ...
Ava Chow's user avatar
  • 70.5k
4 votes

I forgot the password of my Bitcoin Core Wallet

The purpose of the password is to prevent people who do not know the password from accessing the money. Just pause and think about the above for a couple of minutes. Many highly skilled people put a ...
RedGrittyBrick's user avatar
4 votes

How do I use descriptors to put an ancient priv-key into a newly created wallet.dat file?

Yes, you will be able to spend the coins found through a rescan when importing a private key by the means of a descriptor in a Bitcoin Core descriptor wallet.
Antoine Poinsot's user avatar
3 votes

How does salvagewallet work?

zcoin seems to be a fork of Bitcoin Core. Bitcoin Core's -salvagewallet does carefully try to recover a broken wallet database (wallet.dat file). What it does is: Copy the wallet.dat file (wallet.&...
Jonas Schnelli's user avatar
3 votes

how to recover a wallet from crashed bitcoin core

If you still have the wallet.dat file in the backup from your old bitcoin core, you can still access your funds. Let the new installation finish syncing, then import the wallet.dat using the "...
Uncle Hunto's user avatar
3 votes

How can I import an address or public key into my wallet.dat file?

A wallet.dat file will contain many, many bitcoin keypairs/addresses. So there is no reason to delete an older address, and in fact this is probably a bad idea. If you or anyone else ever mistakenly ...
chytrik's user avatar
  • 18.3k
3 votes
Accepted

What does best block time mean in wallet.dat

Its the time the wallet was last synchronized to, it won't know about any transaction changes in or out past this time until it has been loaded again by a synchronized node. It has nothing to do with ...
Claris's user avatar
  • 15.4k
3 votes

How do I recover/use an old wallet from 2011/2012

It just works fine with the modern versions of the software with no changes necessary. Sync will take anywhere from a few hours to a few days depending on your hardware and connection speed. Make more ...
Claris's user avatar
  • 15.4k
3 votes
Accepted

Why does Bitcoin store keys in a database?

Historically bdb was used for the UTXO as well, so you could justify using it for the wallet as well for consistency. It makes absolutely no sense today, other than that it will always need to be ...
Claris's user avatar
  • 15.4k
3 votes
Accepted

What determines BTC's wallet size in bytes?

Does wallet.dat contain every address that I created? Even if I didn't get any coins from it? Yes To be clear, suppose I run bitcoin-qt in Linux, and, in the GUI, I click on Receive then click on ...
Ava Chow's user avatar
  • 70.5k
3 votes

How can I import a private key into a pruned node?

Generally, the wallet shipped with Bitcoin Core only keeps copies of any transactions that directly involve the wallet. When you import a key, your node scans the entire blockchain to see if any ...
Murch's user avatar
  • 75.4k
3 votes

Why is Bitcoin Core not asking me to enter the decryption key for my allegedly "encrypted" wallet.dat?

Only the private keys are encrypted if you have an encrypted wallet.dat. The passphrase is only asked when those are needed, i.e. when you try to send coins.
Pieter Wuille's user avatar
3 votes
Accepted

Need help recovering my Bitcoin wallet and what can I cleanup on bitcoin-qt?

You can try to brute force the password, trying all the different possibilities for your password, it is also possible to make a script for this task, but only you who know what the password is could ...
Luca Blight's user avatar
2 votes

Do Berkley DB versions need to be the same?

To be safe, you should use BDB 4.8 as that is the version that is used in releases. However using --with-incompatible-bdb should still produce wallet.dat files that can be used with the officially ...
Ava Chow's user avatar
  • 70.5k

Only top scored, non community-wiki answers of a minimum length are eligible