Pages:
Author

Topic: Electrum server discussion thread - page 2. (Read 61417 times)

legendary
Activity: 1762
Merit: 1010
October 09, 2017, 02:33:13 PM
I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?

I run 20 electrum servers on one machine without problem. You have to make different configs for each coin and start one instance of electrumx per coin. Here is a sample script to set one up: https://github.com/SuperNETorg/electrumx/blob/master/docs/HOWTO_SuperNET.txt.
This is electrumx. I meant previous electrum server (github.com/spesmilo/electrum-server)

My understanding is that even the electrum server creator suggests that you use electrumx now.
newbie
Activity: 322
Merit: 0
October 09, 2017, 06:13:15 AM
I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?

I run 20 electrum servers on one machine without problem. You have to make different configs for each coin and start one instance of electrumx per coin. Here is a sample script to set one up: https://github.com/SuperNETorg/electrumx/blob/master/docs/HOWTO_SuperNET.txt.
This is electrumx. I meant previous electrum server (github.com/spesmilo/electrum-server)
member
Activity: 130
Merit: 11
October 08, 2017, 09:28:10 PM
I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?

I run 20 electrum servers on one machine without problem. You have to make different configs for each coin and start one instance of electrumx per coin. Here is a sample script to set one up: https://github.com/SuperNETorg/electrumx/blob/master/docs/HOWTO_SuperNET.txt.
newbie
Activity: 322
Merit: 0
October 08, 2017, 01:29:34 PM
I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?
legendary
Activity: 1762
Merit: 1010
August 25, 2017, 12:46:40 AM
This seems important: "The ElectrumX devs made a change in a recent server release so that the default network ("mainnet"), which was previously pointing to the BTC chain, now points to the BCH chain by default. For server operators who update, they now have to explicitly select "bitcoin-segwit" to keep following the BTC chain."

https://www.reddit.com/r/Bitcoin/comments/6vrs69/instead_of_just_cheering_segwit_can_we_get_actual/dm2vwqa/
newbie
Activity: 18
Merit: 0
August 04, 2017, 02:34:54 PM
If you are able to locate the directory (from the command prompt) where Electrum is installed, you can run the commands to start it in daemon mode. Unfortunately, I'm unable to give you specific instructions on how to do that.
sr. member
Activity: 613
Merit: 305
August 04, 2017, 01:45:37 PM
You should be able to use the Windows executable that you can download from https://electrum.org/#download.

I have it for Windows but it doesn't have the daemon AFAIK, while Bitcoin Core has the daemon on Windows as well.

I need to call the wallet via JSON-RPC from my scripts, so i need the daemon
newbie
Activity: 18
Merit: 0
August 04, 2017, 07:28:22 AM
Yes Python is generally portable but the packaging can vary; as in this case.

You should be able to use the Windows executable that you can download from https://electrum.org/#download.
sr. member
Activity: 613
Merit: 305
August 03, 2017, 07:00:31 PM
Instructions on setting the RPC port can be found here - http://docs.electrum.org/en/latest/merchant.html

Electrum itself is a python application and the version you linked to is for Ubuntu (not Windows).

Thanks.

Since it's python it should be portable like java, so i wonder why it's just for Linux.

Anyway seems like bitcoind is much easier to get working on Windows at this point..
newbie
Activity: 18
Merit: 0
August 03, 2017, 05:37:13 PM
Instructions on setting the RPC port can be found here - http://docs.electrum.org/en/latest/merchant.html

Electrum itself is a python application and the version you linked to is for Ubuntu (not Windows).
sr. member
Activity: 613
Merit: 305
August 03, 2017, 04:55:35 PM
Click on the View menu option and select "Show Console"

Thanks ; )

How can i run it in daemon mode on port 7777 on Windows?

Maybe i need to use the Python version of Electrum ?

 Is this the right one: https://launchpad.net/ubuntu/trusty/+package/python-electrum
