Bitcoin Forum
May 06, 2024, 01:57:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Upgrading to Bitcoin Core 0.16  (Read 194 times)
Bacchusm (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
May 02, 2018, 10:33:23 PM
 #1

I used to use a old Bitcoin Core and it crash.  I kept the wallet.dat file.  It is only 88 Bytes.  

So I d/l the new Bitcoin Core 0.16.0 and
when I try to replace the wallet.bat in .16 it crash with

file: wallet/wallet.cpp, Line 550

Expression: copyFrom && "Oldest wallet transaction in range assumed to have been found."

then it says

'Abort', retry ignore.

Any help would be appreciated.

1. Ignore crash the programs
2. Retry 'this Application has requested the Runtime to Terminate it in an unusual way'  Contact support.


Thank

Bacchusm
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714960674
Hero Member
*
Offline Offline

Posts: 1714960674

View Profile Personal Message (Offline)

Ignore
1714960674
Reply with quote  #2

1714960674
Report to moderator
1714960674
Hero Member
*
Offline Offline

Posts: 1714960674

View Profile Personal Message (Offline)

Ignore
1714960674
Reply with quote  #2

1714960674
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
May 03, 2018, 03:08:55 AM
 #2

I used to use a old Bitcoin Core and it crash.  I kept the wallet.dat file.  It is only 88 Bytes.  
Your wallet.dat file is most definitely corrupt and does not contain any key data if it is only 88 bytes. An individual key is much longer than 88 bytes. The keys don't even exist in this file so there really isn't anything for you to even attempt to recover.

Bacchusm (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
May 03, 2018, 07:17:33 AM
 #3

I used to use a old Bitcoin Core and it crash.  I kept the wallet.dat file.  It is only 88 Bytes.  88.0 KB (90,112 bytes)
Your wallet.dat file is most definitely corrupt and does not contain any key data if it is only 88 bytes. An individual key is much longer than 88 bytes. The keys don't even exist in this file so there really isn't anything for you to even attempt to recover.



Sorry this is the size of the file.


88.0 KB (90,112 bytes)

Thanks
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
May 03, 2018, 09:59:28 AM
 #4

I think 88 kb are still too small for a wallet.dat file. I guess the correct size would be around ~200kb.
You might try out pywallet. Even tho it is no longer maintained it still works pretty well with old wallet files.
Pywallet will try to dump all private keys inside your wallet.dat.

Bacchusm (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
May 04, 2018, 07:07:06 PM
 #5

I think 88 kb are still too small for a wallet.dat file. I guess the correct size would be around ~200kb.
You might try out pywallet. Even tho it is no longer maintained it still works pretty well with old wallet files.
Pywallet will try to dump all private keys inside your wallet.dat.

I tried pywallet and didn't get it working, when trying to figure it out I came across this : wallet-key-tool.  that had a good GUI, so I dumped my wallet.dat , and I can export it to  MultiBit.key, multibit.Wallet or bitcoin-core Dumpwallet.txt   I have exported it to all three.  I like using Bitcoin-Core.  How can I import any of these to it.


Thanks Again!
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
May 04, 2018, 07:46:26 PM
 #6

How can I import any of these to it.


Thanks Again!
The private keys should start with 5, K or L.
Open bitcoin core
Go to Help -> Debug -> Console
Unlock your wallet.dat (if there's a passphrase)
Code:
 walletpassphrase passphrase 600
Where "passphrase" is your password .
Then
Code:
importprivkey "5Privatekey"
Replace "5privatekey" with your private key.
Bacchusm (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
May 04, 2018, 07:58:22 PM
 #7

How can I import any of these to it.


Thanks Again!
The private keys should start with 5, K or L.
Open bitcoin core
Go to Help -> Debug -> Console
Unlock your wallet.dat (if there's a passphrase)
Code:
 walletpassphrase passphrase 600
Where "passphrase" is your password .
Then
Code:
importprivkey "5Privatekey"
Replace "5privatekey" with your private key.

The Importprivkey,  there are about 100 lines in the txt file all starting with K or L   Do I start at top or bottom?  Sorry , thank you for answering so quick.
Aura
Sr. Member
****
Offline Offline

Activity: 518
Merit: 268


View Profile
May 04, 2018, 09:02:39 PM
 #8


The Importprivkey,  there are about 100 lines in the txt file all starting with K or L   Do I start at top or bottom?  Sorry , thank you for answering so quick.
It should be 51 or 52 characters long.
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
May 04, 2018, 10:28:34 PM
 #9


The Importprivkey,  there are about 100 lines in the txt file all starting with K or L   Do I start at top or bottom?  Sorry , thank you for answering so quick.
You can import all of them at once by following the instructions here
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 05, 2018, 08:29:11 AM
 #10

Start at top or bottom of the list, it isn't that important... the import thing if you're going to import multiple keys at once, is to use the "false" parameter after every importprivkey command except the last one... like this:
Code:
importprivkey "KpriVatEyKeyNumBer1" "" false
importprivkey "KpriVatEyKeyNumBer2" "" false
importprivkey "LpriVatEyKeyNumBer3" "" false
importprivkey "KpriVatEyKeyNumBer4" "" false
...
importprivkey "LtheLastPrivKeyInTheList" ""
Note: format of command is importprivkey <bitcoinPrivKey> <label> <rescan?>

Adding the false parameter stops Bitcoin Core from automatically rescanning the blockchain for transactions related to the newly imported key... this can take quite a few minutes (if not hours) to complete, so you only want to do it after you've imported the last key... otherwise you'll have the long wait after EVERY importprivkey!

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!