Pages:
Author

Topic: Electrum server on Windows: Fulcrum - page 2. (Read 906 times)

legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
May 17, 2023, 10:34:50 AM
#21
It depends on how you plan to use it.
If you start it up and forget about it, Fulcrum would be better since it can deliver better performance after it's synced.
If you plan to start it up every now and then when you need it and don't mind if a wallet with many transactions is not lightning fast to receive, Electrs is better choice.

The other question is if I really need it - I have electrs running and I really do not feel I must change it to something else. But you know - numbers in performance comparison are tempting.
Maybe one day if I have nothing better to do...


If it ain't broke don't fix it.....

Anyway, got fulcrum running and synced. No real issues there. Will say that outside of the BTC syncing issues that I mentioned earlier that it's a much simpler run then electrs.
A few lines in a config file, run an exe, wait, done.

And this I think is a good thing. People who want to do it themselves but don't have a good knowledge of OSs and other things can with very little work have their own private electrum server running on an old Windows box.  Yes there are 100s of other things to consider and so on. But for a close to run and done pre-compiled solution it does work.

-Dave
legendary
Activity: 952
Merit: 1386
May 17, 2023, 09:52:33 AM
#20
It depends on how you plan to use it.
If you start it up and forget about it, Fulcrum would be better since it can deliver better performance after it's synced.
If you plan to start it up every now and then when you need it and don't mind if a wallet with many transactions is not lightning fast to receive, Electrs is better choice.

The other question is if I really need it - I have electrs running and I really do not feel I must change it to something else. But you know - numbers in performance comparison are tempting.
Maybe one day if I have nothing better to do...
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
May 17, 2023, 09:49:50 AM
#19
Do you have any experience with Electrs and may you compare the performance? Because that article (https://www.sparrowwallet.com/docs/server-performance.html) made my think if no to try Fulcrum... But would I really feel it as a simple user?

It depends on how you plan to use it.
If you start it up and forget about it, Fulcrum would be better since it can deliver better performance after it's synced.
If you plan to start it up every now and then when you need it and don't mind if a wallet with many transactions is not lightning fast to receive, Electrs is better choice.

In both cases Bitcoin core sync is not taken into account.
legendary
Activity: 952
Merit: 1386
May 17, 2023, 09:40:41 AM
#18
I've done my IBD on my main computer, with SSD and the data disk as external. Then I've moved everything to the final position.
PS. Initial sync of Fulcrum is also rather lengthy on HDD iirc.

Do you have any experience with Electrs and may you compare the performance? Because that article (https://www.sparrowwallet.com/docs/server-performance.html) made my think if no to try Fulcrum... But would I really feel it as a simple user?
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
May 16, 2023, 10:02:01 AM
#17
Yes, we all know SSD, faster PC, and so on and this becomes a non issue. But someone just reusing an old PC is going to be miserable.

You're right.
Putting at least chainstate and the indexes onto a small SSD at least until IBD is over helps a lot.
A good dbcache may also help.
Using UTP instead of old generation wireless makes a difference too.
But these are mentioned in Bitcoin Core topics, better than I could write them.

I've done my IBD on my main computer, with SSD and the data disk as external. Then I've moved everything to the final position.
PS. Initial sync of Fulcrum is also rather lengthy on HDD iirc.
hero member
Activity: 560
Merit: 1060
May 16, 2023, 05:54:56 AM
#16
Still working on this.
But, it does show to me at lest that we as a group should probably have better instructions for people then just download core and let it sync the blockchain.

1) Windows update forced a reboot with the patches last week and I did not notice for a few days so that added some time to the IBD. That's on me.
2) Lost power and the PC did not power on. Yes, that's on me again.

But with those 2 points above, someone who DOES know better can still drag what should be a 1 week or less IBD into a 2 week fiasco. Can you picture a normal user dealing with this.

Yes, we all know SSD, faster PC, and so on and this becomes a non issue. But someone just reusing an old PC is going to be miserable.

-Dave

Hmm. I get your point, however I don't understand what you mean by the underlined text.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
May 15, 2023, 03:27:55 PM
#15
Still working on this.
But, it does show to me at lest that we as a group should probably have better instructions for people then just download core and let it sync the blockchain.

1) Windows update forced a reboot with the patches last week and I did not notice for a few days so that added some time to the IBD. That's on me.
2) Lost power and the PC did not power on. Yes, that's on me again.

But with those 2 points above, someone who DOES know better can still drag what should be a 1 week or less IBD into a 2 week fiasco. Can you picture a normal user dealing with this.

Yes, we all know SSD, faster PC, and so on and this becomes a non issue. But someone just reusing an old PC is going to be miserable.

-Dave
hero member
Activity: 560
Merit: 1060
May 09, 2023, 08:43:49 AM
#14
So as I ve seen above you are using a spinning drive to store bitcoin and fulcrum data, is that correct? If so, is there any other storage device on the PC? Or is it the only disk you have?

That is the one and only disk.

Trying to make it as 'authentic' as possible, except for the fact that I put the drive in, it's just an old machine that I pulled off a shelf.
The same way someone who wanted to run their own node + electum server might have an old machine sitting around or get one from a friend.
No more memory, no multiple drives, no figuring out (or even noticing) that the CPU keeps throttling back. Just install core and wait, and then install Fulcrum and wait.

Will play with tweaks after that.

-Dave





Alright! Fair enough! I also run Bitcoin Core on an external HDD and after the initial synch, it works flawlessly now.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
May 09, 2023, 08:35:34 AM
#13
So as I ve seen above you are using a spinning drive to store bitcoin and fulcrum data, is that correct? If so, is there any other storage device on the PC? Or is it the only disk you have?

That is the one and only disk.

Trying to make it as 'authentic' as possible, except for the fact that I put the drive in, it's just an old machine that I pulled off a shelf.
The same way someone who wanted to run their own node + electum server might have an old machine sitting around or get one from a friend.
No more memory, no multiple drives, no figuring out (or even noticing) that the CPU keeps throttling back. Just install core and wait, and then install Fulcrum and wait.

Will play with tweaks after that.

-Dave



hero member
Activity: 560
Merit: 1060
May 09, 2023, 06:36:05 AM
#12
Core is still syncing slowly:



There is a issue with the hardware for some reason the CPU keeps throttling.

Was going to stop and start on a different box, but decided to see if it would finish syncing and then how Fulcrum would work on something with an old slow drive and funky hardware. Kind of a test to see if someone could do it on an old PC they pulled out of the closet.

Although I don't know exactly when this PC was built, it has to be close to 8 or 9 years at this point.
Just like what someone would have in storage to do something with sooner or later but never did.

-Dave

So as I ve seen above you are using a spinning drive to store bitcoin and fulcrum data, is that correct? If so, is there any other storage device on the PC? Or is it the only disk you have?
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
May 09, 2023, 06:32:13 AM
#11
Core is still syncing slowly:



There is a issue with the hardware for some reason the CPU keeps throttling.

Was going to stop and start on a different box, but decided to see if it would finish syncing and then how Fulcrum would work on something with an old slow drive and funky hardware. Kind of a test to see if someone could do it on an old PC they pulled out of the closet.

Although I don't know exactly when this PC was built, it has to be close to 8 or 9 years at this point.
Just like what someone would have in storage to do something with sooner or later but never did.

-Dave
hero member
Activity: 560
Merit: 1060
May 09, 2023, 02:58:01 AM
#10
Since I never ran it I'm trying it out now. Put a 1TB spinning drive in a 4th gen i3 with 8GB of ram and am in the process of download the blockchain now.
Somebody remind me in a week to take a look at how it's going. I really hate spinning drives but it's all I have for larger then 512GB in the office. All the real ones are in the DC.

Looks interesting since it's a compiled executable along with core it should allow people who 'don't know computers' to run their own electrum server without too much effort. Which is good for privacy.

-Dave

Any feedback?? I am syncing slowly personally... I had to interrupt for several days and I just started the process yesterday night.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
April 28, 2023, 10:36:58 AM
#9
Since I never ran it I'm trying it out now. Put a 1TB spinning drive in a 4th gen i3 with 8GB of ram and am in the process of download the blockchain now.
Somebody remind me in a week to take a look at how it's going. I really hate spinning drives but it's all I have for larger then 512GB in the office. All the real ones are in the DC.

Looks interesting since it's a compiled executable along with core it should allow people who 'don't know computers' to run their own electrum server without too much effort. Which is good for privacy.

-Dave
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
April 28, 2023, 09:03:24 AM
#8
Hello! I just started syncing the data. I am just wondering, what am I syncing actually? What does my electrum server need to download?

Bitcoin Core downloads/synchronizes the blockchain. You'll need half a terra for that nowadays, btw.
The Electrum Server will get Bitcoin Core's data and creates a database on top of that for easy retrieval of various things your wallet or a block explorer (!) would need.
Depending on how it uses the data, I guess that an Electrum server can also survive without txindex (just the sync could be slower), depending on what data it gets from Bitcoin Core and what it stores.

ok, so I guess that's why I need txindex=1 in bitcoin core conf file

Well, Fulcrum specifically asks for txindex to be 1.
hero member
Activity: 560
Merit: 1060
April 26, 2023, 06:23:19 AM
#7
Hello! I just started syncing the data. I am just wondering, what am I syncing actually?

I don't read Fulcrum source code, but syncing (on Electrum server) usually involve obtaining blockchain data and create database which contain various index to speed up many things (such as retrieve TX from specific Bitcoin address).

What does my electrum server need to download?

Whole Bitcoin blockchain and node mempool (to show unconfirmed transaction to Electrum wallet).

ok, so I guess that's why I need txindex=1 in bitcoin core conf file
hero member
Activity: 560
Merit: 1060
April 26, 2023, 02:21:27 AM
#6
Hello! I just started syncing the data. I am just wondering, what am I syncing actually? What does my electrum server need to download?
legendary
Activity: 1232
Merit: 1080
February 28, 2023, 04:35:09 PM
#5
Syncing will always use more disk usage and ram and I think that is good performance for a program on Windows. It would be nice to compare it with Electrum running on the Linux sub system and see if it uses more or less. I think it could be more efficient because it does not have the Linux sub system running in the background too.
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
February 28, 2023, 02:29:18 PM
#4
Thanks for the guide (even though i rarely use Windows). Did you check how much does Fulctrum use? Fulctrum GitHub page said it has minimum 1GB RAM, so i wonder if it actually use 1GB or less.

Thank you for the kind words.
I've fired it up and I have the numbers while syncing (blocks from about half a day) - first image and from when it was quiet - second image.
The data is from both Task Manager and Process Explorer.





As you see while syncing it goes up to 1GB, but when it's cool it's much lower.
Also I'd add that I have in config

Code:
db_max_open_files = 80

which is higher than the default and may have as result some more memory allocated, but honestly I didn't read much into the docs and I may be wrong with the implications.
However, at some point at startup it was showing:

Code:
DB memory: 512.00 MiB
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
February 28, 2023, 05:35:53 AM
#3
I recommend including the asc text in the OP because if github has been compromised and the asc has been changed for the latest release people can verify with this guide whether it has been changed or not. I think it is just a extra step in security and it might be a pain for you to keep updating it with every new release but it will add another layer of trust.

I am not the developer of Fulcrum, I'm just an user. I would get the same asc file as you'd do. And if I'd put the content of the asc file into OP I'd have to update it with each new update of Fulcrum, which is not something I would want to do.
So, as I said in OP, the user will look for the asc with the same name as the zip he's about to download/use. For Fulcrum-1.9.0-win64.zip it would be Fulcrum-1.9.0-win64.zip.asc.
sr. member
Activity: 467
Merit: 578
February 27, 2023, 07:19:23 PM
#2
I recommend including the asc text in the OP because if github has been compromised and the asc has been changed for the latest release people can verify with this guide whether it has been changed or not. I think it is just a extra step in security and it might be a pain for you to keep updating it with every new release but it will add another layer of trust.
Pages:
Jump to: