Author Topic: Electrum-LTC - Lightweight Litecoin Wallet  (Read 115690 times)

Offline mmitech

  • Sr. Member
  • ****
  • Posts: 617
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #15 on: April 11, 2014, 08:37:22 PM »
so the server use 443 port ? because I use that port for another server....

No, by default the server uses ports 8081, 8082, 50001, and 50002. But you can really use whatever ports you want.

mmmm, so what the setp 9 is for ?  is it only a certificate to encrypt the traffic between the server and clients and has nothing to do with HTTPS ?

Quote
to run SSL/HTTPS you need to generate.... 



Ok pooler, I am going to finish this tomorrow, the blockchain is still downloading and I am really tired after being awake the whole night yesterday (price effects). tomorrow I will continue and report my progress or ask if I need help.


« Last Edit: April 11, 2014, 08:43:01 PM by mmitech »

Offline pooler

  • Litecoin Dev Team
  • Jr. Member
  • **
  • Posts: 165
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #16 on: April 11, 2014, 08:46:19 PM »
mmmm, so what the setp 9 is for ?  is it only a certificate to encrypt the traffic between the server and clients and has nothing to do with HTTPS ?

Quote
to run SSL/HTTPS you need to generate.... 

Yes, the certificate is used, as you say, to encrypt the traffic between the server and clients. There are two different protocols and the connection can be either encrypted or unencrypted, which is why 4 different ports are used.
You seem to believe that HTTPS traffic can only go through port 443, but actually any port can be used (conventionally Electrum server runs HTTPS on port 8082).

Offline kyrio

  • Litecoin Association Member
  • Full Member
  • ***
  • Posts: 434
  • lurkmore
    • intern3ts
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #17 on: April 11, 2014, 09:46:56 PM »
Client runs great on Windows 7. The tray icon needs to not be transparent.

Server config guide is a bit wacky at some points (you need a bit of troubleshooting skill to resolve any issues you might have). I've already stated any issues that I encountered in IRC.

Anyone setting up a server, be sure to carefully read the config file. You must set up SSL certificates, and make sure you set your IP (and hostname, if you have that), instead of using localhost. The best method, for me, was IP in `host` and the hostname that I used in `report_host`. You don't need `report_host` if you don't have a domain. You might have to uncomment the SSL port lines.

axa

  • Guest
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #18 on: April 11, 2014, 09:52:13 PM »
Need a portable version ASAP please.

Basic wallet works OK in Windows 7, the only OS I have tried so far. Is the watching only capability disabled? I created a wallet, copied the MPK, then had to delete the wallet from /appdata/ so I could make a watching only version. Made the watching only wallet with the MPK fine,  but after closing now the watching only wallet refuses to start. Any suggestions? I have been waiting for litecoin cold storage using Electrum for litecoin.

Offline mmitech

  • Sr. Member
  • ****
  • Posts: 617
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #19 on: April 12, 2014, 12:45:12 AM »
I am stuck at plyvel installation

Code: [Select]
[email protected]:~$sudo easy_install plyvel
[sudo] password for mmitech:
Searching for plyvel
Reading http://pypi.python.org/simple/plyvel/
Best match: plyvel 0.8
Downloading https://pypi.python.org/packages/source/p/plyvel/plyvel-0.8.tar.gz#md5=751a203c54c34adcceff0e668f86c67a
Processing plyvel-0.8.tar.gz
Running plyvel-0.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-2aPrfl/plyvel-0.8/egg-dist-tmp-ELF43D
warning: no files found matching 'requirements-development.txt'
warning: no files found matching 'plyvel/*.pxi'
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
plyvel/_plyvel.cpp:328:35: fatal error: leveldb/filter_policy.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1



I tried to create a virtual environment and got the same issue:

Code: [Select]



