Pages:
Author

Topic: Electrum server discussion thread (Read 61507 times)

hero member
Activity: 714
Merit: 1010
Crypto Swap Exchange
July 16, 2023, 08:01:23 AM
An interesting Electrum server is also Fulcrum which has been discussed in some other thread(s) here on this forum, e.g. here https://bitcointalksearch.org/topic/electrum-server-on-windows-fulcrum-5441463 and also compared with other Electrum server implementations e.g. here https://www.sparrowwallet.com/docs/server-performance.html.

I use Fulcrum on my RaspiBlitz node as replacement for electrs because I got tired of the issues that electrs has sometimes with addresses that have a huge transaction history. For my personal Electrum wallets I don't need Fulcrum, electrs would be fine. When I do sometimes a bit of blockchain digging I've run into such issues from time to time with electrs. Fulcrum is easier to configure to serve huge address histories and it's refreshingly fast with data retrieval compared to electrs.

Linux and Windows executables are available from the Github, MacOS executables are announced but not yet there. You can always check the code and compile your executable yourself. I don't mind that the main dev appears to be in the BCH camp, the project is open-source and works very well for Bitcoin.
copper member
Activity: 2338
Merit: 4543
Join the world-leading crypto sportsbook NOW!
June 08, 2023, 04:27:46 PM
Is there a current guide for setting up an Electrum server on a Mac (not a personal server)?

I don't know of any electrum SPC server that's ready to go for a Mac and I have very little experience with MacOS, but you may be able to compile a binary of Electrs (Romanz1 or Blockstream2) that will run on your system.

1https://github.com/romanz/electrs
2https://github.com/Blockstream/electrs

Is an Electrum Server the same thing as electrumx?

ElectrumX is one of the SPC servers compatible with Electrum (and many other clients,) but as far as I know it's intended to run on Linux.  Again, if you're skilled with such things you can compile your own binary, but I don't know of any instructional that will guide you through the process.

My goal is to set up BTC RPC Explorer and be able to look up my wallets, historical data, etc, on my own block explorer.

This is mostly a project for me to learn, strictly for my own use - at least for now.

Romanz Electrs is very easy to set up and plenty good enough for personal use with a blockchain explorer.  One of my servers has been running Mempool.space with Romanz Electrs as the backend, and it's been running flawlessly for nearly two years.  Looking up an address with a ton of transactions will be slow, but I've never had it hang up.  Blockstream's Electrs fork is more robust and more practical for a public server, but it requires more resources.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
June 06, 2023, 10:49:51 PM
Is an Electrum Server the same thing as electrumx?  I hope that's not a dumb question.
Yes, that is one implementation of Electrum server.
And I'd recommend it if your end-goal is not to use it for personal use, but public.

Plus it's fork is maintained by same developers of Electrum: https://github.com/spesmilo/electrumx
For the set-up, you can refer to its official documentation: https://electrumx-spesmilo.readthedocs.io/en/latest/HOWTO.html
full member
Activity: 128
Merit: 190
June 06, 2023, 04:26:22 PM
Is there a current guide for setting up an Electrum server on a Mac (not a personal server)?

Is an Electrum Server the same thing as electrumx?  I hope that's not a dumb question.

I've been running a full Bitcoin Node (using the Bitcoin Core app) for a few months.

My goal is to set up BTC RPC Explorer and be able to look up my wallets, historical data, etc, on my own block explorer.

This is mostly a project for me to learn, strictly for my own use - at least for now.
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
April 25, 2021, 11:15:30 PM
I hope someone can help me.
-snip-
I'm not hodling Verge but this 5-day old reddit post about offline electrum-xvg has some good feedbacks: A question about an ancient wallet
You need Tor for that.
newbie
Activity: 35
Merit: 0
April 25, 2021, 05:30:25 AM
I hope someone can help me.

I have some old Verge Electrum from which I only have the seed left.
I need to rebuild the wallet on OSX now so I downloaded Electrum-XVG2.4 from github and it runs fine, only its not connecting to the network.

The only server in it is electrum-verge.xyz
I only found electrum-xvg.stream as another server but theres no way to add it to the list.

Can anyone help me with an actual server list and how I can add them into Electrum-XVG2.4 so I can rebuild my wallet and recover my VERGE?

