Bitcoin Forum
November 10, 2024, 03:27:13 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: pywallet command???  (Read 394 times)
leftslider (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 11, 2018, 01:14:22 PM
 #1

I am trying to recover corrupted wallet.dat but I have no idea how to use pywallet.

I am using windows 2007.

Downloaded pywallet.py and python.

corrupted files and pywallet are in d: drive on background

Anybody can help me about command so I can at least try pywallet?


APPRECIATED!!!
joniboini
Legendary
*
Offline Offline

Activity: 2366
Merit: 1806



View Profile WWW
April 12, 2018, 03:05:30 PM
 #2

Have you tried this the tutorial/thread here?
https://walletrecovery.info/how-to-recover-your-corrupt-or-deleted-bitcoin-core-wallet/
https://bitcointalk.org/index.php?topic=2497513.0

Btw, one more, have you tried the salvage command from bitcoin-qt?

▄▄███████████████████▄▄
▄███████████████████████▄
████████▀░░░░░░░▀████████
███████░░░░░░░░░░░███████
███████░░░░░░░░░░░███████
██████▀░░░░░░░░░░░▀██████
██████▄░░░░░▄███▄░▄██████
██████████▀▀█████████████
████▀▄██▀░░░░▀▀▀░▀██▄▀███
███░░▀░░░░░░░░░░░░░▀░░███
████▄▄░░░░▄███▄░░░░▄▄████
▀███████████████████████▀
▀▀███████████████████▀▀
 
 CHIPS.GG 
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
███▀░▄░▀▀▀▀▀░▄░▀███
▄███
░▄▀░░░░░░░░░▀▄░███▄
▄███░▄░░░▄█████▄░░░▄░███▄
███░▄▀░░░███████░░░▀▄░███
███░█░░░▀▀▀▀▀░░░▀░░░█░███
███░▀▄░▄▀░▄██▄▄░▀▄░▄▀░██
▀███
░▀░▀▄██▀░▀██▄▀░▀░██▀
▀███
░▀▄░░░░░░░░░▄▀░██▀
▀███▄
░▀░▄▄▄▄▄░▀░▄███▀
▀█
███▄▄▄▄▄▄▄████▀
█████████████████████████
▄▄███████▄▄
███
████████████▄
▄█▀▀▀▄
█████████▄▀▀▀█▄
▄██████▀▄▄▄▄▄▀██████▄
▄█████████████▄████████▄
████████▄███████▄████████
█████▄█████████▄██████
██▄▄▀▀▀▀█████▀▀▀▀▄▄██
▀█████████▀▀███████████▀
▀███████████████████▀
██████████████████
▀████▄███▄▄
████▀
████████████████████████
3000+
UNIQUE
GAMES
|
12+
CURRENCIES
ACCEPTED
|
VIP
REWARD
PROGRAM
 
 
  Play Now  
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
April 13, 2018, 03:32:58 AM
 #3

The official pywallet thread is here: https://bitcointalk.org/index.php?topic=34028.0
There is a link to recover wallets in the OP that leads here: https://bitcointalk.org/index.php?topic=38004.0

However, if a simple "dumpwallet" is not working on your wallet.dat file, you'll likely need to put the wallet.dat onto a (small) USB thumbdrive and use recover from there. "Recover" cannot be run on a file, it needs to be run on a device!

Also, if your wallet.dat was created with newer versions of Bitcoin Core (ie. v0.13+), chances are pywallet will output a lot of errors about unrecognised data.

Basic "dumpwallet" goes something like:
Code:
C:\Python27\python pywallet.py --dumpwallet --datadir=D:\directory\with\wallet.dat
So... if you have your files in D:\wallet_recovery your command would be:
Code:
C:\Python27\python pywallet.py --dumpwallet --datadir=D:\wallet_recovery

As mentioned, recovery needs to scan a device... so I recommend a smallish USB drive to save time. The smaller the better.

Assuming you have 1GB thumb drive, mounted as X: and you want the recovered wallet to be put in "D:\recovered_wallet", then your "recover" command would be something like:
Code:
C:\Python27\python pywallet.py --recover --recov_size=1Gio --recov_device=X: --recov_outputdir=D:\recovered_wallet

Change X:, the recov_size, and recov_outputdir as appropriate. "recov_size" should be set to the size of the USB device 1GB = 1Gio, 8GB = 8Gio etc...

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
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!