Bitcoin Forum

Bitcoin => Electrum => Topic started by: Snatdard usre on December 08, 2014, 12:44:28 PM



Title: Can't send bitcoins from Electrum
Post by: Snatdard usre on December 08, 2014, 12:44:28 PM
Good day,
I created a large number, aprx. 10000, of BTC addresses with Electrum and received some bitcoins. Now I'm trying to send them to a single address, but Electrum just hangs when syncing to network(and eats 50-100% CPU). Tried to change a server, change protocol(TCP, SSL, HTTP). Fighting with it 3 days already. What would you do in my situation?  ??? I see, there is an option to export private keys. So is it possible to import these keys to some other(non "light") BTC client software? Using Electrum v. 1.9.8


Title: Re: Can't send bitcoins from Electrum
Post by: jonald_fyookball on December 08, 2014, 10:05:26 PM
yes thats what i would try, export and import to something else.


Title: Re: Can't send bitcoins from Electrum
Post by: Snatdard usre on December 09, 2014, 10:35:11 AM
Ha, exporting private keys from Electrum took 14 hours )) Now waiting 16 hours for BTC Core to sync, but it probably won't sync until nex autumn ). Are there any other non "light" wallet software, where I could import private keys? So far, all the bitcoin stuff is making my hair silver ))


Title: Re: Can't send bitcoins from Electrum
Post by: Tafelpoot on December 09, 2014, 02:42:24 PM
A wallet with 10k addresses will poll the history of all those 10k addresses to the server.
Electrum is not optimized to handle wallets of this size for now...

If you have only a few addresses that received coins, you can try this:
- Open your wallet file (look in c:\users\myuser\appdata\roaming\electrum\wallets on windows)
- Look up the private key for the addresses that have coins
Now either
- Import these private keys in a new normal electrum wallet and send the coins somewhere.
Or
- Make a custom transaction with csv file to send the coins to a single address.
Or
- Import them in a wallets such as blockchain.info ...


Title: Re: Can't send bitcoins from Electrum
Post by: Snatdard usre on December 09, 2014, 02:45:04 PM
Tafelpoot, many thanks! Will try.


Title: Re: Can't send bitcoins from Electrum
Post by: dabura667 on December 13, 2014, 01:54:34 AM
i suggest you use Blockchain.info its online and you can import your private keys there to use them

Importing 10,000 addresses one at a time is horribly painful. Blockchain.info only allows you to add one key at a time, and you must enter your password every time.


Title: Re: Can't send bitcoins from Electrum
Post by: bitbaby on December 13, 2014, 11:19:57 AM
10000 addresses??  Don't understand why you created so many addresses but I say just back up the keys to a secure location first then do it with 100 addresses at a time in electrum. Can't think of any other way.


Title: Re: Can't send bitcoins from Electrum
Post by: Snatdard usre on December 13, 2014, 11:22:34 AM
10000 addresses??  Don't understand why you created so many addresses but I say just back up the keys to a secure location first then do it with 100 addresses at a time in electrum. Can't think of any other way.
Yes, already did it, many thanks for responses! It was damn painful )


Title: Re: Can't send bitcoins from Electrum
Post by: dabura667 on December 13, 2014, 12:55:40 PM
10000 addresses??  Don't understand why you created so many addresses but I say just back up the keys to a secure location first then do it with 100 addresses at a time in electrum. Can't think of any other way.
Yes, already did it, many thanks for responses! It was damn painful )

Also beware: If you have 10,000 addresses and you're trying to put them into one, I'd assume you have 10,000 inputs... just your inputs alone would be over 1.8 Megabytes... which is larger than the block limit!!!

you will need to bunch your bitcoins together in transactions of less than 100 kB... which by the way, would be at the most 552 inputs and 2 outputs.

So if I were you, look at all the utxos you have, and bunch them together in groups of 527 inputs and send them to another address (so 1 output) and be sure to leave AT LEAST 0.00096 BTC miner's fee. (literally, anything less than 0.00096 BTC for a 96 kB transaction and it will be treated just like a no fee transaction...)

Any transaction over 100000 bytes will not do well...

if you have 10,000 utxos and put 527 in each transaction. you will need 19 transactions to pool them together in one address, then you'll be left with 19 utxos... if you want to pool those together 1 transaction is ok...

So your endeavor will require about 20 transactions to do.

Good luck, and have fun ;-)


Title: Re: Can't send bitcoins from Electrum
Post by: Snatdard usre on December 13, 2014, 01:04:20 PM
dabura667, this was really elaborate and prevented me from some problems in the future. Currently I got rid of the bitcoins, but when I get more, I will surely send some $ to your tip address. Thanks again!.