e6020975a51f8f0d9e739d860454b2ade5b80e1f
Rework the way the daemon and server are created. If we might want to create a daemon, try to grab the lockfile with O_EXCL. If we got it, create a server and daemon, otherwise try and connect to the server. If connecting to the server fails (including after sleeping a little in case the server was recently created), remove the lockfile and start over. Other fix: shut down network gracefully on daemon exit. Fixes #1638
Electrum - lightweight Bitcoin client
=====================================
::
Licence: GNU GPL v3
Author: Thomas Voegtlin
Language: Python
Homepage: https://electrum.org/
.. image:: https://travis-ci.org/spesmilo/electrum.svg?branch=master
:target: https://travis-ci.org/spesmilo/electrum
:alt: Build Status
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
------------------------------------
On Linux/Windows::
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%