Bitcoin Forum
November 08, 2024, 07:18:07 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 »
  Print  
Author Topic: Pywallet 2.2: manage your wallet [Update required]  (Read 208210 times)
madmartyk
Legendary
*
Offline Offline

Activity: 2702
Merit: 1030


Yes I am a pirate, 300 years too late!


View Profile
January 28, 2014, 04:05:03 PM
 #381

what is the --otherversion for PPC (peercoin) and TGC (tigercoin) ?
any wiki?

I'm trying to figure out Batcoin & Piratecoin myself.

Gramps
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
January 29, 2014, 12:53:04 PM
Last edit: January 29, 2014, 08:30:58 PM by Gramps
 #382

I am having trouble dumping my wallet. I am running the command
Code:
./pywallet.py --dumpwallet --passphrase=[PASS]
and the output is
Code:
Traceback (most recent call last):
  File "pywallet.py", line 5010, in <module>
    db_env = create_env(db_dir)
  File "pywallet.py", line 1269, in create_env
    r = db_env.open(db_dir, (DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN|DB_THREAD|DB_RECOVER))
bsddb.db.DBRunRecoveryError: (-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery -- unable to join the environment')

Does anyone know what to do?

UPDATE: I deleted everything except the wallet.dat in my bitcoin directory, and now when I run the command the output is
Code:
Segmentation fault: 11

I am running Mac OS 10.7. Has anyone seen this problem before?
madmartyk
Legendary
*
Offline Offline

Activity: 2702
Merit: 1030


Yes I am a pirate, 300 years too late!


View Profile
January 30, 2014, 02:50:33 PM
 #383

OK, I had a corrupt wallet.  Dumped it and it says 80 keys (seems a bit low), import the keys to a blank wallet and my solo mined coins are there but not my pool mined ones.  I had a second address setup for the pool mined coins.  When I try to add it back I get a "Not Yours".  Rescanning the bad HD, maybe the recover on the wallet was bad.  Any thoughts on why it wouldn't recover a 2nd address from the Private Keys?

Aleksey73
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 11, 2014, 01:18:33 AM
 #384

Hello. Please tell me whether it is possible to edit your program DOGE wallet? Need to delete 0/unconfirmed transactions.
Booth21209
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 20, 2014, 04:41:06 AM
Last edit: February 20, 2014, 12:30:54 PM by Booth21209
 #385

Hello JackJack,

Sorry if there is a better way to go about asking you for help, but.......

For some reason, whenever I attempt to run pywallet --recover (with all the other parameters, and the correct passphrase for the encrypted wallet) in my %appdata% folder, it tells me that it pops out an "Error (13, Permission Denied)" and tells me it can't access any of the directories on my HDD.


Although, if I point it directly towards one of the recovered wallet.dat files that I retrieved using Recuva (they had been deleted on Feb.7th due to a system refresh that did not create a windows.old folder for me to restore my Appdata for reasons unbeknownst), no matter what --passphrase I use, it tells me that it was correct and that 0 keys were found.


I was forced to use the recovery option in the first place because I was not able to dump the private keys from the recovered wallets (it told me that Bitcoin-qt was running and that I needed to shut it down, even though I have Litecoins), although I could recover the keys fine from a brand new wallet. So I assumed that that meant the wallets are damaged beyond repair and I just need to let the recovery brute force the keys. The problem is, though, that pywallet somehow is not being given access, even though I am the admin, and have even given the ownership of the entire c: drive to my user account. I input the recovery parameters for pywallet according to what you posted earlier (adjusting the recover size from 30gb, putting in my User directory, and adding --otherversion=48 because these are litecoins) to no avail.


the strangest thing about all of this is when I used --dumpwallet, pywallet had to have been able to gain access to my C:\ drives otherwise  it wouldn't have been able to extract any keys from the fresh wallet.dat that I created to make sure that pywallet was working.


Sorry for the wall of text, I hope this is sufficient enough, the only debug info I have gotten is that it thought that bitcoin-qt was still on, and that it cannot access my C:\ drive.
madmartyk
Legendary
*
Offline Offline

Activity: 2702
Merit: 1030


Yes I am a pirate, 300 years too late!


View Profile
February 20, 2014, 12:32:50 PM
 #386

I used pywallet to recover my wallets for piratecoin, batcoin, klondikecoin and a bunch others.  I had a bunch of corrupt wallets, what worked best for me is to format a small thumb drive.  Drop the wallet file on it, and scan the drive for keys.  Long process, but it worked like a champ.  Wrote a batch file to put the private kays back into a new wallet and everything was back. 
Got to thank JackJack for providing this tool, and the millions of threads around the internet for different ways of using it!!

Booth21209
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 21, 2014, 02:43:44 AM
 #387

So I did that and it gave me access to the f: drive (my thumb drive), but if I directed it to a specific folder in f:, it said permission denied again.

Scanning the whole drive worked, though, and returned 0 keys. Even when I gave it the correct passphrase for the encrypted.

Although, I still have not given up hope.

When I was looking at the hex for the file, I found alot of lines that begin and end with the same series of bytes.

If these are my encrypted wallet keys (all keys begin and end with the same bytes, right?), would I be able to decrypt them with my passphrase?

madmartyk
Legendary
*
Offline Offline

Activity: 2702
Merit: 1030


Yes I am a pirate, 300 years too late!


View Profile
February 21, 2014, 12:09:06 PM
 #388

pywallet.py --dumpwallet --datadir g:\  --wallet=wallet.dat --recover --recov_device=g:\wallet.dat --recov_size=40Gio --recov_outputdir=c:\recover

This is what I used, if you want a file with the keys (what I did) add a >> dump.text at the end.  You will see nothing on the screen but you have to enter newpassphrase, oldpassphrase, enter
It will scan the drive (make sure the ##Gio is bigger than the drive) and dump any keys it finds to the text file.  You can then take the private keys and import them into a new wallet.

jubalix
Legendary
*
Offline Offline

Activity: 2632
Merit: 1023


View Profile WWW
February 22, 2014, 07:51:34 AM
Last edit: February 24, 2014, 12:52:57 PM by jubalix
 #389

Hi I am seeking some help

What is the version for LTC addresses?

I found out the 55 is the volume number for PPC.

Also how do you point the pywallet at different block chains.

when you want to check and address e.g. LTC and PPC.

How can you make a transaction with pywallet can this be done?

Thank you in advance.
I think

DogeCoin is volume 30
LTC is volume 48
PPC is volume 55

Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
drakoin
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 26, 2014, 06:04:35 AM
 #390

Code:
Transaction too large
Code:
Error: Transaction creation failed

Is there an elegant way in your pywallet to solve that?

I have not yet used pywallet - perhaps that this happens to me means that I should start to look into it now?  :-)


More details there:
https://bitcointalk.org/index.php?topic=397916.msg5378737#msg5378737

It must be a well known problem.

I guess I understand where it comes from - but not how to solve it.

Perhaps by "renormalization"?  Make 100 tx of 20 inputs, then 5 tx of 20 inputs? then 1 tx of 5 inputs? Ready?  
Do you have such a scrypt? What are good numbers to try with?


no sign of a signature
Booth21209
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 26, 2014, 05:26:32 PM
 #391

pywallet.py --dumpwallet --datadir g:\  --wallet=wallet.dat --recover --recov_device=g:\wallet.dat --recov_size=40Gio --recov_outputdir=c:\recover

This is what I used, if you want a file with the keys (what I did) add a >> dump.text at the end.  You will see nothing on the screen but you have to enter newpassphrase, oldpassphrase, enter
It will scan the drive (make sure the ##Gio is bigger than the drive) and dump any keys it finds to the text file.  You can then take the private keys and import them into a new wallet.


I have tried this, but whenever I use the --dumpwallet function, it says that Bitcoin-QT is running and needs to be closed.


The Bitcoin-QT is not running, so I think it might just be that the wallet is too corrupted to salvage using pywallet  Undecided


As far as I can tell, my only hope is to take the hex that is in the file and find some way to extract the keys from my encrypted wallet. So if anyone can tell how to decrypt the wallet (I have the passphrase) without the Litecoin-QT, then what string of bytes to look for, that would be great.


Thanks to everyone for all the help, though.
drakoin
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 27, 2014, 01:55:28 AM
 #392

Code:
Transaction too large
Code:
Error: Transaction creation failed
Is there an elegant way in your pywallet to solve that?
I have not yet used pywallet - perhaps that this happens to me means that I should start to look into it now?  :-)

FYI:

I solved my problem with the 2000 tiny transactions - without pywallet, by scripted sending of ~50 small transactions.

Here's today's logbook ... what an interesting day - problems are great :-)
https://bitcointalk.org/index.php?topic=488167.msg5396066#msg5396066

and below it my script that solved it.

no sign of a signature
arnuschky
Hero Member
*****
Offline Offline

Activity: 518
Merit: 502


View Profile
March 12, 2014, 03:57:27 PM
 #393


Is it really required to run -rescan every time I want to remove unconfirmed transactions? I did it today on my desktop, and a few hours later the thing is still scanning! Any way to get around this? How handle businesses this downtime?
Speaker
Full Member
***
Offline Offline

Activity: 154
Merit: 100

Veronica <333


View Profile
March 25, 2014, 04:34:35 PM
 #394

If someone wants to fix my wallet, I'll give you 0.5btc (quick almost 300$ for most of you). It only has 2.8btc on it (possibly more)

Looking for trusted members only, you have to have good rep and I gotta see what you're doing via teamviewer.

PM me.

I would do this myself but it keeps fucking up.
tugvarish
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
April 03, 2014, 03:40:26 AM
 #395

what is the --otherversion for PPC (peercoin) and TGC (tigercoin) ?
any wiki?

I'm trying to figure out Batcoin & Piratecoin myself.

Ask or check your addresses and use any of these charts:

http://cryptolife.net/upwg/
https://en.bitcoin.it/wiki/List_of_address_prefixes
tugvarish
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
April 03, 2014, 05:26:05 AM
 #396

News: September 2013
....
The "--version" CLI option does not return the correct info... I don't know if you want me to file a bug report: then where? Or clone your GIT repo apply changes and push? Or just tell you here the correction:

Code:
--- pywalletorig.py Wed Apr 02 21:10:02 2014
+++ pywallet.py     Wed Apr 02 22:11:46 2014
@@ -4744,3 +4744,3 @@

-       parser = OptionParser(usage="%prog [options]", version="%prog 1.1")
+       parser = OptionParser(usage="%prog [options]", version="%prog "+pywversion)
tugvarish
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
April 03, 2014, 05:36:21 AM
Last edit: April 03, 2014, 11:16:46 PM by tugvarish
 #397

Almost everything work fine when I use the CLI, but I have a problem with the web interface which I would like to use for simplicity and curiosity.
When I try to use it, this is what it shows in the browser:
Quote
Request did not return bytes

Request:
<Request at 0x4cb51e8 method=GET uri=/ clientproto=HTTP/1.1>

Resource:
<__main__.WIRoot instance at 0x04CB1DF0>

Value:


and this is on the console:

Quote
In [19]: %run pywallet.py --web
2014-04-02 22:33:24-0700 [-] Log opened.
2014-04-02 22:33:24-0700 [-] Starting server: 2014-04-02 22:33:24.084000
2014-04-02 22:33:24-0700 [-] Site starting on 8989
2014-04-02 22:33:24-0700 [-] Starting factory <twisted.web.server.Site instance at 0x04C9FB98>
2014-04-02 22:33:32-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [03/Apr/2014:05:33:32 +0000] "GET / HTTP/1.1" 500 238122 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36"
2014-04-02 22:33:32-0700 [HTTPChannel,0,127.0.0.1] 127.0.0.1 - - [03/Apr/2014:05:33:32 +0000] "GET /favicon.ico HTTP/1.1" 200 14 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36"


EDIT (after more testing...)
This is mainly happening in IPython with the %run magic; also causing the IPython instance to not function correctly after pywallet.py is interrupted by CTRL+C or forcing a quit by directing the browser to 'http://localhost:8989/quit.'
Control and escaped characters can be noticed at its prompt:

https://i.imgur.com/YrFrD1bl.png

But instead, if we call the pywallet.py from the actual python executable called as a escaped IPython console command instance. by '!python(.exe) pywallet.py --web', then in this nested-Russian-Dolls-mode everything works.
... not optimal, since almost all of the IPython feature are defeated, but it works.

So could anybody help troubleshoot and fix this?  
d8ncer
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
April 03, 2014, 10:19:44 PM
 #398

Does anybody have astep by step guide. Ones i have tried doesnt seem to work.

Install software, etc and try and run cmnd lines but just syntax errors and other problems.

Is there a bulletproof idiot guide at all.

Thanks.

tugvarish
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
April 03, 2014, 11:35:48 PM
 #399

Does anybody have astep by step guide. Ones i have tried doesnt seem to work.

Install software, etc and try and run cmnd lines but just syntax errors and other problems.

Is there a bulletproof idiot guide at all.

Thanks.
If you want generics on useage there is this:
http://www.devtome.com/doku.php?id=pywallet

also at the bottom of the first post of this very thread:
https://bitcointalk.org/index.php?topic=34028.msg424586#msg424586

for specific case needs there is the amazing Google search.

and if you have a specific problem you may able to get better help, if you actually post specifics of your problem, like:

  • What syntax error?
  • Doing what?
  • Trying to do what?
  • Steps?

Moreover, I am sure that you are more then welcome, by the author and the community at large, to ultimately write or paste a guide of your liking and satisfaction.

And anyway even about that I do not understand what you are looking for... again... step by step guide for what?... bulletproof guide for what?... usage, installation, integration... your post is so vague that this is probably the only reply you will receive until you explain yourself more clearly and detailed.
Dedox89
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 17, 2014, 12:50:28 AM
 #400

hello.. im stuck in recovering a dogecoin wallet!

i write /home/myname/Desktop/pywallet.py --datadir=/home/myname/Desktop/ --wallet=wallet.dat --dumpwallet

(both files are in desktop folder)

but i get a error message ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.

i havent any bitcoin or derivates running. someone can help in telling me if im or the file is too much damaged?

i damaged my windows partition and this is a file recovered by a file recovery software. the wallet says is corrupted
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 »
  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!