Open AngeloMetal opened 3 years ago
You need to configure some environment variables. Also see the HOWTO.
You need to configure some environment variables. Also see the HOWTO.
Hello, thanks.
I have downloaded the Bitcoin testnet block chain on my external hard drive and not anywhere inside the Ubuntu directories. Is this a problem? This is the content I've saved on DB_DIRECTORY
of \scripts\electrumx\daemontools\env
:
E:\p2p\BTC\AppData\testnet\testnet3
.
I've also changed the other required variables, but still get the same error. I guess that it has to do with the fact that the Bitcoin database is located on the external drive, but I'd like you to confirm this.
Messing WSL and Windoze in one program is not good option - use storage on WSL not /mnt/c/data/whatever
Using windows directory from WSL will cause serious slowdowns.
You need to export needed variables before start serer.
You can do it by script, ie:
#!/bin/sh
export COIN=Bitcoin
export DAEMON_URL=http://testuser:testpassword@127.0.0.1:11333
export NET=testnet
export DB_DIRECTORY=/home/username/electrumx/test-db
export SSL_CERTFILE=/home/username/electrumx/server.crt
export SSL_KEYFILE=/home/username/electrumx/server.key
export BANNER_FILE=/home/username/electrumx/banner-test
export DONATION_ADDRESS=your-donation-address
export SERVICES=rpc://,SSL://,TCP://
python ./electrumx_server 2>> electrumx-test.log >> electrumx-test.log &
Hi, I'm new to this and I need your help. I've installed electrumx using my WSL Ubuntu 18.04. Once I enter "electrumx_server" on the terminal I get this:
What could it be the fault? Based on the errors, I haven't set DB_DIRECTORY and envvar(?). I've been trying to run my own electrum server in the last couple days, but I've found similar difficulties on my way to achieve it. Although, I don't want to give up, electrum rocks!
Thanks.