mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
LBRY Vault; LBRY Credits thin client
First, close the socket from the thread itself rather than from the stop() function. This prevents another thread closing the socket that the interface thread is simultaneously using. Second, it occasionally would happen that the parent thread such as network.py start() an interface, do a send_request() and timeout waiting for a response (timeouts are 0.1s). It would check is_connected(), get False, and assume the connection has failed. In fact the thread hadn't even been scheduled or gotten around to completing the socket connection. Fix by having self.connected start out True. If the connection fails or times out, we set connected to False soon enough. Finally for correctness we need to deepcopy a send_request() rather than take a reference to it. |
||
---|---|---|
contrib | ||
docs | ||
gui | ||
icons | ||
lib | ||
plugins | ||
pubkeys | ||
scripts | ||
.gitignore | ||
.travis.yml | ||
app.fil | ||
AUTHORS | ||
electrum | ||
electrum-env | ||
electrum.conf.sample | ||
electrum.desktop | ||
electrum.icns | ||
icons.qrc | ||
Info.plist | ||
LICENCE | ||
MANIFEST.in | ||
README | ||
RELEASE-NOTES | ||
setup-release.py | ||
setup.py |
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