newbie
Activity: 18
Merit: 0
August 03, 2017, 04:25:51 PM
Click on the View menu option and select "Show Console"
sr. member
Activity: 613
Merit: 305
August 03, 2017, 04:14:06 PM
Hi,

i have an Electrum wallet running on Windows but i don't see a way to neither open the Python console nor to make the daemon listen on localhost:7777 so that i can send him commands from my script.

How can i achieve that?
newbie
Activity: 1
Merit: 0
July 16, 2017, 11:05:27 PM
can someone tell me if i can switch from standard wallet to 2FA (authenticator) or hardware device and how do i do this?

newbie
Activity: 21
Merit: 0
July 16, 2017, 06:14:17 PM
I signed a new certificate which listed the FQDN.  However, I still had the same error. After reading this, https://github.com/spesmilo/electrum/issues/1782, I realized that my laptop and phone thin wallets had connected to my server when I had my original SSL certificate in which I had filled out all the fields.  I had deleted this one when I got too much spam from bots scraping my e-mail off the certificate.  Since the original certificate was in my thin clients ~/.electrum/certs as trusted, my server was either flagged as MITM'd or my thin client tried to use the incorrect certificate, so my server refused the connection.  After deleting the trusted certificates, I have connected via SSL on both thin clients now.

On another topic, with regards to bootstrapping speed, my online instructor stated that VFS is much faster than ext4.  So, I am considering reformatting my 4TB bitcoind HDD and 0.5TB  electrumX SSD, and lowering bitcoind's dbcache from the current setting of 3GB.  Bitcoind uses 10% of my 20GB of RAM after bootstrapping.  I welcome any resource allocation suggestions.
newbie
Activity: 18
Merit: 0
July 12, 2017, 08:31:14 PM
As I mentioned in my previous post. You have to recreate the certificate with a specified common name for it to work.
newbie
Activity: 21
Merit: 0
July 12, 2017, 07:32:52 PM
I have the verbose output from electrum (not the server).

[Network] connecting to icarus.tetradrachm.net:50002:s as new interface
[icarus.tetradrachm.net] SSL error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
[icarus.tetradrachm.net] wrong certificate
[Network] connecting to icarus.tetradrachm.net:50002:s as new interface
newbie
Activity: 18
Merit: 0
July 10, 2017, 06:21:20 AM
Electrum clients don't have a problem with self-signed certificates so no need to get a CA-signed one.

I attempted to connect to your node to debug the SSL problem and I think everything is okay except that you did not specify a Common Name for the certificate when you were creating it. You want to at least use icarus.tetradrachm.net as your common name (wildcards "*" will work just fine too) and create a new certificate. If you have the private key of the current certificate, you can attempt to create a new self-signed certificate using the same key but this time remembering to add a common name.

HTH
newbie
Activity: 21
Merit: 0
July 10, 2017, 05:12:07 AM
I am hosting publicly: icarus.tetradrachm.net.   When I followed the directions on the aforementioned guide, I did not get any errors.  However, when I attempt to connect my electrum light wallet to my full node electrumX server I get a green light when I choose 50001 and uncheck SSL and a red light when I choose SSL 50002.  Typing "journalctl | grep electrum" in the terminal prints, "electrumx_server.py[1069]: INFO:ElectrumX:[1919] SSL 70.181.17.94:33670, 89 total" among other TCP and SSL connections which confuses me. Perhaps my SSL is misconfigured on my light wallet end?

I know that web servers tend to have their signed certificates hosted by a 3rd party CA.  Does this apply to electrumX/electrum-server? I have not paid to register a CSR with a CA.
newbie
Activity: 18
Merit: 0
July 07, 2017, 09:09:26 PM
It is worth setting up if your host is going to be publicly accessible. With regards to setting up SSL, what you might need to understand is that clients usually cache the certificates of the hosts after connecting for the first time and if the certificate changes, they would flag the connection as possibly being MITM'ed.

Can you state exactly what you are experiencing with setting up SSL?
Pages:
Jump to: