Bitcoin Forum
May 11, 2024, 01:42:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / Error while launching electrumx server for dash. on: August 12, 2020, 03:42:16 PM
Hi i wanted to launch electrumx server for dash in docker.

it almost launched fine but than i got:

Code:
sudo docker run -v /home/user/data/electrumx:/data   -e DAEMON_URL=http://user:passwd@12.3.45.6:7899   -e COIN=Dash   -p 50012:50012   lukechilds/electrumx
INFO:electrumx:ElectrumX server starting
INFO:electrumx:logging level: INFO
INFO:Controller:Python version: 3.7.7 (default, May 20 2020, 21:33:25)  [GCC 9.2.0]
INFO:Controller:software version: ElectrumX 1.15.0 
INFO:Controller:aiorpcX version: 0.18.4
INFO:Controller:supported protocol versions: 1.4-1.4.2
INFO:Controller:event loop policy: None
INFO:Controller:reorg limit is 200 blocks
INFO:DashDaemon:daemon #1 at 10.0.35.5:9998/ (current)
INFO:DB:switching current directory to /data
INFO:DB:using leveldb for DB backend
INFO:DB:opened UTXO DB (for sync: True)
INFO:DB:UTXO DB version: 8
INFO:DB:coin: Dash
INFO:DB:network: mainnet
INFO:DB:height: -1
INFO:DB:tip: 0000000000000000000000000000000000000000000000000000000000000000
INFO:DB:tx count: 0
INFO:DB:flushing DB cache at 1,200 MB
INFO:DB:sync time so far: 00s
INFO:History:history DB version: 1
INFO:History:flush count: 0
INFO:SessionManager:RPC server listening on 0.0.0.0:8000
INFO:Prefetcher:catching up to daemon height 1,320,079 (1,320,080 blocks behind)
ERROR:Prefetcher:ignoring unexpected exception
Traceback (most recent call last):
  File "/electrumx/electrumx/server/block_processor.py", line 56, in main_loop
    if not await self._prefetch_blocks():
  File "/electrumx/electrumx/server/block_processor.py", line 126, in _prefetch_blocks
    blocks[0] = self.coin.genesis_block(blocks[0]) 
  File "/electrumx/electrumx/lib/coins.py", line 141, in genesis_block
    header_hex_hash = hash_to_hex_str(cls.header_hash(header))
  File "/electrumx/electrumx/lib/coins.py", line 1235, in header_hash
    import x11_hash
ModuleNotFoundError: No module named 'x11_hash'
ERROR:Prefetcher:ignoring unexpected exception

does this image doesn't have support for Dash? What else than should i use?
Thanks in advance!   Cheesy
2  Bitcoin / Electrum / Problem launching electrumx server. on: July 27, 2020, 12:49:46 PM
Hi i have installed electrumx server (https://github.com/kyuupichan/electrumx), but when i try to launch it with
Code:
 systemctl start electrumx
i doesn't start.

checking the status i got:

Code:
Jul 27 12:35:39 dev-electrumx-ltc systemd[1]: Started Electrumx.
Jul 27 12:35:40 dev-electrumx-ltc electrumx_server[14427]: INFO:electrumx:ElectrumX server starting
Jul 27 12:35:40 dev-electrumx-ltc electrumx_server[14427]: ERROR:electrumx:ElectrumX server terminated abnormally
Jul 27 12:35:40 dev-electrumx-ltc electrumx_server[14427]: Traceback (most recent call last):
Jul 27 12:35:40 dev-electrumx-ltc electrumx_server[14427]:   File "/usr/local/lib/python3.7/site-packages/electrumX-1.15.0-py3.7.egg/EGG-INFO/scripts/electrumx_server", line 31, in main
Jul 27 12:35:40 dev-electrumx-ltc electrumx_server[14427]:   File "/usr/local/lib/python3.7/site-packages/electrumX-1.15.0-py3.7.egg/electrumx/server/env.py", line 51, in __init__
Jul 27 12:35:40 dev-electrumx-ltc electrumx_server[14427]:     self.coin = Coin.lookup_coin_class(coin_name, network)
Jul 27 12:35:40 dev-electrumx-ltc electrumx_server[14427]:   File "/usr/local/lib/python3.7/site-packages/electrumX-1.15.0-py3.7.egg/electrumx/lib/coins.py", line 108, in lookup_coin_class
Jul 27 12:35:40 dev-electrumx-ltc electrumx_server[14427]:     .format(name, net))
Jul 27 12:35:40 dev-electrumx-ltc electrumx_server[14427]: electrumx.lib.coins.CoinError: unknown coin Litecoin and network mainnet combination

electrumx.conf file:

Code:
DAEMON_URL=http://user:1234@123.123.123.123:1234
DB_DIRECTORY=/home/electrumx/data
DB_ENGINE=leveldb
COIN=Litecoin
NET=mainnet

i checked the lib/coins.py and don't see Litecoin there but i read that electrumx is supporting LTC, i am stucked, thanks for any help!
3  Bitcoin / Bitcoin Technical Support / Conneting server to a node. on: July 03, 2020, 12:10:39 PM
Hi i have set up a server (following this guide: https://www.oodlestechnologies.com/blogs/A-Brief-Introduction-of-Litecoin-Server-Setup/). Also i have litecoin node on my network (it's is post rpc, i wrote simple client in python so i can query it, and it returns proper number of blocks). I would like to connect node (node is up set up by someone else) to this server, and than use this server in my electrum-wallet.  However i am facing problems because of lack of knowledge. When i start the litecoind-cli and sent 'getinfo' it returns me '234611' number of blocks which is strange.

My litecoin.conf file:

connect=node_ip:port
server=1
rpcuser=user
rpcpassword=password
txindex=1

i used this docs: https://manpages.debian.org/testing/litecoind/litecoin.conf.5

I searched a lot on web but can't resolve my problems.
Thanks for any help in advance!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!