Bitcoin Forum
October 31, 2024, 05:49:52 PM *
News: Bitcoin Pumpkin Carving Contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ElectrumX Server on Win10  (Read 130 times)
PawGo (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1385


View Profile
February 16, 2022, 01:18:45 PM
Merited by NeuroticFish (2)
 #1

Did someone manage to launch ElectrumX  (https://github.com/spesmilo/electrumx) on Windows?
I cannot install it because of problems with plyvel, it seems it is extremely not easy to have it installed. I haven't found any solution (nothing from https://github.com/wbolster/plyvel/issues/60 works for me) so I gave up and for now I will switch to https://github.com/chris-belcher/electrum-personal-server, but still I am disappointed.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3850
Merit: 6583


Looking for campaign manager? Contact icopress!


View Profile
February 16, 2022, 01:23:02 PM
Merited by PawGo (1)
 #2

If Electrs is OK for you (imho is one leap higher than EPS) and you are OK to install and use Windows subsystem for Linux, I've done a quite elaborate walktrough for
Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian)

It was my best shot for Electrum server that I can use under Windows.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
PawGo (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1385


View Profile
February 16, 2022, 01:26:41 PM
 #3

If Electrs is OK for you (imho is one leap higher than EPS) and you are OK to install and use Windows subsystem for Linux, I've done a quite elaborate walktrough for
Bitcoin + Electrum server + Block explorer under Windows (with WSL and Debian)

It was my best shot for Electrum server that I can use under Windows.

Eh, why it all cannot be just simple... I will check if it works with cygwin, but I am really tired of all that kung fu.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3850
Merit: 6583


Looking for campaign manager? Contact icopress!


View Profile
February 16, 2022, 01:34:34 PM
 #4

but I am really tired of all that kung fu.

I know that feeling. I've spent a lot of time looking for solutions on Windows. And sooner or later I got stuck because something important was meant to work (only) under Linux.
I get pretty easily lost in Linux settings, hence I don't have anything starting automatically, still, I have now local Electrum and local block explorer I use for months.
The only problem I see on that WSL setup is the 4.5GB it's eating off my system drive. If you find a better (pure Windows) approach, please let us know (really, I am genuinely interested).

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
PawGo (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1385


View Profile
February 16, 2022, 06:12:06 PM
 #5

As I may have BitcoinCore, EPS and rpc-explorer on pure Windows, I will stay with that.
I do not really understand why I must encode my MasterPubKey in EPS config, but for now I will not change it.
ABCbits
Legendary
*
Offline Offline

Activity: 3052
Merit: 8016


Crypto Swap Exchange


View Profile
February 17, 2022, 11:43:59 AM
Merited by PawGo (1)
 #6

Eh, why it all cannot be just simple... I will check if it works with cygwin, but I am really tired of all that kung fu.

How about use electrumx docker image (https://github.com/lukechilds/docker-electrumx)? While i never tried the image on Windows, it's definitely easier to install docker rather than configure WSL/Debian.

The only problem I see on that WSL setup is the 4.5GB it's eating off my system drive. If you find a better (pure Windows) approach, please let us know (really, I am genuinely interested).

4.5GB should include installed Debian as well.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NeuroticFish
Legendary
*
Offline Offline

Activity: 3850
Merit: 6583


Looking for campaign manager? Contact icopress!


View Profile
February 17, 2022, 11:51:50 AM
 #7

I do not really understand why I must encode my MasterPubKey in EPS config, but for now I will not change it.

I guess that's meant to be used only by you for your own addresses. And because of this block explorers cannot use it, hence I gave up EPS, although I've managed to make it work.

4.5GB should include installed Debian as well.

Indeed. It's basically WSL, Debian and the few things installed. The data folder for Electrs is on another partition.
Still I would have loved to have a way to put those 4.5 GB on the bigger disk, but I didn't find any way for it.

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ABCbits
Legendary
*
Offline Offline

Activity: 3052
Merit: 8016


Crypto Swap Exchange


View Profile
February 17, 2022, 12:29:27 PM
Merited by NeuroticFish (10)
 #8

4.5GB should include installed Debian as well.

Indeed. It's basically WSL, Debian and the few things installed. The data folder for Electrs is on another partition.
Still I would have loved to have a way to put those 4.5 GB on the bigger disk, but I didn't find any way for it.

Check this answer https://stackoverflow.com/a/64219885. But 4.5GB is rather small compared with Windows itself and some popular application on Windows (such as Ms Office), so i wouldn't bother move it.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6309


Self-proclaimed Genius


View Profile
February 17, 2022, 01:17:55 PM
 #9

I cannot install it because of problems with plyvel, it seems it is extremely not easy to have it installed. I haven't found any solution (nothing from https://github.com/wbolster/plyvel/issues/60 works for me)
-snip-
I'm not using ElectrumX but I've followed one of the solutions to install plyvel in the linked issue and one of the wheel from the unofficial repository worked.
Specifically this post: https://github.com/wbolster/plyvel/issues/60#issuecomment-737195891 (he dropped a "use at your own risk" warning though)

Code:
C:\Python\Python38_4testing>python -m pip install https://github.com/AustEcon/plyvel-wheels/releases/download/1.3.0/plyvel_wheels-1.3.0-cp38-cp38-win_amd64.whl
Collecting plyvel-wheels==1.3.0
  Downloading https://github.com/AustEcon/plyvel-wheels/releases/download/1.3.0/plyvel_wheels-1.3.0-cp38-cp38-win_amd64.whl (193 kB)
     ---------------------------------------- 193.5/193.5 KB 3.0 MB/s eta 0:00:00
Installing collected packages: plyvel-wheels
Successfully installed plyvel-wheels-1.3.0

Windows10 1903
Python 3.8.0

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NeuroticFish
Legendary
*
Offline Offline

Activity: 3850
Merit: 6583


Looking for campaign manager? Contact icopress!


View Profile
February 17, 2022, 02:35:03 PM
 #10

Check this answer https://stackoverflow.com/a/64219885. But 4.5GB is rather small compared with Windows itself and some popular application on Windows (such as Ms Office), so i wouldn't bother move it.

It's an undersized Windows partition I am afraid to make bigger (or even join) because MS decided to make a recovery partition between my two useful ones from the (rather small) SSD.
And.. yeah, LibreOffice is moved long ago, some other things too; I've even moved pagefile.sys.. so I was a bit desperate.

I've installed that app with chocolatey, ran the command line, got some warnings, but went through. Now that Debian is successfully moved to HDD, I don't even mind if it's slower.
All in all, that link is pretty much a life saver; Thank you.

//OP, sorry for the off-topic//

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
PawGo (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1385


View Profile
February 17, 2022, 02:51:02 PM
 #11

It's an undersized Windows partition I am afraid to make bigger (or even join) because MS decided to make a recovery partition between my two useful ones from the (rather small) SSD.

I had similar issue recently, when I installed the image from smaller disk to bigger one. It created an empty space which I converted into partition, unfortunately after some time I realized it is too small for me, so I had to move the content into external drive, remove partition, move recovery partition to the end of disk, resize the base partition. Now I have one big, which has it's pros and cons.

BTW if you want to buy 512GB internal SSD, I have one for sale ;-)
NeuroticFish
Legendary
*
Offline Offline

Activity: 3850
Merit: 6583


Looking for campaign manager? Contact icopress!


View Profile
February 17, 2022, 02:57:23 PM
 #12

BTW if you want to buy 512GB internal SSD, I have one for sale ;-)

Sorry, but this unexpected help I've got blew your business Cheesy
(However, I guess that I would have been buying from inside my country anyway if it would have been the case.)

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
PawGo (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1385


View Profile
February 17, 2022, 03:04:00 PM
 #13

BTW if you want to buy 512GB internal SSD, I have one for sale ;-)

Sorry, but this unexpected help I've got blew your business Cheesy
(However, I guess that I would have been buying from inside my country anyway if it would have been the case.)

I still cannot install plyvel, maybe I should install older python (now I have 3.10). Or I will try the solution with docker, is sounds really good.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!