Pages:
Author

Topic: Import bitcoin-qt wallet? (Read 6974 times)

hero member
Activity: 1253
Merit: 811
September 06, 2013, 06:49:23 AM
#34
How to speak to a developer? How to submit a bug report?

See:

http://electrum.org/community.html


Ehm... i have already seen this link, it says to ask here on this forum!
The other ways are IRC channel (i tried last week but nobody replied me) and GitHub site.
Now i open an issue on this, i hope they reply me.

Thank you for your help, i really appreciate it Wink
jr. member
Activity: 41
Merit: 1
September 05, 2013, 07:34:47 PM
#33
How to speak to a developer? How to submit a bug report?

See:

http://electrum.org/community.html
hero member
Activity: 1253
Merit: 811
September 05, 2013, 06:44:45 PM
#32
How to speak to a developer? How to submit a bug report?
jr. member
Activity: 41
Merit: 1
September 05, 2013, 03:21:56 PM
#31
So it would be a bug in Electrum?

With me, a transaction was somehow missed in the history, when I sent a payment from an imported address. It may be the same problem. If so, then yes, it would be a bug in Electrum. However, I don't exactly know what the poster's problem is, so I can't say for sure.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
September 05, 2013, 02:19:10 PM
#30
So it would be a bug in Electrum?
hero member
Activity: 1253
Merit: 811
September 05, 2013, 12:57:59 PM
#29
Thank you for your reply. Can make me get in touch with any dev? I want to show them my situation.
Thank you.
jr. member
Activity: 41
Merit: 1
September 05, 2013, 11:51:15 AM
#28
I came across a problem yesterday, with imported addresses, and I think it's the same problem you're seeing. I brought it to the attention of the devs and they produced a development version of the software which I think will fix this problem. However, it hasn't been released yet, but will be in version 1.9.

My problem was with an imported address which was used in a transaction. The transaction did not get recorded. To fix it, I had to erase my wallet, and then recreate it. Of course, this removed the imported addresses from the wallet, but when I reloaded them, they were correct.

Maybe you can try this, if you're interested, or wait until version 1.9 is released.
hero member
Activity: 1253
Merit: 811
September 04, 2013, 01:15:07 PM
#27
I think the problem is the missing transaction.

