Bitcoin Forum
November 19, 2018, 12:51:02 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Old wallet.dat file, synched up, can't send BTC out.  (Read 243 times)
thedreamer
Legendary
*
Offline Offline

Activity: 1316
Merit: 1002

Go Big or Go Home.....


View Profile
April 12, 2018, 02:19:44 PM
 #1

So I open up an old wallet.dat file I had stowed away from 2 or so years ago with quite a bit of BTC in it.

Sync-ed up with the latest wallet, have the password to unlockit, etc..
Problem is, when I send a payment to any address, it becomes unconfirmed for what seems for ever, type says "payment to yourself".
The amount I am trying to send comes out of the total, but it never arrives nor confirms.

I hope the wallet file is not corrupt and something can be done as it has quite a substantial amount of BTC in it. :-(

Go Big or Go Home.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542631862
Hero Member
*
Offline Offline

Posts: 1542631862

View Profile Personal Message (Offline)

Ignore
1542631862
Reply with quote  #2

1542631862
Report to moderator
1542631862
Hero Member
*
Offline Offline

Posts: 1542631862

View Profile Personal Message (Offline)

Ignore
1542631862
Reply with quote  #2

1542631862
Report to moderator
1542631862
Hero Member
*
Offline Offline

Posts: 1542631862

View Profile Personal Message (Offline)

Ignore
1542631862
Reply with quote  #2

1542631862
Report to moderator
Sellingaccs
Member
**
Offline Offline

Activity: 126
Merit: 49

Ask me for Pools, Nodes and Explorers.


View Profile
April 12, 2018, 02:43:22 PM
Merited by thedreamer (2), suchmoon (1)
 #2

I'd personally just try to do it the easy way. This is what i suggest you to do.
Download Electrum client, so you don't have to mess with any syncing or such.
Then open up your Bitcoin Core, or wherever you have the wallet. Then figure out which addresses have balance.
Then write there the following for every invidual address which you have. You need to have your wallet unlocked.

Code:
dumpprivkey yourpublickey

It should give out a private key string as a reply, so repeat this to every possible key which has some kind of balance.
Copy paste those private keys on a notepad or something, one key on every line.

Then open up your electrum wallet, it will ask you to create new wallet.
Enter the name of the wallet file (does not matter, you can leave it if you want to), then press next and you will see the following:



Choose the "Import private keys, as you can see above and click next.
After that, enter the keys as shown below (one on every line):



My keys start a bit differently, as they are P2SH keys but the same procedure works for your keys as well.
Then hit next again, setup a password if you want to. Although i recommend just sending the BTC right out, when you get a chance as your private keys have been revealed on your screen. I recommend doing this procedure offline if possible as well.

LoyceV
Legendary
*
Online Online

Activity: 1302
Merit: 2264


Self-made Legendary!


View Profile WWW
April 12, 2018, 03:43:23 PM
Merited by thedreamer (1)
 #3

I hope the wallet file is not corrupt
I assume you have more than one backup, right? If you don't have it, you should make them right now.

I'd personally just try to do it the easy way. This is what i suggest you to do.
Download Electrum client
People use Bitcoin Core for a reason, moving a "substantial amount of BTC" to another wallet is not something I'd recommend. Electrum has had much more exploits than Bitcoin Core.
If thedreamer chooses to export his private key, he can just import them into a new Bitcoin Core wallet.dat. I can't think of a single reason though to explain the described behaviour. Have you (thedreamer) used Bitcoin Core recently with another wallet? Could it be related to a Windows (?) firewall by any chance?

thedreamer
Legendary
*
Offline Offline

Activity: 1316
Merit: 1002

Go Big or Go Home.....


View Profile
April 12, 2018, 06:39:26 PM
 #4

Thank you both for the info and suggestion.

I didn't want to use another wallet as it'll take a month to sync up.   Wink

I have backups of the wallet.dat but at some point I messed up years ago and I have multiples with mixed up addresses. I'd hate to lose this much btc though, so I'll try anything. That's what I get for not trusting an offline hardware wallet. Ugh.

Go Big or Go Home.
bob123
Hero Member
*****
Offline Offline

Activity: 742
Merit: 698



View Profile WWW
April 13, 2018, 09:17:43 AM
 #5

I didn't want to use another wallet as it'll take a month to sync up.   Wink

I have backups of the wallet.dat but at some point I messed up years ago and I have multiples with mixed up addresses. I'd hate to lose this much btc though, so I'll try anything. That's what I get for not trusting an offline hardware wallet. Ugh.

If you are refering to electrum:
Bitcoin core is a full node wallet (does store the whole blockchain).
Electrum is a light-weight wallet (does NOT store the blockchain; it asks an online service to get information about addresses related to your wallet).

So, if the only reason you don't want to use electrum is the sync time, i can soothe you. You just have to download the wallet and start it (takes less than 3 minutes).


Trying out what Sellingaccs suggested is probably the fasted way to access/check your coins.



hugeblack
Sr. Member
****
Offline Offline

Activity: 504
Merit: 356


Do it with passion, or not at all.


View Profile WWW
April 13, 2018, 09:25:59 AM
 #6

Problem is, when I send a payment to any address, it becomes unconfirmed for what seems for ever, type says "payment to yourself".
The amount I am trying to send comes out of the total, but it never arrives nor confirms.
Please, someone, correct me if I'm wrong:
I suspect you are trying to send Bitcoin from unconfirmed inputs so your current transactions are not confirmed

Open the debug window ----> console tab  ----> "listaddressgroupings"
then check your addresses in any block explorer

Sellingaccs
Member
**
Offline Offline

Activity: 126
Merit: 49

Ask me for Pools, Nodes and Explorers.


View Profile
April 13, 2018, 09:27:53 AM
 #7

Problem is, when I send a payment to any address, it becomes unconfirmed for what seems for ever, type says "payment to yourself".
The amount I am trying to send comes out of the total, but it never arrives nor confirms.
Please, someone, correct me if I'm wrong:
I suspect you are trying to send Bitcoin from unconfirmed inputs so your current transactions are not confirmed

Open the debug window ----> console tab  ----> "listaddressgroupings"
then check your addresses in any block explorer

Nope. Read the first reply.

So I open up an old wallet.dat file I had stowed away from 2 or so years ago with quite a bit of BTC in it.

Next time please do read the whole post before replying, if they were unconfirmed inputs, they would have already dropped from the mempool.
Unconfirmed transactions are not kept for two years in the mempool, and if they were, they would have still cleared out long time ago.

HCP
Hero Member
*****
Offline Offline

Activity: 784
Merit: 952

<insert witty quote here>


View Profile
April 14, 2018, 04:29:21 AM
 #8

Next time please do read the whole post before replying, if they were unconfirmed inputs, they would have already dropped from the mempool.
Unconfirmed transactions are not kept for two years in the mempool, and if they were, they would have still cleared out long time ago.
They may not be kept in the mempools of any nodes on the network, but they CAN still be kept within the wallet file... It is very possible that a transaction was broadcast and recorded in the users wallet, but the transaction was never actually confirmed.

There have been countless instances on these forums of users attempting to "find" transactions where they received "XX BTC" in a transaction 5 years ago etc... but it is currently "Status: 0/unconfirmed, not in memory pool"

In any case, I don't think this is the cause, as any attempt to spend old unconfirmed coins like these should result in a "missing inputs" error when the user attempted to broadcast a transaction spending the "ghost" coins.

Problem is, when I send a payment to any address, it becomes unconfirmed for what seems for ever, type says "payment to yourself".
The amount I am trying to send comes out of the total, but it never arrives nor confirms.
"Payment to yourself" should only show if all the UTXOs spent in the transaction came from addresses within the wallet, and all the UTXOs generated are assigned to addresses within the wallet. @OP, are you attempting to send to an external address or to your own address?

thedreamer
Legendary
*
Offline Offline

Activity: 1316
Merit: 1002

Go Big or Go Home.....


View Profile
April 14, 2018, 11:35:33 AM
 #9

Next time please do read the whole post before replying, if they were unconfirmed inputs, they would have already dropped from the mempool.
Unconfirmed transactions are not kept for two years in the mempool, and if they were, they would have still cleared out long time ago.
They may not be kept in the mempools of any nodes on the network, but they CAN still be kept within the wallet file... It is very possible that a transaction was broadcast and recorded in the users wallet, but the transaction was never actually confirmed.

There have been countless instances on these forums of users attempting to "find" transactions where they received "XX BTC" in a transaction 5 years ago etc... but it is currently "Status: 0/unconfirmed, not in memory pool"

In any case, I don't think this is the cause, as any attempt to spend old unconfirmed coins like these should result in a "missing inputs" error when the user attempted to broadcast a transaction spending the "ghost" coins.

Problem is, when I send a payment to any address, it becomes unconfirmed for what seems for ever, type says "payment to yourself".
The amount I am trying to send comes out of the total, but it never arrives nor confirms.
"Payment to yourself" should only show if all the UTXOs spent in the transaction came from addresses within the wallet, and all the UTXOs generated are assigned to addresses within the wallet. @OP, are you attempting to send to an external address or to your own address?

I'm still working on  it, but I think I'm screwed.
I've tried to send to my own, new ones and external addresses and they all do the same.
The wallet has a bunch of addresses on it, including the one which got some solo mining blocks but I'm not sure which one that was since. In the transaction history it just shows the incoming mined btc but not the address.

Crap on a handbasket. 

Go Big or Go Home.
Sellingaccs
Member
**
Offline Offline

Activity: 126
Merit: 49

Ask me for Pools, Nodes and Explorers.


View Profile
April 14, 2018, 12:01:30 PM
 #10

I've tried to send to my own, new ones and external addresses and they all do the same.
The wallet has a bunch of addresses on it, including the one which got some solo mining blocks but I'm not sure which one that was since. In the transaction history it just shows the incoming mined btc but not the address.

Have you already checkedfrom a block explorer, if any of the addresses contain any balance?
I'd just recommend trying out electrum, even on a offline mode if needed. You can figure out the situation within few minutes, and spend the funds (if such funds exist anymore on the address).

If you see any off the transactions, can you possibly copy the txid and search it with Chain.so for example?

LoyceV
Legendary
*
Online Online

Activity: 1302
Merit: 2264


Self-made Legendary!


View Profile WWW
April 14, 2018, 07:36:37 PM
 #11

I'm still working on  it, but I think I'm screwed.
I've tried to send to my own, new ones and external addresses and they all do the same.
The wallet has a bunch of addresses on it, including the one which got some solo mining blocks but I'm not sure which one that was since. In the transaction history it just shows the incoming mined btc but not the address.
Are you sure it's Bitcoin and not altcoins? I'm asking, because many of the similar threads on this board turned out to have a wallet.dat created by some altcoin.

If you really do have solo mined blocks, you're looking at enough money to contact a specialist if needed. Someone like Dave, but be very careful who you trust.

bob123
Hero Member
*****
Offline Offline

Activity: 742
Merit: 698



View Profile WWW
April 15, 2018, 12:20:58 PM
 #12

The wallet has a bunch of addresses on it, including the one which got some solo mining blocks but I'm not sure which one that was since. In the transaction history it just shows the incoming mined btc but not the address.

When did you solo mine? Are you sure you were mining bitcoins?
Solo mining is kind of impossible for a few years now.



I'd just recommend trying out electrum, even on a offline mode if needed. You can figure out the situation within few minutes, and spend the funds (if such funds exist anymore on the address).

Using electrum on an offline machine won't help since electrum relies on an internet connection to get the status of transactions/addresses of the wallet.
Without an internet connection you won't be able to look up wether funds are available.

thedreamer
Legendary
*
Offline Offline

Activity: 1316
Merit: 1002

Go Big or Go Home.....


View Profile
April 15, 2018, 03:06:32 PM
 #13

The wallet has a bunch of addresses on it, including the one which got some solo mining blocks but I'm not sure which one that was since. In the transaction history it just shows the incoming mined btc but not the address.

When did you solo mine? Are you sure you were mining bitcoins?
Solo mining is kind of impossible for a few years now.



I'd just recommend trying out electrum, even on a offline mode if needed. You can figure out the situation within few minutes, and spend the funds (if such funds exist anymore on the address).

Using electrum on an offline machine won't help since electrum relies on an internet connection to get the status of transactions/addresses of the wallet.
Without an internet connection you won't be able to look up wether funds are available.

It was back in '16 and yes solo mining was MUCH easier then using my own and rented hash.  Cheesy
I'm doing the manual import thing now from the wallet, although now I'm getting crashes from the wallet itself.
I started the sync of another wallet on another PC and hope to switch the wallet to it once it finishes in about a week. LOL

Do they have any updated repositories for the block chain still on the net?

Go Big or Go Home.
bob123
Hero Member
*****
Offline Offline

Activity: 742
Merit: 698



View Profile WWW
April 16, 2018, 06:38:56 AM
 #14

I'm doing the manual import thing now from the wallet, although now I'm getting crashes from the wallet itself.
I started the sync of another wallet on another PC and hope to switch the wallet to it once it finishes in about a week. LOL

The crashes might be due to your wallet.dat being an old version (wallet also from 2016?).
You might try to start core with the -upgradewallet command.
But make sure to make a backup of your wallet.dat before messing around with it!

I doubt it will work on another PC. But instead of downloading/syncing the whole blockchain from scratch again, you might also try to just move the blockfiles
to your new PC. This will reduce the time it takes, since core then only needs to verify those blocks, instead of downloading them all over again.



Do they have any updated repositories for the block chain still on the net?

I am not aware of such a repository. But moving the files manually to your second PC is the better/faster way.

HCP
Hero Member
*****
Offline Offline

Activity: 784
Merit: 952

<insert witty quote here>


View Profile
April 16, 2018, 09:53:18 PM
 #15

Do they have any updated repositories for the block chain still on the net?
I believe this was pretty much abandoned since the performance updates to Bitcon Core actually made it sync from scratch faster than you could download and use a bootstrap.dat. I believe this occurred around version 0.14

thedreamer
Legendary
*
Offline Offline

Activity: 1316
Merit: 1002

Go Big or Go Home.....


View Profile
April 16, 2018, 11:28:24 PM
 #16

Well, I'm hozed and so is about 36.27BTC with it. Ugh..

The wallet/dat file keep saying it's corrupt and crashing the bitcoin wallet, I tried it on 3 different pc's and installs.

LOL.. Guess at least I can laugh about it.. :while crying inside:. ROFL..

Go Big or Go Home.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1582
Merit: 1751


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
April 17, 2018, 02:32:23 AM
 #17

I believe this was pretty much abandoned since the performance updates to Bitcon Core actually made it sync from scratch faster than you could download and use a bootstrap.dat. I believe this occurred around version 0.14
No the change happened with version 0.10.

Well, I'm hozed and so is about 36.27BTC with it. Ugh..

The wallet/dat file keep saying it's corrupt and crashing the bitcoin wallet, I tried it on 3 different pc's and installs.
Changing the install and computer is not going to fix the fact that the wallet file itself is corrupted. That has nothing to do with the software.

First make a backup of your wallet.dat file. Then try starting Bitcoin Core with the -salvagewallet option. Please also post the contents of your db.log and debug.log files so that we can see what kind of corruption is occurring (sometimes this information is logged).

thedreamer
Legendary
*
Offline Offline

Activity: 1316
Merit: 1002

Go Big or Go Home.....


View Profile
April 17, 2018, 03:47:05 AM
 #18

I'm starting over from a clean backup of the wallet.dat file before I tried to recover it and mess with it on a new bitcoin installation and sync.
Hopefully it'll work at least where I can get into it. I can't even open it now.

Keepin' on truckin'... Cheesy

Go Big or Go Home.
great0ne
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
April 18, 2018, 09:46:08 PM
 #19

Inform us what happens after you try -salvagewallet.

There is python project call pywallet: https://github.com/jackjack-jj/pywallet
Can use that tool to try and recover data if -salvagewallet don't work.

Plz remember make few backup and store on few devices before u attempt anything.
bob123
Hero Member
*****
Offline Offline

Activity: 742
Merit: 698



View Profile WWW
April 20, 2018, 11:19:36 AM
 #20

There is python project call pywallet: https://github.com/jackjack-jj/pywallet
Can use that tool to try and recover data if -salvagewallet don't work.

I don't think pywallet will do the trick here.
This project hasn't got an update since 4 years now.

It doesn't work properly with new wallet files since there are parameters inside which are not understood by this tool.

Pages: [1] 2 »  All
  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!