* Fix format_satoshi to properly handle non-integer values
Handling the integer and fraction parts together via string formatting
simplifies the initial composition because the default behavior manages
the - sign, and the incorporation of the fractional part.
* Limit fee rate output to one decimal place
Via a new precision arg
* Introduce format_fee_satoshis and use it for all fee display
function parameters should be lowercase
Fix crash on invalid labels import
Added invoice exporting and reduced duplicate code
Better exception handling
removed json module import
some more cleanup
Cleaned up some stuff
Added exporting contacts
Use exception hook from main thread for all threads
Use signal to delegate error window creation to GUI thread
Add more information to issue template
Update to PyQt5
Switch from Github to REST-Service
Report to web service instead of opening the browser
Fix imports
Change crashhub URL to electrum.org server
Explain that exception hooks are only used in the Qt Gui now
This fixes this error:
raceback (most recent call last):
File "/usr/bin/electrum", line 98, in <module>
from electrum import bitcoin, network
File "/usr/lib/python3.6/site-packages/electrum/__init__.py", line 2, in <module>
from util import format_satoshis, print_msg, print_error, set_verbosity
File "/usr/lib/python3.6/site-packages/electrum/util.py", line 537
except socket.error, err:
Also, other exceptions in this file use the except X as Y syntax.