Bitcoin Forum
May 24, 2024, 11:54:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Old wallet.dat file loaded with old unconfirmed transaction  (Read 775 times)
tsvekric (OP)
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
October 11, 2017, 06:38:44 PM
 #1

In going through some old backups I found an old bitcoin wallet.dat file and decided to download Bitcoin Core to load it and see if anything was in it, or to just see if there were old transactions listed that I could daydream about having now

Opened the file, and oddly there was a pending received transaction from December 2013 that is sitting unconfirmed. This transaction showed up immediately before I downloaded any of the blockchain yet (waiting on that to finish, estimated time ~week...)
If I search the received address or the transaction ID I find nothing.
Also, I have no recollection of where this transaction could have come from and have not used that receiving address for anything else.

Couple questions:

-If this isn't showing up anywhere (blockchain.info, for example) where did it come from? Could it be an intentional double-spend just to mess with me?
-can this transaction be rebroadcasted if the network has no record of it?
-do I need to have the entire blockchain downloaded to get my client to rebroadcast this transaction?

Hey TeKillaSunRise, check it out

-qwe2323
jc12345
Legendary
*
Offline Offline

Activity: 1638
Merit: 1013


View Profile
October 11, 2017, 06:50:29 PM
 #2

You can just dump your wallet to get the private keys and don't have to wait for the sync to complete. Then import the private key into an online type wallet or another wallet where the blockchain is online. If there is a balance it will show up.
tsvekric (OP)
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
October 11, 2017, 07:05:13 PM
 #3

You can just dump your wallet to get the private keys and don't have to wait for the sync to complete. Then import the private key into an online type wallet or another wallet where the blockchain is online. If there is a balance it will show up.

I did that and it showed 0 balance. I already know that the network doesn't seem to see this transaction. So where did this unconfirmed transaction come from on my client's end?

Hey TeKillaSunRise, check it out

-qwe2323
aleksej996
Sr. Member
****
Offline Offline

Activity: 490
Merit: 389


Do not trust the government


View Profile
October 11, 2017, 08:12:39 PM
 #4

Transactions are kept in a wallet file along with the private keys for addresses. Your wallet.dat simply stored it for a very long time. As I assume you want the coins and want that transaction to go through, you could rebroadcast it and if the fee isn't high enough, use the CPFP method to get it confirmed.

You should go to Help->Debug Window->Console and type
Code:
gettransaction "<txid>"
, that should give you the hex that you can push to any online service like this one https://blockexplorer.com/tx/send.
tsvekric (OP)
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
October 11, 2017, 09:45:07 PM
 #5

Transactions are kept in a wallet file along with the private keys for addresses. Your wallet.dat simply stored it for a very long time. As I assume you want the coins and want that transaction to go through, you could rebroadcast it and if the fee isn't high enough, use the CPFP method to get it confirmed.

You should go to Help->Debug Window->Console and type
Code:
gettransaction "<txid>"
, that should give you the hex that you can push to any online service like this one https://blockexplorer.com/tx/send.

So I tried blockexplorer and it returned an error: "Missing inputs. Code:-25
blockchain.info gives me "missing parents for <tx> while inserting: <other number?>

Could it be that this was spent from another unconfirmed transaction and since that one didn't confirm this one wouldn't show up? Or for some other reason was pruned by the network?

Hey TeKillaSunRise, check it out

-qwe2323
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 11, 2017, 10:06:19 PM
 #6

Transactions are kept in a wallet file along with the private keys for addresses. Your wallet.dat simply stored it for a very long time. As I assume you want the coins and want that transaction to go through, you could rebroadcast it and if the fee isn't high enough, use the CPFP method to get it confirmed.

You should go to Help->Debug Window->Console and type
Code:
gettransaction "<txid>"
, that should give you the hex that you can push to any online service like this one https://blockexplorer.com/tx/send.

So I tried blockexplorer and it returned an error: "Missing inputs. Code:-25
blockchain.info gives me "missing parents for <tx> while inserting: <other number?>

Could it be that this was spent from another unconfirmed transaction and since that one didn't confirm this one wouldn't show up? Or for some other reason was pruned by the network?

Any chance you can post the address here? Altough it probably won't be in a block explorer if it has been unconfirmed for thislong as they're normally cleared fairly quickly.

I think that the transaction you got probably got a double spend rom it also as that wasn't a bad time for transaction confimations even without a fee (as far as others say anyway).
tsvekric (OP)
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
October 11, 2017, 10:09:45 PM
 #7

Transactions are kept in a wallet file along with the private keys for addresses. Your wallet.dat simply stored it for a very long time. As I assume you want the coins and want that transaction to go through, you could rebroadcast it and if the fee isn't high enough, use the CPFP method to get it confirmed.

You should go to Help->Debug Window->Console and type
Code:
gettransaction "<txid>"
, that should give you the hex that you can push to any online service like this one https://blockexplorer.com/tx/send.

So I tried blockexplorer and it returned an error: "Missing inputs. Code:-25
blockchain.info gives me "missing parents for <tx> while inserting: <other number?>

Could it be that this was spent from another unconfirmed transaction and since that one didn't confirm this one wouldn't show up? Or for some other reason was pruned by the network?

Any chance you can post the address here? Altough it probably won't be in a block explorer if it has been unconfirmed for thislong as they're normally cleared fairly quickly.

I think that the transaction you got probably got a double spend rom it also as that wasn't a bad time for transaction confimations even without a fee (as far as others say anyway).

Receiving address is 1BAGeeR428SMRqGyXrsXzAYiFWC7SuK21Y txid is 623c4c933a0a0f93567bfaa60181f9df4e2e995a505bea9891d9e012edbce7c5
amount sent was exactly 1BTC

Hey TeKillaSunRise, check it out

-qwe2323
tsvekric (OP)
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
October 12, 2017, 12:09:52 AM
 #8

Either way as this (probably?) doesn't have any fees with it and since it is old and no other nodes I've checked see it, should I run as my own full node and rebroadcast and attempt to CPFP? I'm not quite familiar with this stuff, but if this was a valid transaction and the funds are still sitting there this seems like the only option, yes?

Hey TeKillaSunRise, check it out

-qwe2323
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
October 12, 2017, 06:56:39 AM
 #9

So I tried blockexplorer and it returned an error: "Missing inputs. Code:-25
blockchain.info gives me "missing parents for <tx> while inserting: <other number?>
This means that at least one (possibly all) of the inputs to your "unconfirmed transaction" have already been spent in another transaction, so they are no longer in the UTXO set... they effectively don't exist anymore. This is not surprising given that 4 years has passed since that transaction was originally broadcast.

So basically, there is no way for you to rebroadcast this transaction to the network. Those coins are gone.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
October 12, 2017, 08:04:24 AM
 #10

Couple questions:

-If this isn't showing up anywhere (blockchain.info, for example) where did it come from? Could it be an intentional double-spend just to mess with me?
If you got the wallet.dat from somewhere else, someone could have modified the wallet.dat to display transactions that has never existed before.
-can this transaction be rebroadcasted if the network has no record of it?
Yes. However, if your transaction does not reference to an unspent output, the network will not relay the transaction at all.
-do I need to have the entire blockchain downloaded to get my client to rebroadcast this transaction?
No. As long as the nodes can see and verify the validity of the transaction (inputs, signature etc), you can rebroadcast it using any online tool.
Either way as this (probably?) doesn't have any fees with it and since it is old and no other nodes I've checked see it, should I run as my own full node and rebroadcast and attempt to CPFP? I'm not quite familiar with this stuff, but if this was a valid transaction and the funds are still sitting there this seems like the only option, yes?
No. You cannot use CPFP if the transaction cannot be found, there is simply no transaction for your CPFP transaction to reference to.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 12, 2017, 02:13:50 PM
 #11

Transactions are kept in a wallet file along with the private keys for addresses. Your wallet.dat simply stored it for a very long time. As I assume you want the coins and want that transaction to go through, you could rebroadcast it and if the fee isn't high enough, use the CPFP method to get it confirmed.

You should go to Help->Debug Window->Console and type
Code:
gettransaction "<txid>"
, that should give you the hex that you can push to any online service like this one https://blockexplorer.com/tx/send.

So I tried blockexplorer and it returned an error: "Missing inputs. Code:-25
blockchain.info gives me "missing parents for <tx> while inserting: <other number?>

Could it be that this was spent from another unconfirmed transaction and since that one didn't confirm this one wouldn't show up? Or for some other reason was pruned by the network?

Any chance you can post the address here? Altough it probably won't be in a block explorer if it has been unconfirmed for thislong as they're normally cleared fairly quickly.

I think that the transaction you got probably got a double spend rom it also as that wasn't a bad time for transaction confimations even without a fee (as far as others say anyway).

Receiving address is 1BAGeeR428SMRqGyXrsXzAYiFWC7SuK21Y txid is 623c4c933a0a0f93567bfaa60181f9df4e2e995a505bea9891d9e012edbce7c5
amount sent was exactly 1BTC

Can you right click it and get the input scripts/sending address.
If you specify the sending address and the date then I'll see if that has been spent or not. If you could get the input scripts as well, they would be even more helpful.
tsvekric (OP)
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
October 12, 2017, 04:42:25 PM
 #12

