Bitcoin Forum
April 16, 2024, 10:51:40 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Verify old wallet  (Read 183 times)
bgst2 (OP)
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
1713264700
Hero Member
*
Offline Offline

Posts: 1713264700

View Profile Personal Message (Offline)

Ignore
1713264700
Reply with quote  #2

1713264700
Report to moderator
1713264700
Hero Member
*
Offline Offline

Posts: 1713264700

View Profile Personal Message (Offline)

Ignore
1713264700
Reply with quote  #2

1713264700
Report to moderator
1713264700
Hero Member
*
Offline Offline

Posts: 1713264700

View Profile Personal Message (Offline)

Ignore
1713264700
Reply with quote  #2

1713264700
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713264700
Hero Member
*
Offline Offline

Posts: 1713264700

View Profile Personal Message (Offline)

Ignore
1713264700
Reply with quote  #2

1713264700
Report to moderator
1713264700
Hero Member
*
Offline Offline

Posts: 1713264700

View Profile Personal Message (Offline)

Ignore
1713264700
Reply with quote  #2

1713264700
Report to moderator
1713264700
Hero Member
*
Offline Offline

Posts: 1713264700

View Profile Personal Message (Offline)

Ignore
1713264700
Reply with quote  #2

1713264700
Report to moderator
LoyceV
Legendary
*
Online Online

Activity: 3276
Merit: 16482


Thick-Skinned Gang Leader and Golden Feather 2021


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.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

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 (OP)
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: 2954
Merit: 4158



View Profile
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.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
LoyceV
Legendary
*
Online Online

Activity: 3276
Merit: 16482


Thick-Skinned Gang Leader and Golden Feather 2021


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.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

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 (OP)
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!