Giter Site home page Giter Site logo

mazaclub / encompass Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 22.0 13.2 MB

BIP-0044 compliant multi-currency wallet based on Electrum. Extendable with ChainKey modules to most coins!

License: GNU General Public License v3.0

Shell 3.70% Python 95.34% CSS 0.36% Protocol Buffer 0.24% Groff 0.11% NSIS 0.25%

encompass's People

Contributors

admin-slush avatar btchip avatar chrisglass avatar codinganarchy avatar dabura667 avatar darrindaigle avatar dithi avatar dpdtex avatar enigmacurry avatar flatfly avatar genjix avatar grnbrg avatar guruvan avatar jimboman77 avatar kazcw avatar kefkius avatar m0mchil avatar mkramlich avatar museack avatar nelisky avatar neocogent avatar ortutay avatar ovidiusoft avatar rofl0r avatar samueltardieu avatar stefaang avatar stittshappening avatar thgh avatar waheebyaqub avatar wozz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

encompass's Issues

Cannot switch chains from GUI when daemon is running

When the daemon is running and one tries to switch active chains from the GUI, an error is thrown:

  File "/path/to/qt/main_window.py", line 1832, in change_currency
    self.network.switch_to_active_chain()
  File "/path/to/lib/network_proxy.py", line 82, in switch_to_active_chain
    self.network.stop()
AttributeError: 'NoneType' object has no attribute 'stop'

To reproduce:

# this starts the daemon
./encompass history
# then, this starts the GUI
./encompass

When the GUI appears, try to change the active chain.

Relevant observations:
If an existing socket is passed to NetworkProxy's __init__ method, that NetworkProxy's network attribute is set to None.

Missing upstream

As this is a fork of electrum-2.0, why is the upstream missing?

Are there plans to keep track of upstream development?

namecoin and coloredcoin

If I had two wishes for coins to add it would be the ones in the title, which are not going to be straight forward...

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/14723922-namecoin-and-coloredcoin?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

setchain with daemon does not switch electrum-server

