Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 604822

Summary: net-misc/electrum-3.0.3 version bump and switch to PyQt5
Product: Gentoo Linux Reporter: Jura <me>
Component: Current packagesAssignee: Anthony Basile <blueness>
Severity: normal CC: anton.kochkov, luke-jr+gentoobugs, maksverver, zmedico
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on: 641426    
Bug Blocks: 631788    

Description Jura 2017-01-06 11:00:43 UTC
Comment 1 Diogo Pereira 2017-02-25 14:06:03 UTC
2.7.18 is out
Comment 2 Anton Kochkov 2017-11-11 15:26:47 UTC
Version 3.0.1 is out

# Release 3.0.1
  * minor bug and usability fixes

# Release 3.0 - Uncanny Valley (November 1st, 2017)

  * The project was migrated to Python3 and Qt5. Python2 is no longer
    supported. If you cloned the source repository, you will need to
    run "python3 install" in order to install the new

  * Segwit support: 

    - Native segwit scripts are supported using a new type of
      seed. The version number for segwit seeds is 0x100. The install
      wizard will not create segwit seeds by default; users must
      opt-in with the segwit option.

    - Native segwit scripts are represented using bech32 addresses,
      following BIP173. Please note that BIP173 is still in draft
      status, and that other wallets/websites may not support
      it. Thus, you should keep a non-segwit wallet in order to be
      able to receive bitcoins during the transition period. If BIP173
      ends up being rejected or substantially modified, your wallet
      may have to be restored from seed. This will not affect funds
      sent to bech32 addresses, and it will not affect the capacity of
      Electrum to spend these funds.

    - Segwit scripts embedded in p2sh are supported with hardware
      wallets or bip39 seeds. To create a segwit-in-p2sh wallet,
      trezor/ledger users will need to enter a BIP49 derivation path.

    - The BIP32 master keys of segwit wallets are serialized using new
      version numbers. The new version numbers encode the script type,
      and they result in the following prefixes:

         * xpub/xprv : p2pkh or p2sh
         * ypub/yprv : p2wpkh-in-p2sh
         * Ypub/Yprv : p2wsh-in-p2sh
         * zpub/zprv : p2wpkh
         * Zpub/Zprv : p2wsh

      These values are identical for mainnet and testnet; tpub/tprv
      prefixes are no longer used in testnet wallets.

    - The Wallet Import Format (WIF) is similarly extended for segwit
      scripts. After a base58-encoded key is decoded to binary, its
      first byte encodes the script type:

         * 128 + 0: p2pkh
         * 128 + 1: p2wpkh
         * 128 + 2: p2wpkh-in-p2sh
         * 128 + 5: p2sh
         * 128 + 6: p2wsh
         * 128 + 7: p2wsh-in-p2sh

      The distinction between p2sh and p2pkh in private key means that
      it is not possible to import a p2sh private key and associate it
      to a p2pkh address.

  * A new version of the Electrum protocol is required by the client
    (version 1.1). Servers using older versions of the protocol will
    not be displayed in the GUI.

  * By default, transactions are time-locked to the height of the
    current block. Other values of locktime may be passed using the
    command line.
Comment 3 Stijn Tintel 2017-12-05 15:37:49 UTC
Meanwhile 3.0.2 has been released:

# Release 3.0.2
  * Android: replace requests tab with address tab, with access to
    private keys
  * sweeping minikeys: search for both compressed and uncompressed
  * fix wizard crash when attempting to reset Google Authenticator
  * fix #3248: fix Ledger+segwit signing
  * fix #3262: fix SSL payment request signing
* other minor fixes.
Comment 4 Zac Medico gentoo-dev 2017-12-17 02:50:56 UTC
I was able to get electrum-3.0.3 working locally.

One of the issues I had what the xmlrpclib import error like this:

>   import OpenSSL.SSL
> Error: No module named 'xmlrpclib'. Try 'sudo pip install <module-name>'

Taking a hint from, it worked after I installed the "jsonrpclib-pelix" fork from here:
Comment 5 Larry the Git Cow gentoo-dev 2017-12-17 04:07:50 UTC
The bug has been closed via the following commit(s):

commit 1445ea28cf532f159c4b90d10742aaaa0b47f4ea
Author:     Zac Medico <>
AuthorDate: 2017-12-17 04:05:46 +0000
Commit:     Zac Medico <>
CommitDate: 2017-12-17 04:07:42 +0000

    net-misc/electrum: version bump to 3.0.3
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/electrum/Manifest              |   1 +
 net-misc/electrum/electrum-3.0.3.ebuild | 166 ++++++++++++++++++++++++++++++++
 2 files changed, 167 insertions(+)