Bitcoin Forum

Bitcoin => Electrum => Topic started by: ThomasV on March 16, 2014, 01:27:38 PM



Title: Electrum 1.9.8 released
Post by: ThomasV on March 16, 2014, 01:27:38 PM
I am happy to announce the release of Electrum 1.9.8.
This release includes some features initially planned for version 2.0.

Packages are available on https://electrum.org/download.html (signed by me)
Binaries for windows and mac will be available in the coming days

enjoy

Thomas
-----------------------

RELEASE NOTES

# Release 1.9.8

(This release includes features initially planned for version 2.0)

* Electrum servers were upgraded to version 0.9. The new server stores
   a Patrica tree of all UTXOs, an idea proposed by Alan Reiner in the
   bitcointalk forum. This property allows the client to directly
   request the balance of any address. The new commands are:
      1. getaddressbalance <address>
      2. getaddressunspent <address>
      3. getutxoaddress <txid> <pos>

* Command-line commands that require a connection to the network spawn
   a daemon, that remains connected and handles subsequent
   commands. The daemon terminates itself if it remains unused for more
   than one minute. The purpose of this is to make scripting more
   efficient. For example, a bash script using many electrum commands
   will open only one connection.

edit: encrypt/decrypt methods were removed due to a bug


Title: Re: Electrum 1.9.8 released
Post by: btcven on March 16, 2014, 01:49:11 PM
Great! The encrypt/decrypt functions seems to be really useful for services like https://www.b1txr.com or to be able to share Labels for recipients ala "public notes" of Blockchain.info but with more privacy.


Title: Re: Electrum 1.9.8 released
Post by: ThomasV on March 16, 2014, 02:35:23 PM
Note: according to gmaxwell, the implementtion of these encrypt/decrypt is not secure.
I will try to fix them asap.


Title: Re: Electrum 1.9.8 released
Post by: Abdussamad on March 16, 2014, 04:02:02 PM
Note: according to gmaxwell, the implementtion of these encrypt/decrypt is not secure.
I will try to fix them asap.

Thank you gmaxwell!


Title: Re: Electrum 1.9.8 released
Post by: reaso2000 on March 16, 2014, 04:46:52 PM
Hey, great work! However, the install still says 1.9.7!

r2k


Title: Re: Electrum 1.9.8 released
Post by: Tachikoma on March 17, 2014, 10:11:26 PM
Hey, great work! However, the install still says 1.9.7!

r2k

I've just added the Windows and OS X binaries. They should be on the website tomorrow, as soon as Thomas is able to add it there.

For users on OS X.

I had trouble, again, building the OS X binaries. Please let me know if they don't work for you, and if so on which version of OS X you are running it.


Title: Re: Electrum 1.9.8 released
Post by: davout on March 18, 2014, 02:31:04 PM
Nice !


Title: Re: Electrum 1.9.8 released
Post by: gmaxwell on March 18, 2014, 03:04:34 PM
FWIW, for those curious— the thread on the encryption issues: http://sourceforge.net/p/bitcoin/mailman/message/32107008/   (I made several posts after the first one too)


Title: Re: Electrum 1.9.8 released
Post by: dexX7 on March 18, 2014, 03:55:44 PM
The new commands are:
      1. getaddressbalance <address>
      2. getaddressunspent <address>
      3. getutxoaddress <txid> <pos>

Just to be sure: getutxoaddress does not work with multi signature outputs, right?


Title: Re: Electrum 1.9.8 released
Post by: EagleTM on March 18, 2014, 04:02:04 PM
Just to be sure: getutxoaddress does not work with multi signature outputs, right?

I believe it should work - there was a fix applied to servers especially for this. There may be some older v0.9 servers which run an old version of the database (v2) where it doesn't work. Can you test this with electrum.no-ip.org for example? This is an up2date server. If it works, can you please point out the servers which don't yet work?


Title: Re: Electrum 1.9.8 released
Post by: ThomasV on March 18, 2014, 04:09:53 PM
Just to be sure: getutxoaddress does not work with multi signature outputs, right?

I believe it should work - there was a fix applied to servers especially for this. There may be some older v0.9 servers which run an old version of the database (v2) where it doesn't work. Can you test this with electrum.no-ip.org for example? This is an up2date server. If it works, can you please point out the servers which don't yet work?

yes, it works, but you have to use an updated server.
here is the result with electrum.no-ip.org

Code:
getutxoaddress 6b01861beb0a8e510214650b416af311f8d55b1bae3e83d02dca8578b44288ed 0
{
    "address": "34yB9GTp3yAzQRuyKRdVYV3AXrBFPsYDN7"
}


Title: Re: Electrum 1.9.8 released
Post by: dexX7 on March 18, 2014, 04:18:27 PM
Hm. Maybe I'm doing it wrong? All multi signature outputs I tested - redeemed or not redeemed - return null.

I connected to electrum.no-ip.org:50001.

Code:
>> getutxoaddress("186b4abdca8cf3edcaee8b56c28be9bb481ea1d7ed62903595661118d6d548b3", 0) <--- unspent
{
    "address": "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P"
}
>> getutxoaddress("186b4abdca8cf3edcaee8b56c28be9bb481ea1d7ed62903595661118d6d548b3", 1) <--- !! unspent !!
{
    "address": null
}
>> getutxoaddress("186b4abdca8cf3edcaee8b56c28be9bb481ea1d7ed62903595661118d6d548b3", 2) <--- unspent
{
    "address": "11NiSNoGYomEA3ZHEN4R9ne4kwDjECsAy"
}


>> getutxoaddress("d5112c3bbc63d644f4c162704032f358cb9ba767f7e50ff818ff961a0053fe96", 0) <--- spent
{
    "address": null
}
>> getutxoaddress("d5112c3bbc63d644f4c162704032f358cb9ba767f7e50ff818ff961a0053fe96", 1) <--- unspent
{
    "address": "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P"
}
>> getutxoaddress("d5112c3bbc63d644f4c162704032f358cb9ba767f7e50ff818ff961a0053fe96", 2) <--- spent
{
    "address": null
}
>> getutxoaddress("d5112c3bbc63d644f4c162704032f358cb9ba767f7e50ff818ff961a0053fe96", 3) <--- spent
{
    "address": null
}


>> getutxoaddress("e70f06b3ec3401f354c1397986c627a09f928bb7f05872bf7d14d28571fa736b", 0) <--- spent
{
    "address": null
}
>> getutxoaddress("e70f06b3ec3401f354c1397986c627a09f928bb7f05872bf7d14d28571fa736b", 1) <--- unspent
{
    "address": "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P"
}
>> getutxoaddress("e70f06b3ec3401f354c1397986c627a09f928bb7f05872bf7d14d28571fa736b", 2) <--- spent
{
    "address": null
}
>> getutxoaddress("e70f06b3ec3401f354c1397986c627a09f928bb7f05872bf7d14d28571fa736b", 3) <--- !! unspent !!
{
    "address": null
}


Title: Re: Electrum 1.9.8 released
Post by: roxtar on March 18, 2014, 06:11:06 PM
How are OSX users finding it? Stable?


Title: Re: Electrum 1.9.8 released
Post by: btcven on March 18, 2014, 09:17:39 PM
How are OSX users finding it? Stable?

No problems found on Mavericks or Mountain Lion so far. Report any issue, please.


Title: Re: Electrum 1.9.8 released
Post by: RoxxR on March 18, 2014, 10:09:35 PM
Daemon mode is broken under Windows.  Os.fork() cannot be used as it is not platform independent - it's a Linux-only function AFAIK.


Title: Re: Electrum 1.9.8 released
Post by: ThomasV on March 22, 2014, 07:05:42 PM
Hm. Maybe I'm doing it wrong? All multi signature outputs I tested - redeemed or not redeemed - return null.

The multisig scripts outputs you tested are not P2SH addresses.
see for example https://blockchain.info/tx/186b4abdca8cf3edcaee8b56c28be9bb481ea1d7ed62903595661118d6d548b3
this is a multisig script, but not p2sh.

A p2sh address corresponds to a script of the type OP_HASH160 <hash> OP_EQUAL

IIRC other script types are not propagated by the network, you must be a miner to include them to the chain.


Title: Re: Electrum 1.9.8 released
Post by: Patron92 on March 23, 2014, 09:12:48 AM
Hey, great work! However, the install still says 1.9.7!

r2k

I've just added the Windows and OS X binaries. They should be on the website tomorrow, as soon as Thomas is able to add it there.

For users on OS X.

I had trouble, again, building the OS X binaries. Please let me know if they don't work for you, and if so on which version of OS X you are running it.

Great to see the new version. Mo problem with it on Mavericks OS. Would telll you if it goes bad


Title: Re: Electrum 1.9.8 released
Post by: dexX7 on March 23, 2014, 08:55:30 PM
IIRC other script types are not propagated by the network, you must be a miner to include them to the chain.

The multisig transactions I mentioned are standard transactions. So to redefine: getutxoaddress does not work with multisig transactions but with P2SH multisig. :)

Anyway, great job. I love Electrum!


Title: Re: Electrum 1.9.8 released
Post by: bobdutica on March 25, 2014, 03:11:03 PM
Electrum is an outstanding Bitcoin client. Thank you for creating it.
I am a retired programmer (C, C++, Java, PHP) and have been away from programming for over 5 years.
After using Electrum, I have been motivated to learn Python, and I am most impressed with the language.
Thanks again for your outstanding creation.


Title: Re: Electrum 1.9.8 released
Post by: btcven on March 25, 2014, 03:30:52 PM
IIRC other script types are not propagated by the network, you must be a miner to include them to the chain.

The multisig transactions I mentioned are standard transactions. So to redefine: getutxoaddress does not work with multisig transactions but with P2SH multisig. :)

Anyway, great job. I love Electrum!

non-P2SH multisig txs won't be standards anymore


Title: Re: Electrum 1.9.8 released
Post by: bsom on March 26, 2014, 02:50:08 AM
Daemon mode is broken under Windows.  Os.fork() cannot be used as it is not platform independent - it's a Linux-only function AFAIK.

Yeah, this is a major bummer.  I was hoping to call some Electrum functions from Python, but some of them use 'fork'.  Isn't there another way?!?  ???


Title: Re: Electrum 1.9.8 released
Post by: Polyatomic on March 29, 2014, 08:36:31 AM
My OS = Ubuntu 13.1 : How do I upgrade from 1.9.7 to 1.9.8 ?. Just thought I would ask here before I start ginning around.


Title: Re: Electrum 1.9.8 released
Post by: Abdussamad on March 30, 2014, 10:32:41 AM
My OS = Ubuntu 13.1 : How do I upgrade from 1.9.7 to 1.9.8 ?. Just thought I would ask here before I start ginning around.

As root:

Set version:
Code:
ELECTRUM_VERSION='1.9.8'

Download:
Code:
wget https://download.electrum.org/Electrum-$ELECTRUM_VERSION.tar.gz  #software
wget https://download.electrum.org/Electrum-$ELECTRUM_VERSION.tar.gz.asc #sig
wget https://github.com/spesmilo/electrum/raw/master/pubkeys/ThomasV.asc #dev's gpg key

Verify signatures:
Code:
gpg --import ThomasV.asc #you only import once
gpg --verify Electrum-$ELECTRUM_VERSION.tar.gz.asc #verify everytime

It will output something like the following:
Quote
gpg: Signature made <date time> using RSA key ID 7F9470E6
gpg: Good signature from "ThomasV <thomasv1  gmx  de>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 6694 D8DE 7BE8 EE56 31BE  D950 2BD5 824B 7F94 70E6

As long as it says good signature you can ignore the warning and proceed to installation.

Install or update:
Code:
pip install Electrum-$ELECTRUM_VERSION.tar.gz

BTW I can see why you would use software called Electrum :)


Title: Re: Electrum 1.9.8 released
Post by: Polyatomic on March 30, 2014, 11:03:46 AM
My OS = Ubuntu 13.1 : How do I upgrade from 1.9.7 to 1.9.8 ?. Just thought I would ask here before I start ginning around.

As root:

Set version:
Code:
ELECTRUM_VERSION='1.9.8'

Download:
Code:
wget https://download.electrum.org/Electrum-$ELECTRUM_VERSION.tar.gz  #software
wget https://download.electrum.org/Electrum-$ELECTRUM_VERSION.tar.gz.asc #sig
wget https://github.com/spesmilo/electrum/raw/master/pubkeys/ThomasV.asc #dev's gpg key

Verify signatures:
Code:
gpg --import ThomasV.asc #you only import once
gpg --verify Electrum-$ELECTRUM_VERSION.tar.gz.asc #verify everytime

It will output something like the following:
Quote
gpg: Signature made <date time> using RSA key ID 7F9470E6
gpg: Good signature from "ThomasV <thomasv1  gmx  de>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 6694 D8DE 7BE8 EE56 31BE  D950 2BD5 824B 7F94 70E6

As long as it says good signature you can ignore the warning and proceed to installation.

Install or update:
Code:
pip install Electrum-$ELECTRUM_VERSION.tar.gz

BTW I can see why you would use software called Electrum :)

Cheers man. o/


Title: Re: Electrum 1.9.8 released
Post by: wanellane on March 30, 2014, 01:37:29 PM
Nice to hear about new ver of my favorite wallet !)


Title: Re: Electrum 1.9.8 released
Post by: Swood6 on April 08, 2014, 07:26:11 PM

I myself cannot open Electrum wallet. It crashes every single time.

I am using:

 - Macbook with MAC OS X 10.6.8 Snow Leopard

 - Electrum 1.9.8

Does this really did not happen to a lot of people? why could this be happening?

I want to send all my BTC from the Multibit wallet to Electrum due to the bug scandal regarding lost funds when you receive the change.

Thanks in advance!


Title: Re: Electrum 1.9.8 released
Post by: Tachikoma on April 08, 2014, 08:34:35 PM
Please run the following command and let me know what it returns.

Code:
/Applications/Electrum.app/Contents/MacOS/Electrum --verbose


Title: Re: Electrum 1.9.8 released
Post by: franl on April 09, 2014, 03:05:07 AM
I am happy to announce the release of Electrum 1.9.8.

Are any changes required to address the recent Heartbleed OpenSSL bug?
--
franl


Title: Re: Electrum 1.9.8 released
Post by: ThomasV on April 09, 2014, 04:45:24 PM
I am happy to announce the release of Electrum 1.9.8.

Are any changes required to address the recent Heartbleed OpenSSL bug?
--
franl

see here: https://bitcointalk.org/index.php?topic=562263.msg6143561#msg6143561


Title: Re: Electrum 1.9.8 released
Post by: Swood6 on April 09, 2014, 05:01:25 PM
Please run the following command and let me know what it returns.

Code:
/Applications/Electrum.app/Contents/MacOS/Electrum --verbose


it gives back:

"Illegal instruction"


Title: Re: Electrum 1.9.8 released
Post by: rkinnin on October 12, 2014, 01:25:25 PM
I have only used Bitcoin Core since I started mining this past March.

I am willing to try another wallet program.  How can I get the wallet info from Bitcoin Core to your program?