Bitcoin Forum
May 21, 2024, 11:32:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin core does not show wallet.dat ballance  (Read 152 times)
victoria2019 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 4


View Profile
November 26, 2020, 03:05:19 PM
Merited by LoyceV (4)
 #1

Hello everyone! I read a few threads and thread Bitcoin core does not show wallet.dat balance after synchronization and rescan
And have almost the same problem. But I'm super not tech-savvy and have MAC book
So things that people suggested in different threads I don' know if I even did them. As I don;t have so many files when opening on mac bitcoincore.

So I have my old wallet.dat file from my old laptop (botcoin.core there is not opening - the app itself just I guess old version)
So I installed a new app on my new laptop. Waited a couple of days to synchronize with blockchain and then I tried to just copy and paste the wallet.dat file to the new bitcoin.core
I closed the app. Copy pasted and then opened and have an error come up with all wallet.dat files that I have

Error: Prune: last wallet synchronization goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node)

What am I doing wrong? I don't even know what Prune means....

How can I recover my file, what steps am I missing?  

I know my key, I have the file, I know the address of my wallet. What is the best way to recover them? Thank you
ranochigo
Legendary
*
Online Online

Activity: 2982
Merit: 4193



View Profile
November 26, 2020, 03:09:53 PM
 #2

I presume due to the storage concerns, you've decided to prune the blockchain to a certain size? Maybe you did this inadvertently.

You'll have to resynchronize the blockchain unfortunately, you can prune your Bitcoin Core but you cannot import wallet files as pruning discards the files that would otherwise be necessary for you to obtain the relevant transactions to your wallet.dat.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
November 26, 2020, 03:32:10 PM
 #3

Error: Prune: last wallet synchronization goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node)

What am I doing wrong? I don't even know what Prune means....

This is the issue.
You have chosen to run a pruned node (basically limiting the disk space used).

After copying the wallet file into the correct directory, you need to -reindex and therefore downloading and verifying the whole blockchain again.



How can I recover my file, what steps am I missing? 

I know my key, I have the file, I know the address of my wallet. What is the best way to recover them? Thank you

You can either resync core or export the private keys which hold the balance.
You could fore example dump the whole wallet (dumpwallet in the command line) and then import every private key into a electrum wallet (or any other lightweight client which doesn't require the whole blockchain).

It is your choice.

NotATether
Legendary
*
Offline Offline

Activity: 1610
Merit: 6753


bitcoincleanup.com / bitmixlist.org


View Profile WWW
November 26, 2020, 05:13:27 PM
Last edit: November 26, 2020, 11:16:39 PM by NotATether
 #4

Since you have a MacBook, which come in hard disk sizes like 256GB, 512GB, 1TB, etc., if you don't have enough space to download the whole blockchain at once (you need about 300GB) or your internet plan won't let you download that much data in a month, then I would take the second option listed here and export the private keys.

You can either resync core or export the private keys which hold the balance.
You could fore example dump the whole wallet (dumpwallet in the command line) and then import every private key into a electrum wallet (or any other lightweight client which doesn't require the whole blockchain).  

1- open your wallet in bitcoin core.
2- Go to the Console. I believe it's under the Help menu, but I'm sure it's located inside the rightmost menu. It's under Window > Console
3- You might have to unlock the wallet first by entering your password, using walletpassphrase PASSWORD 300 (decrypts your wallet with the provided password for 300 seconds, or 5 minutes.
4- Type dumpwallet "/path/to/output/file/you/want.txt". This exports your private keys to a human-readable file.
5- Download and verify Electrum using the instructions here: How to verify your Electrum [Windows, Linux, Mac].
6- Install and open Electrum and create a new wallet. Select "Import bitcoin addresses or private keys".
7- Open the text file where you dumped the private keys to, and paste them into Electrum. When you are done, delete this file as it's a security risk to leave the private keys exposed in a text file. Follow the remainder of the steps to create an Electrum wallet with your private keys.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BitMaxz
Legendary
*
Online Online

Activity: 3262
Merit: 2974


Block halving is coming.


View Profile WWW
November 26, 2020, 11:29:51 PM
 #5

Can you clarify this
~snip~ 
I know my key, I have the file, I know the address of my wallet. What is the best way to recover them? Thank you

If you have the private key to that address you can just import it to any wallet that supports private keys like Electrum.

If you mean about the key as a password? Then the suggestion above will work but if you can still access the console without the error if you can't access then I think you will need to disable the pruned mode and let it sync. While syncing you can go to console and dump private keys.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
victoria2019 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 4


View Profile
November 28, 2020, 03:47:24 PM
 #6

All solved!
Just reinstalled /updated the bitcoin core on my old laptop and it worked!
Did some steps that were recommended in here!
Thank you for your help
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!