Pages:
Author

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

hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
June 03, 2013, 04:00:14 AM
From my now ancient tutorial thread on setting up the server,

sudo apt-get update
sudo apt-get install git htop build-essential libssl-dev libboost-all-dev libdb5.1++-dev python-leveldb python-setuptools
sr. member
Activity: 349
Merit: 250
June 03, 2013, 03:54:43 AM
Hi all, i use this guide to start my electrum server: https://github.com/spesmilo/electrum-server/blob/master/HOWTO.md

But when i try to strat with comand electrum-server
consolle give me this error:
Code:
[bitcoin@satoshidiamond ~]$ electrum-server
Traceback (most recent call last):
  File "/home/bitcoin/bin/electrum-server", line 146, in
    from backends.bitcoind import BlockchainProcessor
  File "/home/bitcoin/src/electrum/server/backends/bitcoind/__init__.py", line 1, in
    from blockchain_processor import BlockchainProcessor
  File "/home/bitcoin/src/electrum/server/backends/bitcoind/blockchain_processor.py", line 4, in
    import leveldb
ImportError: No module named leveldb

Someone can help me?

Did you install the python leveldb module?
hero member
Activity: 938
Merit: 1000
June 03, 2013, 03:53:32 AM
You will have to install leveldb.
hero member
Activity: 556
Merit: 501
CryptoTalk.Org - Get Paid for every Post!
June 03, 2013, 03:46:47 AM
Hi all, i use this guide to start my electrum server: https://github.com/spesmilo/electrum-server/blob/master/HOWTO.md

But when i try to strat with comand electrum-server
consolle give me this error:
Code:
[bitcoin@satoshidiamond ~]$ electrum-server
Traceback (most recent call last):
  File "/home/bitcoin/bin/electrum-server", line 146, in
    from backends.bitcoind import BlockchainProcessor
  File "/home/bitcoin/src/electrum/server/backends/bitcoind/__init__.py", line 1, in
    from blockchain_processor import BlockchainProcessor
  File "/home/bitcoin/src/electrum/server/backends/bitcoind/blockchain_processor.py", line 4, in
    import leveldb
ImportError: No module named leveldb

Someone can help me?
full member
Activity: 188
Merit: 100
May 30, 2013, 11:57:36 AM
E_stepkrav has been upgraded too.
full member
Activity: 225
Merit: 100
May 30, 2013, 08:38:14 AM
Did the upgrade already about 10 days ago; no problems with 0.8.2(rc1) so far...
hero member
Activity: 938
Merit: 1000
May 30, 2013, 05:21:54 AM
Electrum server at electrum.bysh.me is upgraded as well and safe for use.
sr. member
Activity: 349
Merit: 250
May 30, 2013, 04:00:26 AM
server ops please upgrade your bitcoind
see: https://bitcointalksearch.org/topic/m.2315447

Done. Electrum.be has been upgraded.
legendary
Activity: 1896
Merit: 1353
May 30, 2013, 01:36:38 AM
server ops please upgrade your bitcoind
see: https://bitcointalksearch.org/topic/m.2315447
hero member
Activity: 938
Merit: 1000
May 23, 2013, 04:11:27 AM
Generally; no. Only if they are up-to-date with bitcoind.
sr. member
Activity: 434
Merit: 250
May 22, 2013, 12:38:54 PM
Does Electrum server generally work with alt coins if you apply the bitcoind patch to d?
legendary
Activity: 1896
Merit: 1353
May 16, 2013, 09:35:22 AM
Couldn't these be coin generation transactions?  They are the only transactions that do not have a tx_in.  There should be one for each block as is listed in the error there.
I don't know.
I have stopped using Abe for a long time, and no longer support it
sdp
sr. member
Activity: 470
Merit: 281
May 16, 2013, 08:24:51 AM
I see that bitcoin-abe and electrum/server have been updated. Should I go ahead an upgrade or should I wait until everything is stable?

Well, I went ahead and upgraded (after making a backup of the database). The server is outputting messages like those below. Should I be worried/should I restore from backup and downgrade?

Code:
block number: 184242
WARNING: missing tx_in for tx 3977349
WARNING: missing tx_out for tx 3977349
block number: 184243
WARNING: missing tx_in for tx 3977352
block number: 184244
WARNING: missing tx_in for tx 3977356
block number: 184245
WARNING: missing tx_in for tx 3977404
block number: 184246
WARNING: missing tx_in for tx 3977413
block number: 184247
WARNING: missing tx_in for tx 3977461
block number: 184248
no, don't worry. I added these warnings after the last schema change in abe, but they seem to be harmless.

Couldn't these be coin generation transactions?  They are the only transactions that do not have a tx_in.  There should be one for each block as is listed in the error there.
legendary
Activity: 1708
Merit: 1010
May 06, 2013, 09:10:14 AM
I've been thinking of an idea, but I lack the skills to follow through, so I'm going to lay it out here and let anyone who wishes take it up.

I would like to have an android client that can connect to any given electrum server, but also via TOR.  I'd also like the client to have the ability to create transactions offline using confirmed transactions for which it is already aware, and connect to other clients like itself via a shared wifi hotspot like a piratebox. (http://wiki.daviddarts.com/PirateBox_DIY)  In this fashion, the android client can develop a set of transactions in optimal amounts that would allow it to create several transactions without the need to reuse it's own change inputs for a time wherever the transacting parties have a piratebox (or any other accesspoint) with or without a live connection to an electrum server and whenever trust isn't an issue.  The use case here is like the cash you carry in your wallet.  There is only so much there, and it doesn't require live internet to work.
full member
Activity: 188
Merit: 100
May 06, 2013, 08:29:26 AM
SSL/HTTPS ecrypts the data between your client and the server. They're only "hiding" the data from a third party inspecting the connection.
full member
Activity: 142
Merit: 104
May 06, 2013, 08:20:19 AM
SLL/HTPPS connections increase the security?
They are needed only to hide the electrum service to the network, aren't they?
Thanks
full member
Activity: 225
Merit: 100
April 28, 2013, 03:18:53 AM
[...] Please upgrade your servers!

Done (and worked for me). Thank you, Thomas.
legendary
Activity: 1896
Merit: 1353
April 28, 2013, 02:42:36 AM
many electrum servers became unusable tonight, because of very large transactions in the memory pool.
I figured out the mempool code was not efficient, and I fixed it.
Please upgrade your servers!
full member
Activity: 142
Merit: 104
April 18, 2013, 09:54:58 AM
I'm half the way of setting this server up. I must say that compiling bitcoind was fun.  Cheesy But bicoind needs a lot of resources, my little 512 RAM vps can't do it i guess? Opinions?

I think it should be possible if you monitor the bitcoind process and reboot it every other day.

bitcoind is using the 43% of my 1GB of RAM x.x

I have a problem lauching the server: (the bitcoin chain is updated)
Code:
[18/04/2013-16:42:33] Starting Electrum server on BlaBla
Traceback (most recent call last):
  File "/home/bitcoin/src/electrum-server/backends/bitcoind/blockchain_processor.py", line 62, in __init__
    hist = self.deserialize(self.db.Get('height'))
KeyError
[18/04/2013-16:42:34] initializing database
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 1082, in run
    self.function(*self.args, **self.kwargs)
  File "/home/bitcoin/src/electrum-server/backends/bitcoind/blockchain_processor.py", line 82, in
    threading.Timer(0, lambda: self.catch_up(sync=False)).start()
  File "/home/bitcoin/src/electrum-server/backends/bitcoind/blockchain_processor.py", line 783, in catch_up
    next_block = self.bitcoind('getblock', [next_block_hash, 1])
  File "/home/bitcoin/src/electrum-server/backends/bitcoind/blockchain_processor.py", line 105, in bitcoind
    raise BaseException(r['error'])
BaseException: {u'message': u'getblock \nReturns details of a block with given block-hash.', u'code': -1}
full member
Activity: 188
Merit: 100
March 31, 2013, 07:19:55 AM
To improve installation notes at github perhaps you could add the packages needed for debian servers :

Code:
apt-get install python make build-essential python-leveldb libboost-all-dev libdb++-dev libminiupnpc-dev python-setuptools python-openssl

Some of them already referred but perhaps it's better to have them all in one command/place.
Pages:
Jump to: