Pages:
Author

Topic: Electrum server discussion thread - page 4. (Read 61507 times)

full member
Activity: 214
Merit: 100
1KippERXwH1PdBxKNt1ksgqh89WBv6CtWQ
December 30, 2016, 10:19:31 PM
Trying to get an electrum server up and running but get following error in logs

INFO:root:ElectrumX server starting
INFO:BlockProcessor:switching current directory to /home/kipper01/.electrumx/db
INFO:BlockProcessor:reorg limit is 200 blocks
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/electrumx-0.9.19-py3.5.egg/EGG-INFO/scripts/electrumx_server.py", line 68, in main
  File "/usr/local/lib/python3.5/dist-packages/electrumx-0.9.19-py3.5.egg/EGG-INFO/scripts/electrumx_server.py", line 49, in main_loop
  File "/usr/local/lib/python3.5/dist-packages/electrumx-0.9.19-py3.5.egg/server/protocol.py", line 58, in __init__
    self.bp = BlockProcessor(env)
  File "/usr/local/lib/python3.5/dist-packages/electrumx-0.9.19-py3.5.egg/server/block_processor.py", line 161, in __init__
    super().__init__(env)
  File "/usr/local/lib/python3.5/dist-packages/electrumx-0.9.19-py3.5.egg/server/db.py", line 54, in __init__
    self.reopen_db(True)
  File "/usr/local/lib/python3.5/dist-packages/electrumx-0.9.19-py3.5.egg/server/db.py", line 86, in reopen_db
    self.db = open_db(db_name, self.env.db_engine, max_open_files)
  File "/usr/local/lib/python3.5/dist-packages/electrumx-0.9.19-py3.5.egg/server/storage.py", line 24, in open_db
    return db_class(name, for_sync)
  File "/usr/local/lib/python3.5/dist-packages/electrumx-0.9.19-py3.5.egg/server/storage.py", line 34, in __init__
    self.open(name, create=self.is_new, for_sync=for_sync)
  File "/usr/local/lib/python3.5/dist-packages/electrumx-0.9.19-py3.5.egg/server/storage.py", line 85, in open
    max_open_files=mof, compression=None)
  File "_plyvel.pyx", line 236, in plyvel._plyvel.DB.__init__ (plyvel/_plyvel.cpp:3129)
  File "_plyvel.pyx", line 80, in plyvel._plyvel.raise_for_status (plyvel/_plyvel.cpp:1698)
plyvel._plyvel.IOError: b'IO error: lock Bitcoin-mainnet/LOCK: Resource temporarily unavailable'
CRITICAL:root:ElectrumX server terminated abnormally
legendary
Activity: 1896
Merit: 1353
December 13, 2016, 08:22:18 AM
ElectrumX announced and showing potential.

ElectrumX is pretty stable and fast. It is now linked from electrum.org, in replacement of electrum-server
legendary
Activity: 1666
Merit: 1000
October 24, 2016, 04:53:05 PM
Some interesting things brewing in the world of electrum servers...

ElectrumX announced and showing potential.

Fireduck is back to hacking away (in his spare time) on Jelectrum

newbie
Activity: 29
Merit: 12
August 19, 2016, 02:15:53 PM
Hi All,

I'm trying to get a new electrum server started, but it doesn't seem to sync all the way with bitcoind.  Bitcoind is up to the latest block, but electrum server is almost 1000 blocks behind it and falling further behind.  At one point it was 941 blocks behind, then 966 blocks behind, ...

Edit: Can it take that much longer to process via electrum than to keep up with the blockchain with bitcoind?  That is, if the hardware can keep up with bitcoind with lots of CPU and RAM to spare, shouldn't it be possible for electrum-server to catch up?  The log just shows it dropping further and further behind.  Perhaps I'm just missing something here?

The thing is slow. In my experience it take a lot more resources than bitcoind per block to digest. Maybe the insert into the patricia tree (?) utxo data structure is to blame? I wouldn't know.

There was an alternative implementation mentioned further up (in java?). I've been wanting to give it a try, but there's no pressure (the machine I use for electrum server has plenty of juice). Maybe you can try it and report back?

EDIT: found the post:

Are there any news about server re-write, with faster block processing?
Fireduck re-wrote electrum-server in Java and it processes blocks much faster than the original Python version.
See https://bitcointalksearch.org/topic/java-electrum-server-jelectrum-726338

I'll give it a try tonight.  It continues to fall further behind bitcoind, so I have to try something.  I'll report back tomorrow.  Thanks for the suggestion.
donator
Activity: 2772
Merit: 1019
August 19, 2016, 01:28:08 PM
Hi All,

I'm trying to get a new electrum server started, but it doesn't seem to sync all the way with bitcoind.  Bitcoind is up to the latest block, but electrum server is almost 1000 blocks behind it and falling further behind.  At one point it was 941 blocks behind, then 966 blocks behind, ...

Edit: Can it take that much longer to process via electrum than to keep up with the blockchain with bitcoind?  That is, if the hardware can keep up with bitcoind with lots of CPU and RAM to spare, shouldn't it be possible for electrum-server to catch up?  The log just shows it dropping further and further behind.  Perhaps I'm just missing something here?

The thing is slow. In my experience it take a lot more resources than bitcoind per block to digest. Maybe the insert into the patricia tree (?) utxo data structure is to blame? I wouldn't know.

There was an alternative implementation mentioned further up (in java?). I've been wanting to give it a try, but there's no pressure (the machine I use for electrum server has plenty of juice). Maybe you can try it and report back?

EDIT: found the post:

Are there any news about server re-write, with faster block processing?
Fireduck re-wrote electrum-server in Java and it processes blocks much faster than the original Python version.
See https://bitcointalksearch.org/topic/java-electrum-server-jelectrum-726338
newbie
Activity: 29
Merit: 12
August 19, 2016, 10:10:44 AM
Hi All,

I'm trying to get a new electrum server started, but it doesn't seem to sync all the way with bitcoind.  Bitcoind is up to the latest block, but electrum server is almost 1000 blocks behind it and falling further behind.  At one point it was 941 blocks behind, then 966 blocks behind, ...

Edit: Can it take that much longer to process via electrum than to keep up with the blockchain with bitcoind?  That is, if the hardware can keep up with bitcoind with lots of CPU and RAM to spare, shouldn't it be possible for electrum-server to catch up?  The log just shows it dropping further and further behind.  Perhaps I'm just missing something here?
brand new
Activity: 0
Merit: 10
June 11, 2016, 01:51:13 AM
run run_electrum_server.py in user:
INFO:electrum:reorganizing, a block in file is orphaned: af995b0c0f6b73250c877899ada43a2cb9ff9f6cfcbb98fe4235581562f1b97a
brand new
Activity: 0
Merit: 10
June 11, 2016, 01:45:09 AM
root@iZ94bc81uuyZ:~# electrum-server start
Server already running (pid Do not run this program as root!
Run the install script to create a non-privileged user.)
full member
Activity: 175
Merit: 100
June 11, 2016, 08:20:30 AM
Any knows or have a good reference on starting electrum-server in regtest mode? I tried to setup it in VM but the installation steps are outdated, at least for Ubuntu - fails on `python setup.py install` step. Optionally if anyone knows updated electrum-server docker image?
maybe anyone knows an alternative spv wallet + server for it that can be easily started from docker or complete script?
full member
Activity: 175
Merit: 100
June 01, 2016, 02:51:54 PM
Any knows or have a good reference on starting electrum-server in regtest mode? I tried to setup it in VM but the installation steps are outdated, at least for Ubuntu - fails on `python setup.py install` step. Optionally if anyone knows updated electrum-server docker image?
legendary
Activity: 1666
Merit: 1000
March 30, 2016, 06:03:05 AM
The fact that there are less than 50 servers scares me quite a bit.
What happens if all the Electrum servers go offline?

If all 50 servers disappear, you can still set up your own Smiley

And with that one I can then send my BTC to a non-light wallet, by making a last transfer from Electrum to another BTC address, right?
Indeed.

OK, thank you Smiley
However, aren't 50 server a bit few?
I mean, I didn't have performance problems up to now, but in the future?

The Electrum developers will probably tackle that if it ever becomes a problem, don't worry Smiley

There are plenty of servers to satisfy the current number of clients.  If anything, I am probably going to shut down a server or two as the load is negligible.
sr. member
Activity: 349
Merit: 250
March 22, 2016, 02:13:48 PM
The fact that there are less than 50 servers scares me quite a bit.
What happens if all the Electrum servers go offline?

If all 50 servers disappear, you can still set up your own Smiley

And with that one I can then send my BTC to a non-light wallet, by making a last transfer from Electrum to another BTC address, right?
Indeed.

OK, thank you Smiley
However, aren't 50 server a bit few?
I mean, I didn't have performance problems up to now, but in the future?

The Electrum developers will probably tackle that if it ever becomes a problem, don't worry Smiley
sdp
sr. member
Activity: 470
Merit: 281
March 22, 2016, 02:13:14 PM
If you want a network that will pay the w nodes rather than only the miners.   Then you have dash.   Otherwise we can fork the client source code to pay to the electrum server as well as the miner fee.  Only people who are both savvy enough to use github and who care about the electrum server count enough would ever use such a client though.  There are other light clients out there that don't use electrum servers.   These clients have to do more work.

I am concerned about transactions with 0.1mBTC for a transaction not getting through.  If the user must add another 0.1mBTC, the users might decide to go with some other light client.   

sdp
hero member
Activity: 546
Merit: 500
LOL what you looking at?
March 22, 2016, 01:47:34 PM
The fact that there are less than 50 servers scares me quite a bit.
What happens if all the Electrum servers go offline?

If all 50 servers disappear, you can still set up your own Smiley

And with that one I can then send my BTC to a non-light wallet, by making a last transfer from Electrum to another BTC address, right?
Indeed.

OK, thank you Smiley
However, aren't 50 server a bit few?
I mean, I didn't have performance problems up to now, but in the future?
sr. member
Activity: 349
Merit: 250
March 22, 2016, 12:57:58 PM
The fact that there are less than 50 servers scares me quite a bit.
What happens if all the Electrum servers go offline?

If all 50 servers disappear, you can still set up your own Smiley

And with that one I can then send my BTC to a non-light wallet, by making a last transfer from Electrum to another BTC address, right?
Indeed.
hero member
Activity: 546
Merit: 500
LOL what you looking at?
March 22, 2016, 12:49:37 PM
The fact that there are less than 50 servers scares me quite a bit.
What happens if all the Electrum servers go offline?

If all 50 servers disappear, you can still set up your own Smiley

And with that one I can then send my BTC to a non-light wallet, by making a last transfer from Electrum to another BTC address, right?
sr. member
Activity: 349
Merit: 250
March 22, 2016, 12:36:54 PM
The fact that there are less than 50 servers scares me quite a bit.
What happens if all the Electrum servers go offline?

If all 50 servers disappear, you can still set up your own Smiley
hero member
Activity: 546
Merit: 500
LOL what you looking at?
March 22, 2016, 12:11:12 PM
The fact that there are less than 50 servers scares me quite a bit.
What happens if all the Electrum servers go offline?
donator
Activity: 2772
Merit: 1019
February 10, 2016, 11:33:02 AM
Are there any news about server re-write, with faster block processing?
Fireduck re-wrote electrum-server in Java and it processes blocks much faster than the original Python version.
See https://bitcointalksearch.org/topic/java-electrum-server-jelectrum-726338

thanks for the info/link... might come in handy.
newbie
Activity: 34
Merit: 0
February 05, 2016, 06:28:05 PM
Are there any news about server re-write, with faster block processing?
Fireduck re-wrote electrum-server in Java and it processes blocks much faster than the original Python version.
See https://bitcointalksearch.org/topic/java-electrum-server-jelectrum-726338
Pages:
Jump to: