Bitcoin Forum
July 03, 2024, 04:59:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Offline send - can't send from change address  (Read 2210 times)
bizz (OP)
Hero Member
*****
Offline Offline

Activity: 492
Merit: 500


View Profile
November 23, 2013, 03:42:56 PM
Last edit: November 23, 2013, 05:49:16 PM by bizz
 #1

I want to send from change address but it says no address found when singing on offline Electrum.

How to send without going online?

Offline Ubuntu 12.04. Electrum 1.9.5

EdiT: Nevermind, seems like I was using 1.9.4 online and offline 1.9.5. I guess that was the issue.

Edit2: Tried again with exact versions and it still doesn't work. Is it even possible to send from 'new' change addresses offline?
Abdussamad
Legendary
*
Offline Offline

Activity: 3640
Merit: 1571



View Profile
November 23, 2013, 09:48:32 PM
 #2

In the electrum console on the offline wallet try to run this command a few times. It will generate a new change address so you'll have the private key in your wallet and be able to sign the transaction:

wallet.accounts[0].create_new_address(1)

To generate new main account addresses (in case those are the ones that are missing) do this:

wallet.accounts[0].create_new_address(0)

Or increase the gap limit. Say 20:

wallet.storage.put( 'gap_limit', 20 )

You may have to restart the client after you do this.

Source for all of this is the developer himself:

https://bitcointalk.org/index.php?topic=324614.msg3604327#msg3604327

SwagPoker
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
December 06, 2013, 12:03:44 AM
 #3

In the electrum console on the offline wallet try to run this command a few times. It will generate a new change address so you'll have the private key in your wallet and be able to sign the transaction:

wallet.accounts[0].create_new_address(1)

To generate new main account addresses (in case those are the ones that are missing) do this:

wallet.accounts[0].create_new_address(0)



The second one actually WORKED for me! This is incredible - THANK YOU. Also, something either needs to be done to auto-incorporate this into the code or make this fix more visible as I am not the only one who's run into this. However, I will bookmark this and spread the word.

Big ups to Bitcoin Pakistan!

EJ
bizz (OP)
Hero Member
*****
Offline Offline

Activity: 492
Merit: 500


View Profile
December 06, 2013, 02:12:25 AM
 #4

Glad it worked for you too. It would be shame you left for Armory. Eww. Just kiddin - both  are awesome.  Smiley

Agreed that offline send feature should be given more attention in Electrum.
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!