When changing chain with only the daemon running, encompass does not switch to the new chain electrum-servers. (today's version of develop branch).

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24346284-setchain-with-daemon-does-not-switch-electrum-server?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

issue with getbalance <address>

Tested on:
Ubuntu 14.04 32bit Desktop
Ubuntu 14.10 64bit Server

I have cloned master git https://github.com/guruvan/encompass.git and use "setchain DASH", in your last version Encompass-0.4.4.tar.gz there is no "DASH" only DRK.

I have tried to getbalance - seccessfull, but when i put specific adddress, for example:

root@user-virtual-machine:/home/user/encompass# encompass getbalance
Connected to daemon on port 8001
{
"confirmed": "0.9958"
}
root@user-virtual-machine:/home/user/encompass# encompass getbalance XcRm6J54STg4qRru9i3rxfr8fXeV3ng9MM
Connected to daemon on port 8001
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/EGG-INFO/scripts/encompass", line 134, in run_command
result = func(*args[1:])
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/commands.py", line 226, in getbalance
c, u = self.wallet.get_account_balance(account)
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/wallet.py", line 554, in get_account_balance
return self.get_balance(self.get_account_addresses(account))
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/wallet.py", line 551, in get_account_addresses
return o
UnboundLocalError: local variable 'o' referenced before assignment
Exception in thread Thread-2 (most likely raised during interpreter shutdown):Exception in thread Thread-3 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/synchronizer.py", line 65, in run File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner

File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/synchronizer.py", line 127, in run_interface File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/verifier.py", line 115, in run

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Empty'<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Empty'

root@user-virtual-machine:/home/user/encompass#

PAYTO work!

root@user-virtual-machine:/home/user/encompass# encompass payto XvXKqYwV2pAMTQfcnnoLZitEwYrPPjzyAF 0.9957
Password:
Connected to daemon on port 8001
sec XFncWrdkxMtXwLZqMZsiACr9qSuXVzSsZvwPKkXkZK1UrEUrJquu
"f1e2a76332de02d73a6a42e282f4ebb0051613a65ebaa0a9780a0c1bfcd4b14c"
root@user-virtual-machine:/home/user/encompass#

0.5.0 payto issue

Hi guys,

I'm testing new version of encompass on ubuntu 14.04 32bit server.
"Payto" option still doesn't work

root@ubuntu:/home/user/addrgen-master# encompass getaddressbalance XyAp67RLAXUizQDZ4iLb9SSzpwBGDbFZAb
Connected to daemon on port 8001
{
"confirmed": "0.5",
"unconfirmed": "0"
}
root@ubuntu:/home/user/addrgen-master# encompass payto Xbk2ht3TvgvmPJhmudL8JQv4w1sd2HMA2K 0.4 -f 0.001
Connected to daemon on port 8001
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.5.0-py2.7.egg/EGG-INFO/scripts/encompass", line 171, in run_command
result = func(*args[1:])
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.5.0-py2.7.egg/chainkey/commands.py", line 323, in payto
tx = self._mktx([(to_address, amount)], fee, change_addr, domain)
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.5.0-py2.7.egg/chainkey/commands.py", line 312, in _mktx
return self.wallet.mktx(final_outputs, self.password, fee , change_addr, domain)
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.5.0-py2.7.egg/chainkey/wallet.py", line 817, in mktx
tx = self.make_unsigned_transaction(outputs, fee, change_addr, domain, coins)
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.5.0-py2.7.egg/chainkey/wallet.py", line 760, in make_unsigned_transaction
coins = self.get_unspent_coins(domain)
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.5.0-py2.7.egg/chainkey/wallet.py", line 576, in get_unspent_coins
if tx is None: raise Exception("Wallet not synchronized")
Exception: Wallet not synchronized
Exception in thread Thread-2 (most likely raised during interpreter shutdown):Exception in thread Thread-3 (most likely raised during interpreter shutdown):
Traceback (most recent call last):

Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.5.0-py2.7.egg/chainkey/synchronizer.py", line 65, in run
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.5.0-py2.7.egg/chainkey/verifier.py", line 115, in run
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.5.0-py2.7.egg/chainkey/synchronizer.py", line 127, in run_interface

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Empty'<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Empty'

root@ubuntu:/home/user/addrgen-master#


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

error: Could not find required distribution pyasn1

Running install runs into issues.

 encompass $ sudo python2 setup.py install
[sudo] password for elan: 
Including all files
running install
/usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2512: PEP440Warning: 'Beaker (1.6.5dev-r0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
running bdist_egg
running egg_info
creating Encompass.egg-info
writing requirements to Encompass.egg-info/requires.txt
writing Encompass.egg-info/PKG-INFO
writing top-level names to Encompass.egg-info/top_level.txt
writing dependency_links to Encompass.egg-info/dependency_links.txt
writing manifest file 'Encompass.egg-info/SOURCES.txt'
file gui/qt/icons_rc.py (for module chainkey_gui.qt.icons_rc) not found
reading manifest file 'Encompass.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.py' under directory 'packages'
warning: no files found matching '*.mo' under directory 'locale'
writing manifest file 'Encompass.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
file gui/qt/icons_rc.py (for module chainkey_gui.qt.icons_rc) not found
creating build
creating build/lib
creating build/lib/chainkey
copying lib/__init__.py -> build/lib/chainkey
copying lib/account.py -> build/lib/chainkey
copying lib/bitcoin.py -> build/lib/chainkey
copying lib/blockchain.py -> build/lib/chainkey
copying lib/bmp.py -> build/lib/chainkey
copying lib/chainparams.py -> build/lib/chainkey
copying lib/commands.py -> build/lib/chainkey
copying lib/daemon.py -> build/lib/chainkey
copying lib/i18n.py -> build/lib/chainkey
copying lib/interface.py -> build/lib/chainkey
copying lib/mnemonic.py -> build/lib/chainkey
copying lib/msqr.py -> build/lib/chainkey
copying lib/network.py -> build/lib/chainkey
copying lib/network_proxy.py -> build/lib/chainkey
copying lib/old_mnemonic.py -> build/lib/chainkey
copying lib/paymentrequest.py -> build/lib/chainkey
copying lib/paymentrequest_pb2.py -> build/lib/chainkey
copying lib/plugins.py -> build/lib/chainkey
copying lib/qrscanner.py -> build/lib/chainkey
copying lib/simple_config.py -> build/lib/chainkey
copying lib/synchronizer.py -> build/lib/chainkey
copying lib/transaction.py -> build/lib/chainkey
copying lib/util.py -> build/lib/chainkey
copying lib/verifier.py -> build/lib/chainkey
copying lib/version.py -> build/lib/chainkey
copying lib/wallet.py -> build/lib/chainkey
copying lib/x509.py -> build/lib/chainkey
creating build/lib/chainkey/chains
copying lib/chains/__init__.py -> build/lib/chainkey/chains
copying lib/chains/bitcoin.py -> build/lib/chainkey/chains
copying lib/chains/cryptocur.py -> build/lib/chainkey/chains
copying lib/chains/mazacoin.py -> build/lib/chainkey/chains
copying lib/chains/scrypt.py -> build/lib/chainkey/chains
copying lib/chains/litecoin.py -> build/lib/chainkey/chains
copying lib/chains/viacoin.py -> build/lib/chainkey/chains
copying lib/chains/darkcoin.py -> build/lib/chainkey/chains
creating build/lib/chainkey_gui
copying gui/__init__.py -> build/lib/chainkey_gui
copying gui/gtk.py -> build/lib/chainkey_gui
creating build/lib/chainkey_gui/qt
copying gui/qt/__init__.py -> build/lib/chainkey_gui/qt
copying gui/qt/amountedit.py -> build/lib/chainkey_gui/qt
copying gui/qt/console.py -> build/lib/chainkey_gui/qt
copying gui/qt/history_widget.py -> build/lib/chainkey_gui/qt
copying gui/qt/installwizard.py -> build/lib/chainkey_gui/qt
copying gui/qt/lite_window.py -> build/lib/chainkey_gui/qt
copying gui/qt/main_window.py -> build/lib/chainkey_gui/qt
copying gui/qt/network_dialog.py -> build/lib/chainkey_gui/qt
copying gui/qt/password_dialog.py -> build/lib/chainkey_gui/qt
copying gui/qt/paytoedit.py -> build/lib/chainkey_gui/qt
copying gui/qt/qrcodewidget.py -> build/lib/chainkey_gui/qt
copying gui/qt/qrtextedit.py -> build/lib/chainkey_gui/qt
copying gui/qt/receiving_widget.py -> build/lib/chainkey_gui/qt
copying gui/qt/seed_dialog.py -> build/lib/chainkey_gui/qt
copying gui/qt/transaction_dialog.py -> build/lib/chainkey_gui/qt
copying gui/qt/util.py -> build/lib/chainkey_gui/qt
copying gui/qt/version_getter.py -> build/lib/chainkey_gui/qt
copying gui/stdio.py -> build/lib/chainkey_gui
copying gui/text.py -> build/lib/chainkey_gui
creating build/lib/chainkey_plugins
copying plugins/__init__.py -> build/lib/chainkey_plugins
copying plugins/btchipwallet.py -> build/lib/chainkey_plugins
copying plugins/coinbase_buyback.py -> build/lib/chainkey_plugins
copying plugins/cosigner_pool.py -> build/lib/chainkey_plugins
copying plugins/exchange_rate.py -> build/lib/chainkey_plugins
copying plugins/greenaddress_instant.py -> build/lib/chainkey_plugins
copying plugins/labels.py -> build/lib/chainkey_plugins
copying plugins/trezor.py -> build/lib/chainkey_plugins
copying plugins/virtualkeyboard.py -> build/lib/chainkey_plugins
copying plugins/plot.py -> build/lib/chainkey_plugins
file gui/qt/icons_rc.py (for module chainkey_gui.qt.icons_rc) not found
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/greenaddress_instant.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/trezor.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/coinbase_buyback.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/plot.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/exchange_rate.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/cosigner_pool.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/btchipwallet.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/__init__.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/virtualkeyboard.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
copying build/lib/chainkey_plugins/labels.py -> build/bdist.linux-x86_64/egg/chainkey_plugins
creating build/bdist.linux-x86_64/egg/chainkey_gui
copying build/lib/chainkey_gui/gtk.py -> build/bdist.linux-x86_64/egg/chainkey_gui
copying build/lib/chainkey_gui/__init__.py -> build/bdist.linux-x86_64/egg/chainkey_gui
copying build/lib/chainkey_gui/text.py -> build/bdist.linux-x86_64/egg/chainkey_gui
creating build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/qrcodewidget.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/qrtextedit.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/receiving_widget.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/amountedit.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/paytoedit.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/seed_dialog.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/util.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/main_window.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/history_widget.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/transaction_dialog.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/password_dialog.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/network_dialog.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/lite_window.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/version_getter.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/__init__.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/installwizard.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/qt/console.py -> build/bdist.linux-x86_64/egg/chainkey_gui/qt
copying build/lib/chainkey_gui/stdio.py -> build/bdist.linux-x86_64/egg/chainkey_gui
creating build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/commands.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/mnemonic.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/qrscanner.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/version.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/network.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/bitcoin.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/network_proxy.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/simple_config.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/verifier.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/wallet.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/bmp.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/interface.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/x509.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/msqr.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/plugins.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/util.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/paymentrequest.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/daemon.py -> build/bdist.linux-x86_64/egg/chainkey
creating build/bdist.linux-x86_64/egg/chainkey/chains
copying build/lib/chainkey/chains/darkcoin.py -> build/bdist.linux-x86_64/egg/chainkey/chains
copying build/lib/chainkey/chains/cryptocur.py -> build/bdist.linux-x86_64/egg/chainkey/chains
copying build/lib/chainkey/chains/bitcoin.py -> build/bdist.linux-x86_64/egg/chainkey/chains
copying build/lib/chainkey/chains/mazacoin.py -> build/bdist.linux-x86_64/egg/chainkey/chains
copying build/lib/chainkey/chains/viacoin.py -> build/bdist.linux-x86_64/egg/chainkey/chains
copying build/lib/chainkey/chains/litecoin.py -> build/bdist.linux-x86_64/egg/chainkey/chains
copying build/lib/chainkey/chains/scrypt.py -> build/bdist.linux-x86_64/egg/chainkey/chains
copying build/lib/chainkey/chains/__init__.py -> build/bdist.linux-x86_64/egg/chainkey/chains
copying build/lib/chainkey/synchronizer.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/old_mnemonic.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/i18n.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/__init__.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/transaction.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/blockchain.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/account.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/paymentrequest_pb2.py -> build/bdist.linux-x86_64/egg/chainkey
copying build/lib/chainkey/chainparams.py -> build/bdist.linux-x86_64/egg/chainkey
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/greenaddress_instant.py to greenaddress_instant.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/trezor.py to trezor.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/coinbase_buyback.py to coinbase_buyback.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/plot.py to plot.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/exchange_rate.py to exchange_rate.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/cosigner_pool.py to cosigner_pool.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/btchipwallet.py to btchipwallet.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/virtualkeyboard.py to virtualkeyboard.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_plugins/labels.py to labels.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/gtk.py to gtk.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/text.py to text.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/qrcodewidget.py to qrcodewidget.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/qrtextedit.py to qrtextedit.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/receiving_widget.py to receiving_widget.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/amountedit.py to amountedit.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/paytoedit.py to paytoedit.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/seed_dialog.py to seed_dialog.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/util.py to util.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/main_window.py to main_window.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/history_widget.py to history_widget.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/transaction_dialog.py to transaction_dialog.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/password_dialog.py to password_dialog.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/network_dialog.py to network_dialog.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/lite_window.py to lite_window.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/version_getter.py to version_getter.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/installwizard.py to installwizard.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/qt/console.py to console.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey_gui/stdio.py to stdio.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/commands.py to commands.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/mnemonic.py to mnemonic.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/qrscanner.py to qrscanner.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/version.py to version.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/network.py to network.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/bitcoin.py to bitcoin.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/network_proxy.py to network_proxy.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/simple_config.py to simple_config.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/verifier.py to verifier.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/wallet.py to wallet.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/bmp.py to bmp.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/interface.py to interface.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/x509.py to x509.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/msqr.py to msqr.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/plugins.py to plugins.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/util.py to util.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/paymentrequest.py to paymentrequest.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/daemon.py to daemon.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/chains/darkcoin.py to darkcoin.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/chains/cryptocur.py to cryptocur.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/chains/bitcoin.py to bitcoin.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/chains/mazacoin.py to mazacoin.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/chains/viacoin.py to viacoin.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/chains/litecoin.py to litecoin.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/chains/scrypt.py to scrypt.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/chains/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/synchronizer.py to synchronizer.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/old_mnemonic.py to old_mnemonic.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/i18n.py to i18n.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/transaction.py to transaction.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/blockchain.py to blockchain.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/account.py to account.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/paymentrequest_pb2.py to paymentrequest_pb2.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainkey/chainparams.py to chainparams.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
copying encompass.desktop -> /usr/share/applications/
creating /usr/share/app-install
creating /usr/share/app-install/icons
copying icons/encompass.png -> /usr/share/app-install/icons/
creating /usr/share/encompass
copying data/README -> /usr/share/encompass
creating /usr/share/encompass/cleanlook
copying data/cleanlook/name.cfg -> /usr/share/encompass/cleanlook
copying data/cleanlook/style.css -> /usr/share/encompass/cleanlook
creating /usr/share/encompass/sahara
copying data/sahara/name.cfg -> /usr/share/encompass/sahara
copying data/sahara/style.css -> /usr/share/encompass/sahara
creating /usr/share/encompass/dark
copying data/dark/name.cfg -> /usr/share/encompass/dark
copying data/dark/style.css -> /usr/share/encompass/dark
creating /usr/share/encompass/wordlist
copying data/wordlist/portuguese.txt -> /usr/share/encompass/wordlist
copying data/wordlist/spanish.txt -> /usr/share/encompass/wordlist
copying data/wordlist/japanese.txt -> /usr/share/encompass/wordlist
copying data/wordlist/english.txt -> /usr/share/encompass/wordlist
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-2.7
copying and adjusting encompass -> build/scripts-2.7
changing mode of build/scripts-2.7/encompass from 644 to 755
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/encompass -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/encompass to 755
copying Encompass.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Encompass.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Encompass.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Encompass.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Encompass.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
chainkey.daemon: module references __file__
chainkey.plugins: module references __path__
creating dist
creating 'dist/Encompass-0.4.4-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing Encompass-0.4.4-py2.7.egg
creating /usr/lib/python2.7/site-packages/Encompass-0.4.4-py2.7.egg
Extracting Encompass-0.4.4-py2.7.egg to /usr/lib/python2.7/site-packages
Adding Encompass 0.4.4 to easy-install.pth file
Installing encompass script to /usr/bin

Installed /usr/lib/python2.7/site-packages/Encompass-0.4.4-py2.7.egg
Processing dependencies for Encompass==0.4.4
Searching for ltc-scrypt
Reading https://pypi.python.org/simple/ltc_scrypt/
Best match: ltc-scrypt 1.0
Downloading https://pypi.python.org/packages/source/l/ltc_scrypt/ltc_scrypt-1.0.tar.gz#md5=7d019c3c98f16eb466a272e518ffb014
Processing ltc_scrypt-1.0.tar.gz
Writing /tmp/easy_install-sX38Pl/ltc_scrypt-1.0/setup.cfg
Running ltc_scrypt-1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-sX38Pl/ltc_scrypt-1.0/egg-dist-tmp-hiYf1W
zip_safe flag not set; analyzing archive contents...
Moving ltc_scrypt-1.0-py2.7-linux-x86_64.egg to /usr/lib/python2.7/site-packages
Adding ltc-scrypt 1.0 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/ltc_scrypt-1.0-py2.7-linux-x86_64.egg
Searching for tlslite
Reading https://pypi.python.org/simple/tlslite/
Reading http://trevp.net/tlslite/
Best match: tlslite 0.4.8
Downloading https://pypi.python.org/packages/source/t/tlslite/tlslite-0.4.8.tar.gz#md5=36c13858ea63f262c4e4291c2f9ae38f
Processing tlslite-0.4.8.tar.gz
Writing /tmp/easy_install-PZNlMT/tlslite-0.4.8/setup.cfg
Running tlslite-0.4.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-PZNlMT/tlslite-0.4.8/egg-dist-tmp-xNKk80
zip_safe flag not set; analyzing archive contents...
Moving tlslite-0.4.8-py2.7.egg to /usr/lib/python2.7/site-packages
Adding tlslite 0.4.8 to easy-install.pth file
Installing tlsdb.py script to /usr/bin
Installing tls.py script to /usr/bin

Installed /usr/lib/python2.7/site-packages/tlslite-0.4.8-py2.7.egg
Searching for SocksiPy-branch
Reading https://pypi.python.org/simple/SocksiPy-branch/
/usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2512: PEP440Warning: 'SocksiPy (branch-1.01)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
Best match: SocksiPy-branch 1.1
Downloading https://pypi.python.org/packages/source/S/SocksiPy-branch/SocksiPy-branch-1.01.tar.gz#md5=a59e29647320211202ce79b0cf873106
Processing SocksiPy-branch-1.01.tar.gz
Writing /tmp/easy_install-P7uqr7/SocksiPy-branch-1.01/setup.cfg
Running SocksiPy-branch-1.01/setup.py -q bdist_egg --dist-dir /tmp/easy_install-P7uqr7/SocksiPy-branch-1.01/egg-dist-tmp-RZvaxf
/usr/lib/python2.7/site-packages/setuptools/dist.py:282: UserWarning: Normalizing '1.01' to '1.1'
  normalized_version,
zip_safe flag not set; analyzing archive contents...
Moving SocksiPy_branch-1.1-py2.7.egg to /usr/lib/python2.7/site-packages
Adding SocksiPy-branch 1.1 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/SocksiPy_branch-1.1-py2.7.egg
Searching for qrcode
Reading https://pypi.python.org/simple/qrcode/
Best match: qrcode 5.1
Downloading https://pypi.python.org/packages/source/q/qrcode/qrcode-5.1.tar.gz#md5=1f20223419bbf992208ada0c12ed4577
Processing qrcode-5.1.tar.gz
Writing /tmp/easy_install-EwXHok/qrcode-5.1/setup.cfg
Running qrcode-5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-EwXHok/qrcode-5.1/egg-dist-tmp-SjuVAj
zip_safe flag not set; analyzing archive contents...
Moving qrcode-5.1-py2.7.egg to /usr/lib/python2.7/site-packages
Adding qrcode 5.1 to easy-install.pth file
Installing qr script to /usr/bin

Installed /usr/lib/python2.7/site-packages/qrcode-5.1-py2.7.egg
Searching for pyasn1-modules
Reading https://pypi.python.org/simple/pyasn1-modules/
/usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2512: PEP440Warning: 'pyasn1 (modules-0.0.1a)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
/usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2512: PEP440Warning: 'pyasn1 (modules-0.0.2)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
/usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2512: PEP440Warning: 'pyasn1 (modules-0.0.3)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
/usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2512: PEP440Warning: 'pyasn1 (modules-0.0.4)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
/usr/lib/python2.7/site-packages/pkg_resources/__init__.py:2512: PEP440Warning: 'pyasn1 (modules-0.0.5)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
Best match: pyasn1-modules 0.0.5
Downloading https://pypi.python.org/packages/2.7/p/pyasn1-modules/pyasn1_modules-0.0.5-py2.7.egg#md5=45833a383743e71b38853eb7ab63b86a
Processing pyasn1_modules-0.0.5-py2.7.egg
Moving pyasn1_modules-0.0.5-py2.7.egg to /usr/lib/python2.7/site-packages
Adding pyasn1-modules 0.0.5 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/pyasn1_modules-0.0.5-py2.7.egg
Searching for pyasn1
Best match: pyasn1 modules-0.0.5
Downloading https://pypi.python.org/packages/source/p/pyasn1-modules/pyasn1-modules-0.0.5.tar.gz#md5=6c5c9dd61a5784ff22695ac233cb11f8
Processing pyasn1-modules-0.0.5.tar.gz
Writing /tmp/easy_install-dLmS0c/pyasn1-modules-0.0.5/setup.cfg
Running pyasn1-modules-0.0.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-dLmS0c/pyasn1-modules-0.0.5/egg-dist-tmp-mexq4N
Removing /usr/lib/python2.7/site-packages/pyasn1_modules-0.0.5-py2.7.egg
Moving pyasn1_modules-0.0.5-py2.7.egg to /usr/lib/python2.7/site-packages
pyasn1-modules 0.0.5 is already the active version in easy-install.pth

Installed /usr/lib/python2.7/site-packages/pyasn1_modules-0.0.5-py2.7.egg
error: Could not find required distribution pyasn1

Rerunning install after that works as expected. Why the hiccup?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

SSL certificates

I didn't noticed before, but I did an install of the released OSX pkg on a clean mac, the SSL certificates don't download. I have to resort using TCP connections only.

If I download the Github master repo, install the python requirements, etc, and launch Encompass with "python encompass" it works well.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Release/v0.5.0RC branch commits

I have been browsing the changes in the Release branch, and have two questions:

  1. On commit 3b91b31 (multisig derivation), wallet.py was modified to include the "purpose" 1491 (instead of 44) - as explained in the proposed new draft BIP by Encompass. Does this number represent an official BIP number?
  2. With Encompass, Trezor requires /trezor/python-trezor Github repo to be installed. Are there plans to include the installation of that library in the setup.py and setup-release.py files (similar to darkcoin-hash)?

Trezor Support

What's the status of Trezor hardware support? Electrum 2.0 works with Trezor, what are the plans for encompass?

I'm asking because we are currently putting alot of work into electrum porting and maintainance, but it looks like encompass is the better product in the end, and we might join our effords and work on this together.

Validating Integrity and Authenticity of Encompass-0.5.0-OSX_Installer.pkg

Was looking at https://maza.club/encompass#. Direction appear to be a little off under the OSX Example: section.
Anyhow, here are my results:

% gpg --verify Encompass-0.5.0-OSX_Installer.pkg.asc
gpg: assuming signed data in `Encompass-0.5.0-OSX_Installer.pkg'
gpg: Signature made Thu Apr 30 05:08:27 2015 EDT using RSA key ID CBFFB73C
gpg: requesting key CBFFB73C from hkps server hkps.pool.sks-keyservers.net
gpgkeys: HTTP fetch error 60: SSL certificate problem: Invalid certificate chain
gpg: DBG: armor-keys-failed (KEY 0x0A020276CBFFB73C BEGIN
) ->0
gpg: DBG: armor-keys-failed (KEY 0x0A020276CBFFB73C FAILED 1
) ->1
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver helper internal error
gpg: keyserver communications error: general error
gpg: Can't check signature: public key not found

Multisig between Electrum and Encompass

If I try to establish a 2-2 multisig wallet between two Encompass clients. The process works well. The same addresses are generated on both clients.

However, If I try to create a 2-2 wallet between Encompass and Electrum 2.1 (latest Github), the addresses generated by both wallets, although, all starting with "3" are completely different. Furthermore, the Electrum client doesn't recognize a transaction signed by Encompass and vice-versa.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10536809-multisig-between-electrum-and-encompass?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

no module named ltc_scrypt

Running ./encompass complains about missing python modules.

I know how to install the modules, but is there a preferred way, maybe to install all dependencies at once? This could be documented somehow.

OS X Build Error 10.10.2 ImportError: No module named ltc_scrypt

Traceback (most recent call last):
File "setup-release.py", line 17, in
from lib.util import print_error
File "/Users/steven.rogers/Projects/encompass/lib/init.py", line 3, in
from wallet import WalletSynchronizer, WalletStorage
File "/Users/steven.rogers/Projects/encompass/lib/wallet.py", line 29, in
import chainparams
File "/Users/steven.rogers/Projects/encompass/lib/chainparams.py", line 3, in
import chains
File "/Users/steven.rogers/Projects/encompass/lib/chains/init.py", line 3, in
import ltc_scrypt
ImportError: No module named ltc_scrypt

Latest Develop branch 20150613: can't change currency from GUI on a Trezor

Traceback (most recent call last):
File "/Users/xxx/Documents/C7.Github/encompass/lib/plugins.py", line 51, in run_hook
r = f(_args)
File "/Users/xxx/Documents/C7.Github/encompass/plugins/trezor.py", line 119, in close_wallet
self.wallet.client.clear_session()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/trezor-0.6.3-py2.7.egg/trezorlib/client.py", line 68, in wrapped_f
ret = f(_args, *_kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/trezor-0.6.3-py2.7.egg/trezorlib/client.py", line 82, in wrapped_f
ret = f(_args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/trezor-0.6.3-py2.7.egg/trezorlib/client.py", line 438, in clear_session
return self.call(proto.ClearSession())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/trezor-0.6.3-py2.7.egg/trezorlib/client.py", line 120, in call
resp = self.call_raw(msg)
File "/Users/xxx/Documents/C7.Github/encompass/plugins/trezor.py", line 605, in call_raw
resp = BaseClient.call_raw(self, msg)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/trezor-0.6.3-py2.7.egg/trezorlib/client.py", line 109, in call_raw
self.transport.write(msg)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/trezor-0.6.3-py2.7.egg/trezorlib/transport.py", line 69, in write
self._write("##%s%s" % (header, ser), msg)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/trezor-0.6.3-py2.7.egg/trezorlib/transport_hid.py", line 108, in _write
self.hid.write([63, ] + list(msg[:63]) + [0] * (63 - len(msg[:63])))
AttributeError: 'NoneType' object has no attribute 'write'
Traceback (most recent call last):
File "/Users/xxx/Documents/C7.Github/encompass/gui/qt/main_window.py", line 1832, in change_currency
self.network.switch_to_active_chain()
File "/Users/xxx/Documents/C7.Github/encompass/lib/network_proxy.py", line 82, in switch_to_active_chain
self.network.stop()
AttributeError: 'NoneType' object has no attribute 'stop'

Import / Export labels (suggestion)

In current Encompass, exporting and importing labels must be done one currency at at time. This could become problematic if more and more currencies are added to Encompass.

The default filename is for exporting a currency's label is electrum_label.dat -> could this be changed to encompass_CURRENCY_label.dat ?
The import process doesn't have any way to check if the correct currency labels are being imported. It is possible to import MZC labels into the BTC wallet. I don't think this causes any specific problems but is confusing.

It would be better if all labels for all currencies could be exported into a single file. The format of the export file would have to be changed to be something like
BTC {
"0": "AccountName", "ADDRESS": "Label"
}
MZC {
"0": "AccountName", "ADDRESS": "Label"
}
etc...
Then have the import process parse the labels and place them into the proper currency, regardless of which currency is currently selected.

Error with setup.py install

When trying to install encompass (sudo python setup.py install), an error is generated:

"error: can't copy 'lib/chains': doesn't exist or not a regular file"

Somehow related to setup.py L59:

data_files += ('lib/chains', ['lib/chains/ltc_scrypt.so'])

Error occurs on both OSX and Linux.

Should Multisig master key be same for all chains or different per chain?

This is an explanation of an issue, along with a proposed solution.

Multisig Key Paths

Key Derivation

BIP-0044 specification

m   /   44H /   aH  /   bH  /   c   /   d

        ^       ^       ^       ^       ^
BIP44---|       |       |       |       |
                |       |       |       |
Coin Index------|       |       |       |
                        |       |       |
Account Num-------------|       |       |
                                |       |
is change? (0 or 1)-------------|       |
                                        |
address index---------------------------|

H means "hardened" - which means the public key cannot derive hardened children.

Current Derivation

Currently, the account node (bH above) is used in multisig wallets as the master public key. However, this
is below coin type (aH above). So depending on the active chain, the key will be different.

Since this is used as the master key, the keys for every chain will be the same, using the coin index that was active when the wallet was made. This is counterintuitive. Keys for Bitcoin may be derived with the Mazacoin chain index, if Mazacoin was the active chain when the wallet was created.

Mazacoin - first non-change address:
m   /   44H /   13H /   0H  /   0   /   0

Bitcoin - first non-change address:
m   /   44H /   13H /   0H  /   0   /   0

Above, you can see that the paths are the same for Bitcoin and Mazacoin, as Mazacoin was the active chain during wallet creation.

Proposal

Always use chain index 0 (Bitcoin) for deriving multisig keys.

Advantages

Predictable key derivation.

Disadvantages

The corresponding addresses for different chains would have the same RIPEMD 160 hash.
For example, if the first Bitcoin address is 1BitcoinEaterAddressDontSendf59kuE, the first Mazacoin address will be MJd3rEdBjc4Tjqby5dXoU5QDusfoAT8ce9. This is because the RIPEMD 160 hash that the address version is appended to is the same for each, 759d6677091e973b9e9d99f19c68fbf43e3f05f9.
This may be seen as either advantageous or disadvantageous, or neutral.

How to run different coin types?

This probably also needs some documentation.

I just tried to figure out how to switch to Darkcoin. Any hint? Can it be done at run time or do I have to pass any command line args? Would be nice to select the coin at first launch.

Or is it possible to use multiple currency wallets at once?

How are other bitcoin-core currencies added?

Hello, I had been pondering a way to connect an app to other blockchain networks in a universal way. How does this app tackle this problem?

My brief skimming of this app seems like there is no UI for this, and instead the app would have to be manually updated in the code and recompiled to add additional currencies.

What if there were network parameters on a third party server for each coin, and the user could browse coin networks, click one, and immediately have that network in their app of choice ie. encompass. Does this app have a way to facilitate that as is or what does it have?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

OS X Build Error 10.10.2

$ ARCHFLAGS="-arch i386 -arch x86_64" sudo python setup-release.py py2app --includes sip

Result:
Traceback (most recent call last):
File "setup-release.py", line 17, in
from lib.util import print_error
File "/Users/user/Projects/encompass/lib/init.py", line 3, in
from wallet import WalletSynchronizer, WalletStorage
File "/Users/user/Projects/encompass/lib/wallet.py", line 29, in
import chainparams
File "/Users/user/Projects/encompass/lib/chainparams.py", line 3, in
import chains
File "/Users/user/Projects/encompass/lib/chains/init.py", line 3, in
import ltc_scrypt
ImportError: dlopen(/Users/user/Projects/encompass/lib/chains/ltc_scrypt.so, 2): no suitable image found. Did find:
/Users/user/Projects/encompass/lib/chains/ltc_scrypt.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00

High CPU utilization while verifying blockheaders

Seems much more noticeable on the scrypt chains than others, but further testing and benchmarking is necessary.
The following is seen in large qty in the encompass -v output:

blockchain: request timeout

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9194120-high-cpu-utilization-while-verifying-blockheaders?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

Can only sign message when BTC selected

Tested with both Windows (setup.exe version) and Linux .tar.gz file. Unable to sign messages when DRK, MZC, VIA, or LTC are selected. Get "error: cannot sign message".

When BTC is selected I am able to sign messages. Ran linux version with -v, but it does not show any additional information.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

stuck transaction

tried to figure out where to go with my issue, ended up here

i have a stuck transaction in ltc (using trezor) its been like that for the last 24 hours, ive tried getrawtransaction then sendrawtransaction but it still stuck, even tried sending it via a normal litecoin core wallet, and also via an explorer that supports retransmitting but its still stuck, it shows up on some explorers but not in others:

tx:
264edac0fd35584fe0a5e3c6510a10a6af74200699eac1734a12358d6eb6fcfb

multisig with hardware wallets

I opened issues about multisig with hardware wallets on electrum, but Denis Letourneau asked me to also post them to encompass.
So here we go:
spesmilo/electrum#1093
spesmilo/electrum#1094

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/14723713-multisig-with-hardware-wallets?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

New Address Button fails if current address is unused

Wallet thinks it's smarter than me.

Won't let me click a new address in the "Receive" tab if the currently displayed address is not yet used.
(Wallet doesn't know I have funds on the way to that address and want to send more to a different one!)

Trezor not working on new OSX 0.6.0RC1 binary (pkg)

File "/Users/xxx/Documents/C7.Github/encompass/gui/qt/installwizard.py", line 384, in run
action = wallet.get_action()
AttributeError: 'NoneType' object has no attribute 'get_action'

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28507329-trezor-not-working-on-new-osx-0-6-0rc1-binary-pkg?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

0.5.0 importprivkey issue

I have tried to import private key from Windows version of encompass 0.5, but as result i got different public key

So, we have following:
Public: XhgzLnhQRtBnMu4UD3jeGqG2wkHivLdRAH
Private: XEhLVFuES2xk4FJUtUg4VBDTgUFmiSeMDk49A5kcKMuP4H9az3Ly

user@ubuntu:/encompass$ encompass importprivkey XEhLVFuES2xk4FJUtUg4VBDTgUFmiSeMDk49A5kcKMuP4H9az3Ly
[
"Keypair imported: ",
"1819WY3WUAyCCxTtMARRRJaF7Qi2wFA2PC"
]
user@ubuntu:
/encompass$

Windows version have same issue.

drk payto doesn't work

i'm trying to send "0.9959" to new wallet, but i got a lot of errors (Use Ubuntu server 14.10)

root@wallets:/.encompass# encompass getbalance
Connected to daemon on port 8001
{
"confirmed": "0.9959"
}
root@wallets:
/.encompass# encompass payto XhgzLnhQRtBnMu4UD3jeGqG2wkHivLdRAH 0.9959 --fee 0.001
Connected to daemon on port 8001
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/EGG-INFO/scripts/encompass", line 134, in run_command
result = func(*args[1:])
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/commands.py", line 323, in payto
tx = self._mktx([(to_address, amount)], fee, change_addr, domain)
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/commands.py", line 312, in _mktx
return self.wallet.mktx(final_outputs, self.password, fee , change_addr, domain)
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/wallet.py", line 802, in mktx
tx = self.make_unsigned_transaction(outputs, fee, change_addr, domain, coins)
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/wallet.py", line 745, in make_unsigned_transaction
coins = self.get_unspent_coins(domain)
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/wallet.py", line 561, in get_unspent_coins
if tx is None: raise Exception("Wallet not synchronized")
Exception: Wallet not synchronized
Exception in thread Thread-2 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
File "/usr/local/lib/python2.7/dist-packages/Encompass-0.4.4-py2.7.egg/chainkey/verifier.py", line 115, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Empty'
root@wallets:~/.encompass#

Multisig wallet private keys not available

When right-clicking on any address in a multisig wallet, and selecting "Private key", an error msg is generated:

'tuple' object has no attribute 'insert'

version 0.5.0

Encompass creates new addresses for coins unsupported by Trezor firwmare

With the Trezor connected, Encompass can also create addresses for MZC and VIA, even though the official firmware doesn't support them yet. Even though a msg is displayed, the danger for a user would be to forget about it, and send coins to some of those addresses, without the possibility to sign the transactions later (unless they would create their own private Trezor firmware).

Would't it be better to ask them if they have a private version of the firmware installed first? If yes, continue, if not, don't generate the addresses?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11087073-encompass-creates-new-addresses-for-coins-unsupported-by-trezor-firwmare?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

OSX El Capitan prevents command line install

The new System Integrity Protection feature in OS X 10.11 (El Capitan) prevents writing files in /System folders. This causes the current setup.py script to fail during the install execution.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27329879-osx-el-capitan-prevents-command-line-install?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

Command line not accepted when on Trezor wallet

If any command line is requested, when encompass is set on a Trezor wallet, the following error msg appears (ex: "encompass getbalance"):

Traceback (most recent call last):
File "encompass", line 387, in
wallet = Wallet(storage)
File "/Users/xxx/encompass-0.5.0/lib/wallet.py", line 1846, in new
raise BaseException('unknown wallet type', wallet_type)
BaseException: ('unknown wallet type', u'trezor')

It looks like Encompass (Electrum) is using different parts of the code when daemon command lines are used, compared to the GUI requests. In this case, wallet.py code seems to be used more extensively when command lines are used.

Updates?

Is Encompass still being developed? Read here that a RC2 version would be released 'within days' but that was months ago already. Will be sad to not see this project moving forward.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31711295-updates?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

Requests Root to Install, Will Not Install on Root

Please see terminal output below, running sudo does not help as the program stops with the same error:

pablo@System76:~$ '/home/pablo/Downloads/Encompass-0.5.0_Linux_x86_64-Installer.bin'

Encompass-0.5.0 for Linux-x86_64
by mazaclub - Lead Author, Tyler Willis, release manager, Rob Nelson

based on Electrum, By Thomas Voegtlin
Global install Requires root privileges, installs Encompass

Extracting file into /tmp/Encompass-0.5.0
tail: cannot open ‘/home/pablo//home/pablo/Downloads/Encompass-0.5.0_Linux_x86_64-Installer.bin’ for reading: No such file or directory

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Installing Encompass-0.5.0

/home/pablo/Downloads/Encompass-0.5.0_Linux_x86_64-Installer.bin: line 84: cd: /tmp/Encompass-0.5.0: No such file or directory
Encompass has been extracted to /tmp/Encompass-0.5.0
This install script will be available at /tmp/Encompass/0.5.0/linux_installer.sh

Would you like to install Encompass to:

  1. /opt/encompass
  2. /home/pablo/encompass
  3. Bail - Don't install Encompass!
    2
    cat: /tmp/Encompass-0.5.0/LICENSE: No such file or directory
    Installing to /home/pablo/encompass
    cp: cannot stat ‘/tmp/Encompass-0.5.0/encompass.png’: No such file or directory
    Install appears to have failed - please ensure you have root permissions and try again
    pablo@System76:~$

licensing infos for dependency ltc_scrypt

I slowly started to package the dependencies of encompass for debian.
But for ltc_scrypt I didn't find neither licensing nor contact information.
The only license info I found is in the c file that is probably copied from elsewhere.
Do you have any information on the author, so that I could ask him to include a license?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

sending DASH fails

Tried out encompass as I would like to use a dash-electrum.
Send some dash to it - it got there fine and eventully noted the confirmed transaction.
Tried sending from it, but it does not work (windows 7 and 8). After entering correct password
the "Signing" message comes up, goes away and nothing happens (wallet is connected and in sync).
Sooo.....lets export private keys and import them into dash wallet me thinks.
But dash not happy with the format of the private key from encompass. How do I reformat ?
(the private keys from encompass all have a 5 as the first character).
Any help would be much appreciated.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Trezor not recognize while running with daemon

On OSX, if running Encompass from daemon.py, the Trezor is not recognized:

python encompass getbalance
Traceback (most recent call last):
File "encompass", line 350, in
wallet = Wallet(storage)
File "/Users/Denis/Documents/C7.Github/encompass/lib/wallet.py", line 1846, in new
raise BaseException('unknown wallet type', wallet_type)
BaseException: ('unknown wallet type', u'trezor')

If the wallet is set to a Standard Wallet, it works ok. If Encompass is run from the GUI instead (python encompass), the Trezor is recognized (after the PIN entry).

Error: Could not import icons_rc.py

 $ encompass 
Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o gui/qt/icons_rc.py'
 $ pyrcc4 icons.qrc -o gui/qt/icons_rc.py
 $ encompass 
Error: Could not import icons_rc.py, please generate it with: 'pyrcc4 icons.qrc -o gui/qt/icons_rc.py'

... what now?

If server changes SSL certificate client will no longer connect to server

This is a well known issue/feature of Electrum, however it's confusing to users and not clear to new server operators, and can render a single server chain completely inoperable for and Electrum or Encompass client.

As a feature, it does provide the server operator the ability to use self-signed certs, while providing the client a modicum of security by refusing to connect to a server with a changed certificate.

An alternate method of authenticating servers should be implemented, allowing the use of selfsigned SSL certificates for encryption, but not relying on them for authentication.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

0.5.0 Windows dash payment issue

I have tried to transfer 1 dash via Windows client, but I got error message "Invalid Fee".
Fee is set to default 0.0005 per kb

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12941049-0-5-0-windows-dash-payment-issue?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11867956&utm_medium=issues&utm_source=github).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.