$ virtualenv litecoin
$ source litecoin/bin/activate
(litecoin)[email protected]:~$ pip install plyvel
Downloading/unpacking plyvel
  Downloading plyvel-0.8.tar.gz (221Kb): 221Kb downloaded
  Running setup.py egg_info for package plyvel
   
    warning: no files found matching 'requirements-development.txt'
    warning: no files found matching 'plyvel/*.pxi'
Installing collected packages: plyvel
  Running setup.py install for plyvel
    building 'plyvel._plyvel' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c plyvel/_plyvel.cpp -o build/temp.linux-x86_64-2.7/plyvel/_plyvel.o -Wall -g
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
    plyvel/_plyvel.cpp:328:35: fatal error: leveldb/filter_policy.h: No such file or directory
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    Complete output from command /home/mmitech/litecoin/bin/python -c "import setuptools;__file__='/home/mmitech/litecoin/build/plyvel/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-hXjuye-record/install-record.txt --install-headers /home/mmitech/litecoin/include/site/python2.7:
    running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/plyvel

copying plyvel/_version.py -> build/lib.linux-x86_64-2.7/plyvel

copying plyvel/__init__.py -> build/lib.linux-x86_64-2.7/plyvel

running build_ext

building 'plyvel._plyvel' extension

creating build/temp.linux-x86_64-2.7

creating build/temp.linux-x86_64-2.7/plyvel

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c plyvel/_plyvel.cpp -o build/temp.linux-x86_64-2.7/plyvel/_plyvel.o -Wall -g

cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]

plyvel/_plyvel.cpp:328:35: fatal error: leveldb/filter_policy.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

----------------------------------------
Command /home/mmitech/litecoin/bin/python -c "import setuptools;__file__='/home/mmitech/litecoin/build/plyvel/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-hXjuye-record/install-record.txt --install-headers /home/mmitech/litecoin/include/site/python2.7 failed with error code 1 in /home/mmitech/litecoin/build/plyvel
Storing complete log in /home/mmitech/.pip/pip.log
Traceback (most recent call last):
  File "/home/mmitech/litecoin/bin/pip", line 9, in <module>
    load_entry_point('pip==1.1', 'console_scripts', 'pip')()
  File "/home/mmitech/litecoin/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py", line 116, in main
    return command.main(args[1:], options)
  File "/home/mmitech/litecoin/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 141, in main
    log_fp = open_logfile(log_fn, 'w')
  File "/home/mmitech/litecoin/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 168, in open_logfile
    log_fp = open(filename, mode)
IOError: [Errno 13] Permission denied: '/home/mmitech/.pip/pip.log'


I went to the readme.leveldb but nothing there....

Offline losh11

  • Litecoin Association Member
  • Sr. Member
  • ***
  • Posts: 1265
  • Litecoin is Platinum Isotope 190 to Bitcoin's Gold
    • Bitch, here's my site.
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #20 on: April 12, 2014, 01:21:05 AM »
I will try this when I have access to my 16GB machine.

Offline infinitepeace

  • Litecoin Association Member
  • Full Member
  • ***
  • Posts: 459
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #21 on: April 12, 2014, 04:42:51 AM »
Thank you pooler!

I am going to set up another server after this weekend when I have some time again.

May have some technical questions but happy to donate a server to the cause.

This is just great news.

Offline infinitepeace

  • Litecoin Association Member
  • Full Member
  • ***
  • Posts: 459
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #22 on: April 12, 2014, 05:11:54 AM »
I have got a droplet running that meets the technical requirements easily.

Now is an incredibly busy time at work though.

If I need help in the coming days making sure it is configured properly is it best to post questions in this thread?

Offline pooler

  • Litecoin Dev Team
  • Jr. Member
  • **
  • Posts: 165
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #23 on: April 12, 2014, 06:55:41 AM »
I have got a droplet running that meets the technical requirements easily.

Now is an incredibly busy time at work though.

If I need help in the coming days making sure it is configured properly is it best to post questions in this thread?

You can post here or contact me on Freenode IRC, whatever is more convenient for you.

Offline pooler

  • Litecoin Dev Team
  • Jr. Member
  • **
  • Posts: 165
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #24 on: April 12, 2014, 07:00:41 AM »
I am stuck at plyvel installation

Code: [Select]
[email protected]:~$sudo easy_install plyvel
[sudo] password for mmitech:
Searching for plyvel
Reading http://pypi.python.org/simple/plyvel/
Best match: plyvel 0.8
Downloading https://pypi.python.org/packages/source/p/plyvel/plyvel-0.8.tar.gz#md5=751a203c54c34adcceff0e668f86c67a
Processing plyvel-0.8.tar.gz
Running plyvel-0.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-2aPrfl/plyvel-0.8/egg-dist-tmp-ELF43D
warning: no files found matching 'requirements-development.txt'
warning: no files found matching 'plyvel/*.pxi'
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
plyvel/_plyvel.cpp:328:35: fatal error: leveldb/filter_policy.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1

Is it possible that you skipped this?
Code: [Select]
sudo apt-get install python-leveldb libleveldb-dev
If you didn't skip it, did it complete with no errors?

Offline pooler

  • Litecoin Dev Team
  • Jr. Member
  • **
  • Posts: 165
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #25 on: April 12, 2014, 07:06:46 AM »
Is the watching only capability disabled? I created a wallet, copied the MPK, then had to delete the wallet from /appdata/ so I could make a watching only version. Made the watching only wallet with the MPK fine,  but after closing now the watching only wallet refuses to start.

I can confirm that this issue appears in upstream as well. It will probably be fixed soon.

Offline mmitech

  • Sr. Member
  • ****
  • Posts: 617
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #26 on: April 12, 2014, 08:36:21 AM »

Is it possible that you skipped this?
Code: [Select]
sudo apt-get install python-leveldb libleveldb-dev
If you didn't skip it, did it complete with no errors?

no, this is what I thought first, double checked that, leveldb is installed and libeleveldb-dev is also installed

Code: [Select]
[email protected]:~$ sudo apt-get install python-leveldb libleveldb-dev
[sudo] password for mmitech:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libleveldb-dev is already the newest version.
python-leveldb is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.


Offline pooler

  • Litecoin Dev Team
  • Jr. Member
  • **
  • Posts: 165
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #27 on: April 12, 2014, 09:10:45 AM »
no, this is what I thought first, double checked that, leveldb is installed and libeleveldb-dev is also installed

What distro/version are you using? It is possible that your LevelDB version is too old, see README.leveldb.
(Also related: https://github.com/wbolster/plyvel/issues/7)
« Last Edit: April 12, 2014, 09:13:50 AM by pooler »

Offline mmitech

  • Sr. Member
  • ****
  • Posts: 617
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #28 on: April 12, 2014, 09:18:30 AM »
no, this is what I thought first, double checked that, leveldb is installed and libeleveldb-dev is also installed

What distro/version are you using? It is possible that your LevelDB version is too old, see README.leveldb.
(Also related: https://github.com/wbolster/plyvel/issues/7)

I am using Ubuntu server 12.04 LTS as was suggested, I think I might know what is the problem, I will try and see if this is what I think and post feedback for other users that might run into this problem

Offline pooler

  • Litecoin Dev Team
  • Jr. Member
  • **
  • Posts: 165
Re: [BETA] Electrum-LTC - Call for Beta Testers + Public Servers
« Reply #29 on: April 12, 2014, 09:26:25 AM »
I am using Ubuntu server 12.04 LTS

That explains it.  See step 2 in README.leveldb.

EDIT: Apparently installing http://mirror.pnl.gov/ubuntu//pool/main/l/leveldb/libleveldb-dev_1.9.0-1_amd64.deb and http://mirror.pnl.gov/ubuntu//pool/main/l/leveldb/libleveldb1_1.9.0-1_amd64.deb fixes it for Ubuntu 12.04.
« Last Edit: April 17, 2014, 09:24:28 AM by pooler »