fe5be618db35eb8b2148865e2bdff350a062ff58
A couple of changes 1) Old electrum wallets seemed to save labels in latin1, when you call json.dumps on line 83/84 it fails silently, which causes the label import to fail. Whenever electrum saves, it then overwrites your default wallet with no labels - essentially deleting all your labels. The solution to this is iterating over all the labels for old wallets decoding anything that fails to unicode() as latin1, and then unicoding it :) 2) Failing to import data and then deleting it is bad. So I'm raising an exception to avoid data being lost.
Electrum - lightweight Bitcoin client Licence: GNU GPL v3 Author: Thomas Voegtlin Language: Python Homepage: https://electrum.org/ 1. GETTING STARTED ------------------ To run Electrum from this directory, just do: ./electrum If you install Electrum on your system, you can run it from any directory. If you have pip, you can do: python setup.py sdist sudo pip install --pre dist/Electrum-2.0.tar.gz If you don't have pip, install with: python setup.py sdist sudo python setup.py install To start Electrum from your web browser, see http://electrum.org/bitcoin_URIs.html 2. HOW OFFICIAL PACKAGES ARE CREATED ------------------------------------ python mki18n.py pyrcc4 icons.qrc -o gui/qt/icons_rc.py python setup.py sdist --format=zip,gztar On Mac OS X: # On port based installs sudo python setup-release.py py2app # On brew installs ARCHFLAGS="-arch i386 -arch x86_64" sudo python setup-release.py py2app --includes sip sudo hdiutil create -fs HFS+ -volname "Electrum" -srcfolder dist/Electrum.app dist/electrum-VERSION-macosx.dmg
Description
Languages
Python
89.1%
QML
8.4%
Shell
2%
Dockerfile
0.2%
Java
0.2%
Other
0.1%