cdnbcguy
|
|
April 25, 2013, 08:19:28 PM Last edit: April 25, 2013, 09:34:57 PM by cdnbcguy |
|
I imported a private key into my encrypted backed-up wallet using pywallet and now I get 'transaction creation failed' when trying to send - it does add the balance of the paper wallet to my balance.
It did ask for my password when doing the transaction - is it decrypting a non-encrypted private key?
|
Annona ad! Please keep in mind that there is nothing wrong with Bitcoin itself. All it's scandals are caused by wonky websites and sleazy people exploiting it. The light attracts bugs. When all this bullshit drys up and blows away, Bitcoin will be stronger than ever.
|
|
|
jackjack (OP)
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
April 25, 2013, 08:36:00 PM |
|
Did you put your passphrase in the Passphrase tab?
If not: - Close Bitcoin - Delete the address you added - Put your passphrase in the tab - Import again
Yes, I know, It should refuse to import if the passphrase isn't correct, but I'm a bit busy currently and as it doesn't corrupt the wallet it's not top priority
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cdnbcguy
|
|
April 25, 2013, 09:33:39 PM |
|
Did you put your passphrase in the Passphrase tab?
I did now, no joy. I also had trouble earlier importing the key as Satoshi left 5 and upper case s in the base58 code - a strange design flaw... Thanks anyway - I guess I need to find another way to try this.
|
Annona ad! Please keep in mind that there is nothing wrong with Bitcoin itself. All it's scandals are caused by wonky websites and sleazy people exploiting it. The light attracts bugs. When all this bullshit drys up and blows away, Bitcoin will be stronger than ever.
|
|
|
jackjack (OP)
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
April 25, 2013, 09:40:15 PM |
|
I also had trouble earlier importing the key as Satoshi left 5 and upper case s in the base58 code - a strange design flaw...
What do you mean? You mixed 5 and S? I didn't even realize both were used Thanks anyway - I guess I need to find another way to try this.
To try what?
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cdnbcguy
|
|
April 25, 2013, 10:00:42 PM |
|
I also had trouble earlier importing the key as Satoshi left 5 and upper case s in the base58 code - a strange design flaw...
What do you mean? You mixed 5 and S? I didn't even realize both were used code_string = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" That just caused an error. I fixed that after I figured out what it was. Thanks anyway - I guess I need to find another way to try this.
To try what?
Try and 1- import a paper wallet private key to my encrypted wallet.dat file, 2 - transfer some BTC from the paper wallet to another account, 3 - then transfer the remaining btc to another paper wallet - stuck at step 2
|
Annona ad! Please keep in mind that there is nothing wrong with Bitcoin itself. All it's scandals are caused by wonky websites and sleazy people exploiting it. The light attracts bugs. When all this bullshit drys up and blows away, Bitcoin will be stronger than ever.
|
|
|
jackjack (OP)
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
April 25, 2013, 10:07:37 PM |
|
So even after you put the correct passphrase in the passphrase tab you can't use your coins?
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
cdnbcguy
|
|
April 25, 2013, 10:41:42 PM |
|
So even after you put the correct passphrase in the passphrase tab you can't use your coins?
That is correct - I also carefully wrote the phrase out in an editor and cut and pasted it into the tab because the tab will accept anything and does not tell you if you have done it wrong. I recommend that the wallet software check for encryption first thing after the user clicks localhost:8989 and demands a correct pass-phrase before proceeding.
|
Annona ad! Please keep in mind that there is nothing wrong with Bitcoin itself. All it's scandals are caused by wonky websites and sleazy people exploiting it. The light attracts bugs. When all this bullshit drys up and blows away, Bitcoin will be stronger than ever.
|
|
|
ssateneth
Legendary
Offline
Activity: 1344
Merit: 1004
|
|
May 17, 2013, 12:30:03 AM |
|
Doesn't work. I did the install.bat and hit yes/next/i agree on everything. i run pywallet.bat and I get an error.
C:\Users\Ssateneth>D:\pywallet\pywallet.py --web --port=8989 A mandatory option is missing
Usage: pywallet.py [options] (it spams all the options after)
what am i doing wrong?
|
|
|
|
jackjack (OP)
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
May 17, 2013, 06:49:25 AM |
|
Doesn't work. I did the install.bat and hit yes/next/i agree on everything. i run pywallet.bat and I get an error.
C:\Users\Ssateneth>D:\pywallet\pywallet.py --web --port=8989 A mandatory option is missing
Usage: pywallet.py [options] (it spams all the options after)
what am i doing wrong?
There is install.bat in the same directory, run it If it doesn't work, try running update.bat then install.bat Then report results
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
|
May 17, 2013, 07:42:15 PM |
|
finally i gave the csv import a try, unfortunately i couldnt enjoy the result: 2013-05-17 21:39:29+0200 [HTTPChannel,1,127.0.0.1] Hexadecimal private keys must be 64 or 66 characters long (specified one is 51 characters long)
they start with a 5, so its a uncompressed one. i can send you some unused keys per PM if you want.
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
dserrano5
Legendary
Offline
Activity: 1974
Merit: 1029
|
|
May 17, 2013, 08:27:52 PM |
|
2013-05-17 21:39:29+0200 [HTTPChannel,1,127.0.0.1] Hexadecimal private keys must be 64 or 66 characters long (specified one is 51 characters long)
they start with a 5, so its a uncompressed one. i can send you some unused keys per PM if you want. Given that error message, I'd try to convert your WIF privkey into hexadecimal, by using e.g. bitaddress, then feed the result to pywallet.
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
|
May 17, 2013, 08:36:28 PM |
|
2013-05-17 21:39:29+0200 [HTTPChannel,1,127.0.0.1] Hexadecimal private keys must be 64 or 66 characters long (specified one is 51 characters long)
they start with a 5, so its a uncompressed one. i can send you some unused keys per PM if you want. Given that error message, I'd try to convert your WIF privkey into hexadecimal, by using e.g. bitaddress, then feed the result to pywallet. i know, still it should be able to handle normal ones also the list is too big to convert it into hexadeicaml by hand.
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
jackjack (OP)
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
May 18, 2013, 08:56:20 AM Last edit: May 20, 2013, 04:34:23 PM by jackjack |
|
Yeah I procrastinated a lot about importing base58 private keys from a CSV file... I don't even know why because it's a letter of less than ten lines... And eventually I forgot about it. I don't have my computer with me right now, I'll change this asap, ie tomorrow evening (or maybe a bit later...)
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
BRules
|
|
May 20, 2013, 03:37:48 AM |
|
I was doing some stress test with my bitcoin on testnet and created about 200000 transactions and 70000 addresses, now my wallet file has about 240MB, now I only can open my bitcoind to manipulate my bitcoins, and bitcoind are using about 400MB of memory because of that.
My question: if I start a business that will use bitcoind to manipulate the bitcoins, Is it ok to use pywallet to remove old spent transactions from the wallet (obviously making a backup before)?
if ok, is there a way use the command line to remove the transactions or i'm only able to do this through the web interface?
tks in advance
|
|
|
|
jackjack (OP)
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
May 20, 2013, 04:37:40 PM |
|
I was doing some stress test with my bitcoin on testnet and created about 200000 transactions and 70000 addresses, now my wallet file has about 240MB, now I only can open my bitcoind to manipulate my bitcoins, and bitcoind are using about 400MB of memory because of that.
My question: if I start a business that will use bitcoind to manipulate the bitcoins, Is it ok to use pywallet to remove old spent transactions from the wallet (obviously making a backup before)?
if ok, is there a way use the command line to remove the transactions or i'm only able to do this through the web interface?
tks in advance
Yes you can but Bitcoin won't be able to use those transactions when you create a new payment and won't show them (obviously) And no, no command line for this yet but if you need it I can add it
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
BRules
|
|
May 20, 2013, 07:52:57 PM |
|
Yes you can but Bitcoin won't be able to use those transactions when you create a new payment and won't show them (obviously) And no, no command line for this yet but if you need it I can add it
I will only delete old spent transactions, so, I won't need them anymore, I was worried that the bitcoind could stop working for some reason. no need for command line as I already has the complete URL to delete the transactions and my program is already using it. the only problem I'm seeing is that with my wallet of 200000 transactions, it's takin about 11 seconds to remove one transaction. I made a program to remove the transactions and in 3,5 hours it has deleted 1107 transactions. Do you know which part of the delete is causing this delay? Is there a way to remove a batch of transactions at once instead of one by one?
|
|
|
|
jackjack (OP)
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
May 20, 2013, 08:15:40 PM |
|
I will only delete old spent transactions, so, I won't need them anymore, I was worried that the bitcoind could stop working for some reason.
bitcoind will still work correctly the only problem I'm seeing is that with my wallet of 200000 transactions, it's takin about 11 seconds to remove one transaction. I made a program to remove the transactions and in 3,5 hours it has deleted 1107 transactions. Do you know which part of the delete is causing this delay? Is there a way to remove a batch of transactions at once instead of one by one?
Can you delete all transactions or do you have some you want to keep? The problem is that pywallet opens, reads, then writes into a new wallet the remaining data, for each deletion If you need to keep some transactions, I'll write something q&d to read a file containing hashes and delete all the corresponding transactions inside it
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
BRules
|
|
May 20, 2013, 08:48:32 PM |
|
Can you delete all transactions or do you have some you want to keep? The problem is that pywallet opens, reads, then writes into a new wallet the remaining data, for each deletion If you need to keep some transactions, I'll write something q&d to read a file containing hashes and delete all the corresponding transactions inside it
I will need to keep unspent transactions and transactions made within an year. That would be great to have a way to fill a file with transactions to delete. Tks in advance
|
|
|
|
BRules
|
|
May 20, 2013, 11:20:40 PM |
|
I just created another testnet wallet and sent my bitcoins to it, after 2 confirmations I deleted all my transactions from my wallet using the keyword "all", it took less than 20 seconds to remove all transactions from my wallet, and it is usable again in the bitcoin-qt. So, reading a file with the transactions to remove should be enough to solve my problem. Looking foward for this feature.
Keep up the good work. Tks again
|
|
|
|
jackjack (OP)
Legendary
Offline
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
|
|
May 21, 2013, 09:44:25 PM Last edit: May 22, 2013, 10:41:46 PM by jackjack |
|
Hey guys The fix for the bug that K1773R found and the BRules' request have been pushed to v2.0.7 CSV files import bugActually when I coded the CSV import, I did take into account the WIF keys. The bug came from the fact that False!=None.... When trying things, I also noticed that for the keys to be displayed correctly inside bitcoin-qt, you need to use the proper address version. So the CSV files must now have this format: 5KkEy5BZxKi4ZN5n4MUGx1ABSsiGbtNz5hYLBuyaU8dV8iHkBur;label for the key;111
Note1: 111 is for testnet. 0 for Bitcoin. 52 for Namecoin. Etc... Note2: if there is only two columns, version 0 (ie Bitcoin addresses) is implied, so it is backward compatible Multiple deletions at onceIn the 'key' (renamed 'keys') form, enter: - '1address1' to delete that only address (again, backward compatibility)
- '1address1-1address2-1address3-etc...' to delete a list of addresses divided by '-'
BRules, please confirm whether this is faster
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
|