Bitcoin Forum
January 21, 2019, 06:50:31 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Verify old wallet  (Read 87 times)
bgst2
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 10, 2018, 12:05:48 PM
 #1

Hello I have like 0.1 bitcoin in a wallet.dat on a usb drive. I mined the bitcoins myself back in the beginning so the wallet might be in an old format.

I want to verify that the file is not corrupt. What would be the easiest/safest way to do that?

I don't want to spend any bitcoins or mess with the file, it is just that I'm about to lose some old backups so I want to make sure that my coins are safe.

Thanks
Benjamin
1548053431
Hero Member
*
Offline Offline

Posts: 1548053431

View Profile Personal Message (Offline)

Ignore
1548053431
Reply with quote  #2

1548053431
Report to moderator
1548053431
Hero Member
*
Offline Offline

Posts: 1548053431

View Profile Personal Message (Offline)

Ignore
1548053431
Reply with quote  #2

1548053431
Report to moderator
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1548053431
Hero Member
*
Offline Offline

Posts: 1548053431

View Profile Personal Message (Offline)

Ignore
1548053431
Reply with quote  #2

1548053431
Report to moderator
1548053431
Hero Member
*
Offline Offline

Posts: 1548053431

View Profile Personal Message (Offline)

Ignore
1548053431
Reply with quote  #2

1548053431
Report to moderator
LoyceV
Legendary
*
Offline Offline

Activity: 1372
Merit: 2641


Self-made Legendary!


View Profile WWW
April 10, 2018, 12:12:28 PM
 #2

Install Bitcoin Core, and see if it can open a copy of your wallet.dat. It doesn't necessarily need to download the full 175 GB blockchain to open your file.
For long term storage, I would recommend switching to a paper wallet instead of USB-sticks.

Xynerise
Sr. Member
****
Offline Offline

Activity: 280
Merit: 282

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
April 10, 2018, 02:42:57 PM
 #3

Like LoyceV says, first make a copy of the wallet.dat file, then download bitcoin Core.
Swap the default wallet.dat file with your own in the data directory.
Open the debug window
Open the console tab
Then type
Code:
listaddressgroupings
to get a list of addresses controlled by the wallet
You can check the balances of the addresses in any block explorer.
If you want to import the private key to an SPV wallet then unlock the wallet, and type
Code:
dumpprivkey <address>
bgst2
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 10, 2018, 02:55:26 PM
 #4

Thanks!

So if I make a copy of my old wallet and mess around with that (import convert etc.) my old copy will still hold my bitcoins right? I mean as long as I dont spend any bitcoins it doesn't matter what I do with the copy right? (I can delete the copy after I verify the bitcoins?)
ranochigo
Legendary
*
Offline Offline

Activity: 1624
Merit: 1124

Somewhat inactive.


View Profile WWW
April 10, 2018, 03:02:49 PM
 #5

So if I make a copy of my old wallet and mess around with that (import convert etc.) my old copy will still hold my bitcoins right? I mean as long as I dont spend any bitcoins it doesn't matter what I do with the copy right? (I can delete the copy after I verify the bitcoins?)
Yes. The copy of your wallet.dat will always have the same private key as the other wallet.dat. Your wallet files would never get invalidated, strictly speaking. If you don't touch it, your Bitcoins will not be moved.

LoyceV
Legendary
*
Offline Offline

Activity: 1372
Merit: 2641


Self-made Legendary!


View Profile WWW
April 10, 2018, 03:05:25 PM
 #6

So if I make a copy of my old wallet and mess around with that (import convert etc.) my old copy will still hold my bitcoins right?
Correct.

Quote
I mean as long as I dont spend any bitcoins it doesn't matter what I do with the copy right?
Yes, but make sure you keep every copy safe. To state the obvious: don't use it on an untrusted computer.

Quote
(I can delete the copy after I verify the bitcoins?)
Yes, but keep in mind USB-sticks don't last forever. I wouldn't trust just one copy, but keep a few.

Xynerise
Sr. Member
****
Offline Offline

Activity: 280
Merit: 282

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
April 10, 2018, 03:05:39 PM
 #7

Thanks!

So if I make a copy of my old wallet and mess around with that (import convert etc.) my old copy will still hold my bitcoins right? I mean as long as I dont spend any bitcoins it doesn't matter what I do with the copy right? (I can delete the copy after I verify the bitcoins?)
If you're going to mess around with it then do it in a secure environment.
If any of the keys inadvertently leak then you 'd lose the bitcoins associated with that private key.
bgst2
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 10, 2018, 10:38:06 PM
 #8

Thanks for the help. I know what to do now.
Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
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!