Transactions are kept in a wallet file along with the private keys for addresses. Your wallet.dat simply stored it for a very long time. As I assume you want the coins and want that transaction to go through, you could rebroadcast it and if the fee isn't high enough, use the CPFP method to get it confirmed.

You should go to Help->Debug Window->Console and type
Code:
gettransaction "<txid>"
, that should give you the hex that you can push to any online service like this one https://blockexplorer.com/tx/send.

So I tried blockexplorer and it returned an error: "Missing inputs. Code:-25
blockchain.info gives me "missing parents for <tx> while inserting: <other number?>

Could it be that this was spent from another unconfirmed transaction and since that one didn't confirm this one wouldn't show up? Or for some other reason was pruned by the network?

Any chance you can post the address here? Altough it probably won't be in a block explorer if it has been unconfirmed for thislong as they're normally cleared fairly quickly.

I think that the transaction you got probably got a double spend rom it also as that wasn't a bad time for transaction confimations even without a fee (as far as others say anyway).

Receiving address is 1BAGeeR428SMRqGyXrsXzAYiFWC7SuK21Y txid is 623c4c933a0a0f93567bfaa60181f9df4e2e995a505bea9891d9e012edbce7c5
amount sent was exactly 1BTC

Can you right click it and get the input scripts/sending address.
If you specify the sending address and the date then I'll see if that has been spent or not. If you could get the input scripts as well, they would be even more helpful.



It doesn't seem to see the inputs unless I'm missing something.
I think this is probably right, unfortunately:

This means that at least one (possibly all) of the inputs to your "unconfirmed transaction" have already been spent in another transaction, so they are no longer in the UTXO set... they effectively don't exist anymore. This is not surprising given that 4 years has passed since that transaction was originally broadcast.

So basically, there is no way for you to rebroadcast this transaction to the network. Those coins are gone.

Which would make sense since I have no idea where this transaction came from.

Is there a chance though that this is just an 'orphaned transaction'? (Not a transaction in an orphaned block)
I can't seem to find a lot of info about those since it's hard to filter out the posts about blocks.

Hey TeKillaSunRise, check it out

-qwe2323
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
October 12, 2017, 10:37:45 PM
 #13

Is there a chance though that this is just an 'orphaned transaction'? (Not a transaction in an orphaned block)
I can't seem to find a lot of info about those since it's hard to filter out the posts about blocks.
Transactions cannot be orphaned. There are two possible explanations:
1) The wallet.dat was modified to display transactions that does not exist or is invalid.
2) The transaction had an extremely low fee and it was forgotten by the network and the inputs were spent in another different transaction.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
SM23031997
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 582


View Profile
October 12, 2017, 11:34:19 PM
 #14

you should not waste the time on downloading the 100GB data, you can dump your wallet and check the all the addresses for balance.
Try this command, it will help you to convert wallet into human readable form, to do that
Open Bitcoin-Qt and click help - Debug - console and use code
Code:
dumpwallet c:\walletdump.txt

If it is Encrypted then you can use this command to decrypt it for 3600 sec(6 min) then try the above command.
Code:
walletpassphrase yourpasswordhere 3600


After that Download a lightweight wallet like electrum https://electrum.org/

Click File --> New/Restore --> proceed further --> In place of Standard Wallet select Watch Bitcoin Addresses --> Paste all the addresses there

It will take you time to sort the file, you can use notepad++ or other applications to sort it.
After that, you are able to see all the addresses and their balance in Addresses tab. If not available then you can use CTRL + A or simply click the wallet dropdown and select addresses.

Let me know if you need further help.
sanbashiyi
Legendary
*
Offline Offline

Activity: 895
Merit: 1001


View Profile
October 13, 2017, 04:35:51 AM
 #15

you should not waste the time on downloading the 100GB data, you can dump your wallet and check the all the addresses for balance.
Try this command, it will help you to convert wallet into human readable form, to do that
Open Bitcoin-Qt and click help - Debug - console and use code
Code:
dumpwallet c:\walletdump.txt

If it is Encrypted then you can use this command to decrypt it for 3600 sec(6 min) then try the above command.
Code:
walletpassphrase yourpasswordhere 3600


After that Download a lightweight wallet like electrum https://electrum.org/

Click File --> New/Restore --> proceed further --> In place of Standard Wallet select Watch Bitcoin Addresses --> Paste all the addresses there

It will take you time to sort the file, you can use notepad++ or other applications to sort it.
After that, you are able to see all the addresses and their balance in Addresses tab. If not available then you can use CTRL + A or simply click the wallet dropdown and select addresses.

Let me know if you need further help.
you guys can use this way , that would be the best useful way to recover your bitcoin , just get your privatekey and Imported into the safety wallet

i suggest you can use blockchain.info online wallet  once you recover you bitcoin , turn it to other safe place

 
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!