If i import just the 2 receive address that i see in Bitcoin-Qt client, i get this (on the right is Electrum): http://img30.imageshack.us/img30/2313/k0z7.png
If i import the dump of all private keys (including change addresses' ones) i get this: http://img577.imageshack.us/img577/4480/fej1.png

So i think the problem is the red underlined transaction (in the second snapshot) that is missing:
http://blockchain.info/it/tx/72fcd689b3be3bcad086ebea3f9f43c2240fcb7e682905fde6122cec704a8873

What's wrong with it?
jr. member
Activity: 41
Merit: 1
September 04, 2013, 08:43:22 AM
#26
I don't know what could be wrong at this point.

However, if you use the Classic GUI and set the mode to 'Expert Mode' in the Preferences, then you can see the actual balance in each bitcoin address in your system by then selecting the 'Receive' tab on the main screen. You can compare these balances by using either btcbalance.net, or by checking each address using blockchain.info by adding the address to the end of this URL, like this:

http://blockchain.info/address/1GcKb752rgkeYC2w72dgpoCUQBpEmHAkYZ

Otherwise, there's no way to figure out the problem just by looking at wallet ledger entries.

hero member
Activity: 1253
Merit: 811
September 04, 2013, 07:35:57 AM
#25
Which server are you connecting to? And have you tried connecting with other servers?

To connect with a server, switch to the Classic GUI and click on the Green Dot at the lower right corner of the window.


It was on random. Yes, i tried to connect to other servers, but nothing changed.
jr. member
Activity: 41
Merit: 1
September 04, 2013, 07:03:13 AM
#24
Which server are you connecting to? And have you tried connecting with other servers?

To connect with a server, switch to the Classic GUI and click on the Green Dot at the lower right corner of the window.
hero member
Activity: 1253
Merit: 811
September 04, 2013, 03:18:53 AM
#23
There isn't any associated balance to the address that i have in Receive tab. How to see it?

Anyway now it is just missing a transaction, the one underlined in red in my previous post.
Your procedure should be the best way to collect all addresses (including change ones) from the Bitcoin-Qt client.
...but it seems to skip something because it doesn't take over that transaction Sad

PS: Have i to register one of the addresses on btcbalance?


EDIT: i solve the problem with pywallet. I follow the procedure you linked me last time:

In Bitcoin-qt you would only dump 1 key at a time. Use pywallet instead Smiley

Install pywallet dependencies(see: https://github.com/jackjack-jj/pywallet)
Then:
Code:
mkdir pywallet
cd pywallet
wget --output-document=pywallet.py https://raw.github.com/jackjack-jj/pywallet/master/pywallet.py
python pywallet.py --web
Next:
Open your browser and navigate to localhost:8989
Search the dump keys part and write only "sec" on the export format. Choose a dir/file where to save the dumped private keys. You can then batch import them into Electrum.

And i obtained a file containing 110 private keys. I imported them to Electrum (about 10 private keys can't be imported, i don't know why), but the balance is still wrong and that transaction is still missing.
Why? Arghhhhhh


EDIT2: if i try to send a payment i get this message: "wallet not synchronized".
jr. member
Activity: 41
Merit: 1
September 03, 2013, 09:02:16 PM
#22
A wallet is composed of multiple individual addresses. The addresses are the items that actually hold the bitcoins. It's difficult to figure out if a total balance is correct when looking at the whole wallet. We need to check the balance in each address.

In electrum, bring up the Classic GUI, (if you're using the Lite GUI), by going to the View Menu and selecting Classic GUI.

Then go to the 'Receive' tab. On the 'Receive' tab, you should see a balance associated with each individual address. This should be the actual balance in each of those addresses. You can double check them by going to 'www.btcbalance.net', and entering the addresses into that web page, which will also show you the balances in each address. If the two balances match, the one in electrum, and the one in www.btcbalance.net, then you can be confident that the balance in that address is correct. If you find an address in Electrum which has a different amount of bitcoins in it than in www.btcbalance.net, then it's probably Electrum's fault.

Let us know.


Actually, if you want to see individual address balances, then you not only have to use the Classic GUI, but you also have to put the program into 'Expert Mode' by Selecting 'Preferences' from the File Menu. Then checking the 'Expert Mode' checkbox on the Display Tab. Then you can close the Preferences box and select the Receive Tab, where you will see the individual balances on each address.
jr. member
Activity: 41
Merit: 1
September 03, 2013, 08:14:49 PM
#21
Here's another thing you can try. If I were to guess, I would think that the server you're connecting to is probably not giving you the correct information.

Go to Classic GUI by selecting it from the 'View' menu, if you're using the Lite GUI.

Then in the lower right corner of the screen in the Classic GUI, you should see a green dot. Press the green dot. This will bring up a list of servers to connect to. Try connecting to different servers and see if they show you the same total balance.
jr. member
Activity: 41
Merit: 1
September 03, 2013, 08:08:01 PM
#20
A wallet is composed of multiple individual addresses. The addresses are the items that actually hold the bitcoins. It's difficult to figure out if a total balance is correct when looking at the whole wallet. We need to check the balance in each address.

In electrum, bring up the Classic GUI, (if you're using the Lite GUI), by going to the View Menu and selecting Classic GUI.

Then go to the 'Receive' tab. On the 'Receive' tab, you should see a balance associated with each individual address. This should be the actual balance in each of those addresses. You can double check them by going to 'www.btcbalance.net', and entering the addresses into that web page, which will also show you the balances in each address. If the two balances match, the one in electrum, and the one in www.btcbalance.net, then you can be confident that the balance in that address is correct. If you find an address in Electrum which has a different amount of bitcoins in it than in www.btcbalance.net, then it's probably Electrum's fault.

Let us know.
hero member
Activity: 1253
Merit: 811
September 03, 2013, 07:22:19 PM
#19
I do as you have said and there is still one gap.
A payment of 50 BTC that i sent is missing and now the balance is wrong!
In fact the balance now has 50 more BTC.

Why?

jr. member
Activity: 41
Merit: 1
September 03, 2013, 02:46:13 PM
#18
I'm asking help here too.
There i have an expert on pywallet but he doesn't know Electrum; here i have expert in Electrum but not on pywallet use Tongue

I'm trying to figure out how to make this full import!

I don't know pywallet, but here's another way to do it.

1) In bitcoin-qt, go to Help/Debug Window.

2) Choose the Console Tab.

3) In the text box, enter 'listaddressgroupings'.

This will bring up a list of 100 addresses. Your money could be in several addresses, but probably only in two or three. Look through the list. wherever you see some bitcoins, dump the private key of that address using, 'dumpprivkey '.

4) Import all of these private keys into Electrum, resync with an Electrum server, and your balances should match.

hero member
Activity: 1253
Merit: 811
September 03, 2013, 02:16:34 PM
#17
I'm asking help here too.
There i have an expert on pywallet but he doesn't know Electrum; here i have expert in Electrum but not on pywallet use Tongue

I'm trying to figure out how to make this full import!
jr. member
Activity: 41
Merit: 1
September 03, 2013, 10:52:47 AM
#16

I can't dump keys. I installed pywallet but when I click on "Dump Keys" i get "File not written" error.
Maybe it happens because .bitcoin directory is a symlink. So i tried to enter the right path, but the same error occurs.
Any other way to do the same?

Change Addresses are a pain. One of the things that I like about Electrum, is that you don't have to use them. Most wallets, however, create NEW addresses EVERY TIME you make a spend, and some of your bitcoins go into hidden 'change' addresses.

The best way to move money into a new wallet is to send the funds. Don't try to import the keys unless you know what you're doing.

If you want to check the actual balances on your individual addresses to determine the actual balance of the imported keys, then go to this webpage and enter your public keys of the addresses that you want to check.

www.btcbalance.net

hero member
Activity: 1253
Merit: 811
September 03, 2013, 09:36:41 AM
#15
How to import change addresses?

See here how to dump all private keys: https://bitcointalksearch.org/topic/m.2894530
Next you'll import them all into Electrum.
I can't say for sure it will solve the problem, but there is no harm in trying. The change addresses seem to be empty, anyway, given that you say your balance is correct. It's just a cosmetic problem.

I can't dump keys. I installed pywallet but when I click on "Dump Keys" i get "File not written" error.
Maybe it happens because .bitcoin directory is a symlink. So i tried to enter the right path, but the same error occurs.
Any other way to do the same?
Pages:
Jump to: