Bitcoin Forum
April 27, 2024, 01:45:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Electrum 1.9.8 released  (Read 13080 times)
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
March 16, 2014, 01:27:38 PM
Last edit: March 16, 2014, 03:52:51 PM by ThomasV
 #1

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

Electrum: the convenience of a web wallet, without the risks
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714182337
Hero Member
*
Offline Offline

Posts: 1714182337

View Profile Personal Message (Offline)

Ignore
1714182337
Reply with quote  #2

1714182337
Report to moderator
btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
March 16, 2014, 01:49:11 PM
 #2

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.

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
March 16, 2014, 02:35:23 PM
 #3

Note: according to gmaxwell, the implementtion of these encrypt/decrypt is not secure.
I will try to fix them asap.

Electrum: the convenience of a web wallet, without the risks
Abdussamad
Legendary
*
Offline Offline

Activity: 3598
Merit: 1560



View Profile
March 16, 2014, 04:02:02 PM
 #4

Note: according to gmaxwell, the implementtion of these encrypt/decrypt is not secure.
I will try to fix them asap.

Thank you gmaxwell!
reaso2000
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 16, 2014, 04:46:52 PM
 #5

Hey, great work! However, the install still says 1.9.7!

r2k
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
March 17, 2014, 10:11:26 PM
 #6

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.

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
March 18, 2014, 02:31:04 PM
 #7

Nice !

gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
March 18, 2014, 03:04:34 PM
 #8

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)
dexX7
Legendary
*
Offline Offline

Activity: 1106
Merit: 1024



View Profile WWW
March 18, 2014, 03:55:44 PM
 #9

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?

EagleTM
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
March 18, 2014, 04:02:04 PM
 #10

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?
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
March 18, 2014, 04:09:53 PM
 #11

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"
}

Electrum: the convenience of a web wallet, without the risks
dexX7
Legendary
*
Offline Offline

Activity: 1106
Merit: 1024



View Profile WWW
March 18, 2014, 04:18:27 PM
 #12

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
}

roxtar
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile WWW
March 18, 2014, 06:11:06 PM
 #13

How are OSX users finding it? Stable?
btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
March 18, 2014, 09:17:39 PM
 #14

How are OSX users finding it? Stable?

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

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
RoxxR
Full Member
***
Offline Offline

Activity: 208
Merit: 148


View Profile
March 18, 2014, 10:09:35 PM
 #15

Daemon mode is broken under Windows.  Os.fork() cannot be used as it is not platform independent - it's a Linux-only function AFAIK.
ThomasV (OP)
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
March 22, 2014, 07:05:42 PM
 #16

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.

Electrum: the convenience of a web wallet, without the risks
Patron92
Full Member
***
Offline Offline

Activity: 234
Merit: 100



View Profile
March 23, 2014, 09:12:48 AM
 #17

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
dexX7
Legendary
*
Offline Offline

Activity: 1106
Merit: 1024



View Profile WWW
March 23, 2014, 08:55:30 PM
 #18

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. Smiley

Anyway, great job. I love Electrum!

bobdutica
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
March 25, 2014, 03:11:03 PM
 #19

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.
btcven
Hero Member
*****
Offline Offline

Activity: 715
Merit: 500


Bitcoin Venezuela


View Profile WWW
March 25, 2014, 03:30:52 PM
 #20

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. Smiley

Anyway, great job. I love Electrum!

non-P2SH multisig txs won't be standards anymore

Admin: rdymac (PGP) | contacto@bitcoinvenezuela.com | @cafebitcoin | Electrum, lightweight bitcoin client
If I've been helpful tip me a coffee! Cheesy1rdymachKZpA9pTYHYHMYZjfjnoBW6B3k Bitrated user: rdymac.
Pages: [1] 2 »  All
  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!