spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.38k stars 3.07k forks source link

create submodules for ecc and aionostr #9100

Closed ecdsa closed 6 days ago

ecdsa commented 3 months ago

The ecc submodule is there twice:

The install script copies libsecp256k1.so.2 in only one of them. That seems to be enough, because of the way loadLibrary works. However, we might forget about that. Should we copy it twice instead?`

ecdsa commented 3 months ago

aionostr uses the websockets package. apparently, that package does not work with a proxy. https://stackoverflow.com/questions/47225488/client-websocket-connect-through-proxy maybe we could use websocket-client instead.

accumulator commented 3 months ago

The ecc submodule is there twice:

* electrum/ecc

* electrum/aionostr/ecc

The submodule paths could be added to the python interpreter search path, similar to what is done in run_electrum:

if is_local or is_android:
    sys.path.insert(0, os.path.join(script_dir, 'packages'))

There should be no need for a copy in electrum/aionostr/ecc.

ecdsa commented 6 days ago

Closing this. We should distribute proper python package. New project in https://github.com/spesmilo/electrum-ecc