Post
Topic
Board Electrum
Re: Electrum server discussion thread
by
EvryIntl
on 19/08/2016, 19:15:53 UTC
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://bitcointalk.org/index.php?topic=726338.0

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.