Post
Topic
Board Electrum
Re: [Questions] Running my own electrum server
by
HCP
on 23/04/2021, 09:07:02 UTC
I also have bought a Windows VPS that isn't being used at the moment, so why not providing it to the electrum community?
Be wary of any storage, bandwidth or CPU caps that your VPS has... an Electrum server isn't necessarily "huge" in terms of requirements, but cheap VPSes often have relatively low caps.


I picked electrumx, because it's the most popular implementation. It seems that I can't install it on windows, only on unix. The thing is that I don't have an Ubuntu installed right now. Could this work with Windows 10 on an Ubuntu LTS?
Possibly... I've run other Electrum servers on WSL (ie. electrs) but it's obviously not ideal for performance reasons (and you're also doubling up on OS storage space requirements.)


  • Is the same procedure if I want to run a testnet server? I don't have the storage for downloading the entire blockchain.
usually you need a fully synced, unpruned node, running with txindex=1... and you set the "network" type in electrumx and then point it at the appropriate data directory.

  • How does it return the balance of address(es) instantly? On Bitcoin Core it has to rescan the blockchain (which will take a lot of time).
you'll want to read up about SPV and bloom filters. Wink but ElectrumX basically builds its own index of the blockchain


  • Will I be shown on others' network servers? If no, how can I be shown?
Will generally depend on how you set it up and firewalls etc

peer discovery is also explained in the ElectrumX docs: https://electrumx-spesmilo.readthedocs.io/en/latest/