33a8348d4896e8369e46191f94569b958c2cdd61
Whilst it's not a good idea to have two electrum instances open on the same wallet, we should avoid throwing an exception. Also note how the old code's handling of the exception (caused by both renaming the file almost at the same time, rather than a non-POSIX system not supporting the atomic rename) can lead to the wallet file being lost enirely because os.remove(self.path) succeeds and the rename of the temporary no-longer-existing file then fails.
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%