Thank you
newbie
Activity: 21
Merit: 0
August 28, 2018, 03:26:41 AM
I ran electrum -v and figured out that the problem was my SSL certificate had expired.  For some reason, I could not connect in via port 50001.  So, unfortunately, anyone who has connected to my server in the past will not be able to connect unless (s)he deletes their wallet and restores from the seed because otherwise the old certificate will fail to verify.
newbie
Activity: 21
Merit: 0
August 26, 2018, 04:19:37 PM
I found my laptop's IP address among the connections.  So, my client connects to the server, but the server does not serve any data to my laptop.  Presumably, I have a low connections count because clients see my server and connect to it but when they fail to retrieve data they connect to another server.
newbie
Activity: 21
Merit: 0
August 24, 2018, 05:50:50 PM
I reviewed my logs again.  Actually, the SSL connections were not of the format IP:50002.  So, that hasn't changed since my server's last working state.  I upgraded Ubuntu to 18.04 LTS and upgraded to python 3.7 which increased the number of connections to approximately 30, but I could still not connect via an Electrum client.  Also, a couple months ago when I could connect I had about 10X the connections.  

Furo4kin, have you looked at these issues?
https://github.com/kyuupichan/electrumx/issues/556
https://github.com/kyuupichan/electrumx/issues/94

Let me know if your logs match any output from these issues.  Issue #556 seems to match the timeline of our problems.  I am unsure where the weakest point would be in a DOS attack, but I suppose it would be my router.

Furo4kin, if you would like any more info as I learn more, I could PM you if you allow messages from newbies
newbie
Activity: 114
Merit: 0
August 24, 2018, 03:26:40 PM
Same problem.
Error: Requesting account info from TrustedCoin server... Please try again.

newbie
Activity: 21
Merit: 0
August 17, 2018, 05:18:52 PM
Aug 17 13:51:37 icarus electrumx_server[1984]: INFO:ElectrumX:[1202] SSL 92.156.243.66:56970, 2 total
Aug 17 13:52:28 icarus electrumx_server[1984]: INFO:ElectrumX:[1203] SSL 190.91.37.177:65412, 2 total
Aug 17 13:53:18 icarus electrumx_server[1984]: INFO:ElectrumX:[1204] SSL 190.91.37.177:49218, 2 total
Aug 17 13:54:14 icarus electrumx_server[1984]: INFO:ElectrumX:[1205] SSL 190.91.37.177:49350, 2 total
Aug 17 13:55:24 icarus electrumx_server[1984]: INFO:ElectrumX:[1206] SSL 190.91.37.177:49538, 2 total
Aug 17 13:56:28 icarus electrumx_server[1984]: INFO:ElectrumX:[1207] SSL 190.91.37.177:49654, 2 total
Aug 17 13:57:30 icarus electrumx_server[1984]: INFO:ElectrumX:[1208] SSL 190.91.37.177:49846, 2 total
Aug 17 13:58:15 icarus electrumx_server[1984]: INFO:ElectrumX:[1209] SSL 190.91.37.177:49966, 2 total
Aug 17 13:59:33 icarus electrumx_server[1984]: INFO:ElectrumX:[1210] SSL 190.91.37.177:50190, 2 total
Aug 17 14:00:08 icarus electrumx_server[1984]: INFO:ElectrumX:[1211] SSL 190.91.37.177:50260, 2 total
Aug 17 14:01:04 icarus electrumx_server[1984]: INFO:ElectrumX:[1212] SSL 217.182.138.142:41128, 2 total
Aug 17 14:01:51 icarus electrumx_server[1984]: INFO:ElectrumX:[1213] SSL 185.128.27.99:56548, 3 total
Aug 17 14:31:03 icarus electrumx_server[1984]: INFO:ElectrumX:[1214] SSL 217.182.138.142:34996, 2 total
Aug 17 14:36:58 icarus electrumx_server[1984]: INFO:ElectrumX:[1215] SSL 71.204.162.202:58830, 3 total
Aug 17 14:39:28 icarus electrumx_server[1984]: INFO:ElectrumX:[1216] SSL 73.32.220.70:57214, 3 total

I try to connect to my server but cannot.  From looking at the logs, it appeared as though my max connections somehow got lowered to 2 or 3, but then after looking at the logs more closely it looks like ElectrumX serves mostly 190.91.37.177 .  I did upgrade to LEDE from a small business router recently.  However, I would think if my IPtables config were the issue that I would have trouble SSHing into Icarus (my server).  Initially, I had trouble SSHing into Icarus but after reconfiguring IPtables I could SSH into Icarus.  About the same time that SSH started working, my AWS server notifications notified me that my server was up.  So, apparently Icarus serves watching only wallets.

 I have no clue why my SSL connections are not on 50002; I plan to tweak IPtables.  If that does not work then I'll upgrade to Ubuntu 18, so that I will be working with a fresh install.  If that doesn't fix it.  I will reset my router config.
member
Activity: 195
Merit: 10
March 29, 2018, 03:39:06 PM
5000 GCH bounty for build Electrum server and client(windows & linux) with sources for GalaxyCash.
PM me in discord.

https://discord.gg/qCJtFua
member
Activity: 195
Merit: 10
March 28, 2018, 01:05:29 PM
Hi, i setup electrum server for my coin on Ubuntu 16.04, uses latest electrum from repository, not electrumx

wallet client stuck on synchronization
on server in log:

[29/03/2018-01:54:18] SSL      *.*.*.*:60424    2 3.1.2
[29/03/2018-01:54:19] SSL      *.*.*.*:60426    1 3.1.2
[29/03/2018-01:55:17] error: no processor for mempool
[29/03/2018-01:56:17] error: no processor for mempool
[29/03/2018-01:57:17] error: no processor for mempool
newbie
Activity: 21
Merit: 0
January 03, 2018, 12:11:45 PM
I'm going to reply on the thread, so that the next person that sees your question knows that it has been answered.  Also, someone else might have the same question.

Firstly, I like to break up a large problem into smaller ones.  So, in script kiddie fashion, I copy and paste one of these scripts https://en.bitcoin.it/wiki/API_reference_(JSON-RPC) in order to make sure that you can communicate between processes.  A few things can go wrong here.  I've seen a version update break the (inter-process communication) IPC  in both Zcash  and a Bitcoin Unlimited.  It may have been from the same pull which was not properly vetted or separate pulls.  Make sure your username and password match.  If you use Perl, it may have issues parsing some characters in the password, so omit or replace any suspect characters.

JM required
walletnotify=curl -sI --connect-timeout 1 http://localhost:62602/walletnotify?%s
alertnotify=curl -sI --connect-timeout 1 http://localhost:62602/alertnotify?%s
I'm not sure if JMCS does, but I use them.  I think that should get you in the right direction.
newbie
Activity: 1
Merit: 0
January 02, 2018, 03:59:44 PM
I need some help understanding the whole concept of Bitcoin Core + Electrumx.

I have a full node running and electrumx installed, but still don't quite get how I'm going to access it and what are the API calls available to me.

If someone could take their time and contact me privately so it doesn't fill up this thread.

Thanks in advance.
newbie
Activity: 21
Merit: 0
December 16, 2017, 04:46:32 PM
In my last iteration of reinstalling, I had commented the following and and replaced it with the sudo installation.
#ExecStart=/home/electrum/electrumx/electrumx_server.py
ExecStart=/usr/local/bin/electrumx_server.py

As a rough postmortem, I got so used to appending the instructions with tweaks such as "pip3" instead of "pip" and "sudo apt-get install" instead of "apt-get install" I lost sight of the fact the in order to contain the privileges of user electrum you want to make sure electrum only starts files/processes which are not owned by root.  I am actually still a little fuzzy how the user electrum could even access a file in /usr (?inherentence from systemctl?).  Therefore, "python3.6 setup.py install" should work for anyone else attempting to install on Ubuntu, but you will probably need the symbolic link from my last post.  I don't know what the error was that caused my to comment the line above was, but my guess is that I would not of seen it on debian (if python3.6 baked in).
member
Activity: 130
Merit: 11
December 16, 2017, 11:33:42 AM
I would not use ubuntu on servers, use debian instead, you will have much less trouble with it. python3.6 is available in debian https://packages.debian.org/buster/python3.6, so you can install electrumx directly with "sudo python3.6 setup.py install"
newbie
Activity: 21
Merit: 0
December 14, 2017, 08:24:43 PM
I have reinstalled Ubuntu 16 LTS.  Previously I had ElectrumX working, but with unexplained downtime and unreliable fee estimates.  Hence I reinstalled Ubuntu server.  I have reinstalled Ubuntu a few times after failing.  At one point, I symbolically linked /usr/bin/python3 to /usr/bin/python3.6 which broke the package management.  Now I have /usr/local/bin/python3 -> /usr/bin/python3.6 which seems to work; although, I have an error which may or may not be related to package management/dependencies:

Dec 14 16:26:05 icarus electrumx_server.py[2534]: Traceback (most recent call last):
...

Dec 14 16:26:05 icarus electrumx_server.py[2534]:   File "/usr/local/lib/python3.6/dist-packages/electrumx-1.2.1-py3.6.egg/server/block_processor.py", line 148, in __init__
Dec 14 16:26:05 icarus electrumx_server.py[2534]:     self.cancel_history_compaction()
Dec 14 16:26:05 icarus electrumx_server.py[2534]: AttributeError: 'BlockProcessor' object has no attribute 'cancel_history_compaction'

I have no clue whether the issue is with dependencies such as leveldb or something else entirely.
member
Activity: 130
Merit: 11
October 19, 2017, 05:42:01 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.
flowjob is the electrum server creator?

No, i am just running a lot of electrum-servers to use them in BarterDEX. The official repo is this one: https://github.com/kyuupichan/electrumx
newbie
Activity: 322
Merit: 0
October 09, 2017, 04:36:51 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.
flowjob is the electrum server creator?
Pages:
Jump to: