Pages:
Author

Topic: Electrum server discussion thread - page 10. (Read 61423 times)

newbie
Activity: 37
Merit: 0
July 07, 2014, 10:17:47 AM
Third time in 2 or 3 months that the database of my server e2.pdmc.net broke ("wrong_hash"). Is this just me or are other operators experiencing this as well?
Anyway, I'll take my server offline for now and bring it back online once I find enough time to move it faster hardware (probably in August).

I have the same, I moved to Samsung 840 SSD but database is still breaking sometimes, without a clear reason.

S.
full member
Activity: 225
Merit: 100
July 07, 2014, 09:51:47 AM
Third time in 2 or 3 months that the database of my server e2.pdmc.net broke ("wrong_hash"). Is this just me or are other operators experiencing this as well?
Anyway, I'll take my server offline for now and bring it back online once I find enough time to move it faster hardware (probably in August).
sr. member
Activity: 282
Merit: 250
SteamBitShop.com
May 22, 2014, 04:48:57 PM
Hi everyone. I've got my server up and running, and I'm able to connect to it using a copy of Electrum running on the same machine. However I'm unable to connect to it from my windows PC on the same network. I've tried each of the protocols and double checked the config, everything looks fine as far as I can tell. Any help would be appreciated.

Edit: I tried using both the server's LAN IP and its hostname to connect.

Edit2: I read through some previous posts and fixed the probelm by setting host to 0.0.0.0 in electrum.conf

If I'm able to store either the blockchain or Electrum's leveldb on an SSD, but not both, which would be better?
legendary
Activity: 1896
Merit: 1353
April 28, 2014, 11:44:30 AM
Four Electrum servers need to be updated:

 E_SLUSH
 E_206I
 E_CryptoPusH
 E_mg

They are running with the old 0.8 protocol (not used by recent clients), and they often get rejected from the IRC channel due to excess flood (this bug has been corrected for a while).
Please upgrade!

s4
newbie
Activity: 3
Merit: 0
April 25, 2014, 03:53:13 PM

Fixed it for me as well.

I was able to reproduce the problem by starting the server without setting an appropriate limit for maximum open files. After an exception was thrown for too many open files, correcting the maximum open files and restarting the server caused my server to be kicked from IRC.

newbie
Activity: 32
Merit: 0
April 24, 2014, 08:36:08 PM
Redownloading latest DB indeed fixed the problem.

Now I wonder what the following lines mean. Is this normal?

[24/04/2014-00:33:26] utxo not in database; postponing mempool update
[24/04/2014-00:33:37] utxo not in database; postponing mempool update
legendary
Activity: 1896
Merit: 1353
April 24, 2014, 02:33:54 AM
Electrum servers build and maintain a merkle hash tree of the set of UTXOs in the blockchain.
Your server will be kicked from IRC if it does not advertise the correct root hash.
newbie
Activity: 32
Merit: 0
April 23, 2014, 07:30:35 PM
I'm having the same problem. Folks at IRC suggested to redownload the DB from foundry.
s4
newbie
Activity: 3
Merit: 0
April 23, 2014, 01:56:41 PM

Hi all,

I just got my electrum server up and running today. All seems to be operating fine, but I am receiving this mesage in the logs:

KICK E_f6ee30c3ff:wrong_hash

This looks to be something to do with the IRC server for finding peers. Is this something to be concerned about?
newbie
Activity: 32
Merit: 0
April 22, 2014, 02:01:24 AM
Got it. In the configuration file, host should resolve to the address of an interface where the server should listen for new connections. For public server it should probably be 0.0.0.0. The name used by clients and peers to connect to the server should be defined in report_host.
newbie
Activity: 32
Merit: 0
April 21, 2014, 05:25:13 PM
Can anyone give me a hint on what might be going wrong with my server. Any time it catches up with the blockchain, it crashes. The exception error message suggests that bind() fails, however I can't see the reason for that happening, as all ports assigned in the configuration file are unused. Here is what I get in the log file:

Code:
[21/04/2014-12:37:56] Database version 3
[21/04/2014-12:37:56] Blockchain height 296956
[21/04/2014-12:37:56] UTXO tree root hash: 469a5e3385265bc67a0f9479cc26f012d31b6544728148faf594140411d964d3
[21/04/2014-12:37:56] Coins in database: 1267617386701994
[21/04/2014-12:37:56] catching up missing headers: 296934 296956
[21/04/2014-13:24:55] catch_up: block 297000 (4.029s 2814.156s) 36ce5c0b18d7b84140e4b87c8d0334046c267c024d1ef51fe34b43573a97d54f
[21/04/2014-14:04:53] Blockchain is up to date.
[21/04/2014-14:05:40] utxo not in database; postponing mempool update
[21/04/2014-14:05:40] Memory pool initialized.
[21/04/2014-14:05:40] TCP server started on port 50001
[21/04/2014-14:05:40] SSL server started on port 50002
[21/04/2014-14:05:40] Stopping Stratum
Exception in thread Thread-8:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/home/bitcoin/src/electrum/server/transports/stratum_tcp.py", line 168, in run
    sock.bind((self.host, self.port))
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 99] Cannot assign requested address

Exception in thread Thread-7:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/home/bitcoin/src/electrum/server/transports/stratum_tcp.py", line 168, in run
    sock.bind((self.host, self.port))
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 99] Cannot assign requested address

Exception in thread Thread-9:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/home/bitcoin/src/electrum/server/transports/stratum_http.py", line 375, in run
    self.server = StratumThreadedServer((self.host, self.port))
  File "/home/bitcoin/src/electrum/server/transports/stratum_http.py", line 294, in __init__
    SocketServer.TCPServer.__init__(self, addr, requestHandler, bind_and_activate)
  File "/usr/lib64/python2.7/SocketServer.py", line 419, in __init__
    self.server_bind()
  File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 99] Cannot assign requested address

Exception in thread Thread-10:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/home/bitcoin/src/electrum/server/transports/stratum_http.py", line 370, in run
    self.server = StratumThreadedServer((self.host, self.port), self.certfile, self.keyfile)
  File "/home/bitcoin/src/electrum/server/transports/stratum_http.py", line 327, in __init__
    SSLTCPServer.__init__(self, addr, certfile, keyfile, requestHandler, bind_and_activate)
  File "/home/bitcoin/src/electrum/server/transports/stratum_http.py", line 263, in __init__
    self.server_bind()
  File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 99] Cannot assign requested address

[21/04/2014-14:05:50] Stopping timer
[21/04/2014-14:05:50] Closing database...
[21/04/2014-14:05:50] Database is closed
[21/04/2014-14:05:50] Electrum Server stopped
full member
Activity: 137
Merit: 100
April 13, 2014, 05:42:52 PM
Your server is not good configured when I connect to him hi don't show limit of users for all servers and when I change it with another hi disappear  from the list of servers.
Hmm, I wouldn't call that "not good configured" - the server just lost its connection to IRC. After restarting it everything is back to normal.
Anyway thank you for the hint!

Again lost connection to IRC so I didnt try to use low fee 0.00001/kb with your server but with another servers ho use bitcoind  0.9.1 I try to send without suggest are you chek it is working with your server because I try with  from #electrum IRC chanel to fix him server without suggest - I send to him 0.0003 btc with fee 0.00001 but in him log there is dust error.
full member
Activity: 225
Merit: 100
April 13, 2014, 11:30:26 AM
Your server is not good configured when I connect to him hi don't show limit of users for all servers and when I change it with another hi disappear  from the list of servers.
Hmm, I wouldn't call that "not good configured" - the server just lost its connection to IRC. After restarting it everything is back to normal.
Anyway thank you for the hint!
full member
Activity: 137
Merit: 100
April 11, 2014, 12:32:49 PM
Is there any electrum server which updatet to bitcon core (0.9.0) and enables transactions to be propagated with 0.00001 btc fee / kb?

I've upgraded e2.pdmc.net to 0.9.1 yesterday and adjusted the minimum fee accordingly.
Your server is not good configured when I connect to him hi don't show limit of users for all servers and when I change it with another hi disappear  from the list of servers.
full member
Activity: 225
Merit: 100
April 10, 2014, 04:27:43 AM
Is there any electrum server which updatet to bitcon core (0.9.0) and enables transactions to be propagated with 0.00001 btc fee / kb?

I've upgraded e2.pdmc.net to 0.9.1 yesterday and adjusted the minimum fee accordingly.
sr. member
Activity: 392
Merit: 251
April 09, 2014, 01:32:24 PM
Is there any electrum server which updatet to bitcon core (0.9.0) and enables transactions to be propagated with 0.00001 btc fee / kb?

I think mine meets those requirements.  b.1209k.com with the normal ports.

bitcoind getinfo
{
    "version" : 99900,
    "protocolversion" : 70002,
hero member
Activity: 803
Merit: 500
April 07, 2014, 12:31:35 PM
Is there any electrum server which updatet to bitcon core (0.9.0) and enables transactions to be propagated with 0.00001 btc fee / kb?
sd
hero member
Activity: 730
Merit: 500
April 06, 2014, 03:19:16 AM
I'm setting up an electrum server by following the instructions in HOWTO.md. I have some minor comments.

Unless I missed something 'start' can't find server.py.
  ln -s ~/src/electrum/server/start ~/bin/electrum-server
Should be something like:
  ln -s ~/src/electrum/server/server.py ~/bin/
  cp ~/src/electrum/server/stop ~/bin
  cp ~/src/electrum/server/start ~/bin

I needed to change the last line of the start file to log to somewhere I could write to.

The message electrum gives when starting is different from the message in the instructions. The first time I started the process I thought it didn't start right because of this.

Some guidance on what kind of disks I need for day to day operations would be good. Obviously the initial load needs a big ramdisk but once that is done are cheap SATA disks OK? or do I need expensive SAS or SSD disks? You don't recommend using tmpfs permanently do you?


Great work on electrum guys! Light clients are definitely the future.

EDIT:

Am I taking too long to process blocks here?
[07/04/2014-08:01:27] blockchain: 294612 (43.155s)
[07/04/2014-08:44:22] blockchain: 294613 (129.569s)
[07/04/2014-09:31:46] blockchain: 294614 (393.087s)
[07/04/2014-10:10:55] blockchain: 294615 (208.884s)
[07/04/2014-10:24:46] blockchain: 294618 (545.485s)
[07/04/2014-10:35:29] blockchain: 294619 (181.850s)
full member
Activity: 225
Merit: 100
March 05, 2014, 06:42:34 AM
Just to be clear, do you mean someone other than me is already on it?

grnbrg (in IRC/#electrum) is buildung a 10k db.
sr. member
Activity: 392
Merit: 251
March 04, 2014, 04:27:52 PM
Just in case someone is having the same trouble as me.  When I ran the foundry fulltree version from Feb I got an error saying it was deprecated.  I imagine something in the format changed.  [...]

Here's the format change which makes the foundry full tree version (from Feb 17th) unusable:
https://github.com/spesmilo/electrum-server/commit/7164e2928d341fe197b68a9966542e7be1e26709
https://github.com/spesmilo/electrum-server/commit/2a8c19f5f3bdae38e9ef89bf7515dc10a7bb1893

And there's already somebody building a 10k db. I guess you'll be better of if you just wait for his db.

Just to be clear, do you mean someone other than me is already on it?
Pages:
Jump to: