Bitcoin Forum
April 23, 2024, 05:45:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 »  All
  Print  
Author Topic: Electrum server discussion thread  (Read 61409 times)
takinbo
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
August 03, 2017, 09:37:13 PM
 #401

Instructions on setting the RPC port can be found here - http://docs.electrum.org/en/latest/merchant.html

Electrum itself is a python application and the version you linked to is for Ubuntu (not Windows).
1713894319
Hero Member
*
Offline Offline

Posts: 1713894319

View Profile Personal Message (Offline)

Ignore
1713894319
Reply with quote  #2

1713894319
Report to moderator
1713894319
Hero Member
*
Offline Offline

Posts: 1713894319

View Profile Personal Message (Offline)

Ignore
1713894319
Reply with quote  #2

1713894319
Report to moderator
1713894319
Hero Member
*
Offline Offline

Posts: 1713894319

View Profile Personal Message (Offline)

Ignore
1713894319
Reply with quote  #2

1713894319
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713894319
Hero Member
*
Offline Offline

Posts: 1713894319

View Profile Personal Message (Offline)

Ignore
1713894319
Reply with quote  #2

1713894319
Report to moderator
1713894319
Hero Member
*
Offline Offline

Posts: 1713894319

View Profile Personal Message (Offline)

Ignore
1713894319
Reply with quote  #2

1713894319
Report to moderator
Lionel
Sr. Member
****
Offline Offline

Activity: 613
Merit: 305


View Profile
August 03, 2017, 11:00:31 PM
 #402

Instructions on setting the RPC port can be found here - http://docs.electrum.org/en/latest/merchant.html

Electrum itself is a python application and the version you linked to is for Ubuntu (not Windows).

Thanks.

Since it's python it should be portable like java, so i wonder why it's just for Linux.

Anyway seems like bitcoind is much easier to get working on Windows at this point..
takinbo
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
August 04, 2017, 11:28:22 AM
 #403

Yes Python is generally portable but the packaging can vary; as in this case.

You should be able to use the Windows executable that you can download from https://electrum.org/#download.
Lionel
Sr. Member
****
Offline Offline

Activity: 613
Merit: 305


View Profile
August 04, 2017, 05:45:37 PM
 #404

You should be able to use the Windows executable that you can download from https://electrum.org/#download.

I have it for Windows but it doesn't have the daemon AFAIK, while Bitcoin Core has the daemon on Windows as well.

I need to call the wallet via JSON-RPC from my scripts, so i need the daemon
takinbo
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
August 04, 2017, 06:34:54 PM
 #405

If you are able to locate the directory (from the command prompt) where Electrum is installed, you can run the commands to start it in daemon mode. Unfortunately, I'm unable to give you specific instructions on how to do that.
mmortal03
Legendary
*
Offline Offline

Activity: 1762
Merit: 1010


View Profile
August 25, 2017, 04:46:40 AM
 #406

This seems important: "The ElectrumX devs made a change in a recent server release so that the default network ("mainnet"), which was previously pointing to the BTC chain, now points to the BCH chain by default. For server operators who update, they now have to explicitly select "bitcoin-segwit" to keep following the BTC chain."

https://www.reddit.com/r/Bitcoin/comments/6vrs69/instead_of_just_cheering_segwit_can_we_get_actual/dm2vwqa/
Green Lantern
Newbie
*
Offline Offline

Activity: 322
Merit: 0


View Profile
October 08, 2017, 05:29:34 PM
 #407

I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?
flowjob
Member
**
Offline Offline

Activity: 130
Merit: 11


View Profile
October 09, 2017, 01:28:10 AM
 #408

I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?

I run 20 electrum servers on one machine without problem. You have to make different configs for each coin and start one instance of electrumx per coin. Here is a sample script to set one up: https://github.com/SuperNETorg/electrumx/blob/master/docs/HOWTO_SuperNET.txt.

◈▣ KOMODO ● Set Your Ideas Free ▣◈
.......AN ECOSYSTEM FOR NATIVE BLOCKCHAINS.......
Blockchain Generator | Decentralized Crowdfunding | Decentralized Exchange | Bitcoin Security | Zero-Knowledge Proofs | Blockchain Interoperability | Scalable Infrastructure
Green Lantern
Newbie
*
Offline Offline

Activity: 322
Merit: 0


View Profile
October 09, 2017, 10:13:15 AM
 #409

I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?

I run 20 electrum servers on one machine without problem. You have to make different configs for each coin and start one instance of electrumx per coin. Here is a sample script to set one up: https://github.com/SuperNETorg/electrumx/blob/master/docs/HOWTO_SuperNET.txt.
This is electrumx. I meant previous electrum server (github.com/spesmilo/electrum-server)
mmortal03
Legendary
*
Offline Offline

Activity: 1762
Merit: 1010


View Profile
October 09, 2017, 06:33:13 PM
 #410

I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?

I run 20 electrum servers on one machine without problem. You have to make different configs for each coin and start one instance of electrumx per coin. Here is a sample script to set one up: https://github.com/SuperNETorg/electrumx/blob/master/docs/HOWTO_SuperNET.txt.
This is electrumx. I meant previous electrum server (github.com/spesmilo/electrum-server)

My understanding is that even the electrum server creator suggests that you use electrumx now.
Green Lantern
Newbie
*
Offline Offline

Activity: 322
Merit: 0


View Profile
October 09, 2017, 09:36:51 PM
 #411

I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?

I run 20 electrum servers on one machine without problem. You have to make different configs for each coin and start one instance of electrumx per coin. Here is a sample script to set one up: https://github.com/SuperNETorg/electrumx/blob/master/docs/HOWTO_SuperNET.txt.
This is electrumx. I meant previous electrum server (github.com/spesmilo/electrum-server)

My understanding is that even the electrum server creator suggests that you use electrumx now.
flowjob is the electrum server creator?
flowjob
Member
**
Offline Offline

Activity: 130
Merit: 11


View Profile
October 19, 2017, 10:42:01 PM
 #412

I tried once to run 2 electrum servers (for different cryptocurrencies) on the same vps. But it didn't allow me to run second server.
Is there a way to run two (and more) electrum servers on same machine?

I run 20 electrum servers on one machine without problem. You have to make different configs for each coin and start one instance of electrumx per coin. Here is a sample script to set one up: https://github.com/SuperNETorg/electrumx/blob/master/docs/HOWTO_SuperNET.txt.
This is electrumx. I meant previous electrum server (github.com/spesmilo/electrum-server)

My understanding is that even the electrum server creator suggests that you use electrumx now.
flowjob is the electrum server creator?

No, i am just running a lot of electrum-servers to use them in BarterDEX. The official repo is this one: https://github.com/kyuupichan/electrumx

◈▣ KOMODO ● Set Your Ideas Free ▣◈
.......AN ECOSYSTEM FOR NATIVE BLOCKCHAINS.......
Blockchain Generator | Decentralized Crowdfunding | Decentralized Exchange | Bitcoin Security | Zero-Knowledge Proofs | Blockchain Interoperability | Scalable Infrastructure
aetherist
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
December 15, 2017, 01:24:43 AM
 #413

I have reinstalled Ubuntu 16 LTS.  Previously I had ElectrumX working, but with unexplained downtime and unreliable fee estimates.  Hence I reinstalled Ubuntu server.  I have reinstalled Ubuntu a few times after failing.  At one point, I symbolically linked /usr/bin/python3 to /usr/bin/python3.6 which broke the package management.  Now I have /usr/local/bin/python3 -> /usr/bin/python3.6 which seems to work; although, I have an error which may or may not be related to package management/dependencies:

Dec 14 16:26:05 icarus electrumx_server.py[2534]: Traceback (most recent call last):
...

Dec 14 16:26:05 icarus electrumx_server.py[2534]:   File "/usr/local/lib/python3.6/dist-packages/electrumx-1.2.1-py3.6.egg/server/block_processor.py", line 148, in __init__
Dec 14 16:26:05 icarus electrumx_server.py[2534]:     self.cancel_history_compaction()
Dec 14 16:26:05 icarus electrumx_server.py[2534]: AttributeError: 'BlockProcessor' object has no attribute 'cancel_history_compaction'

I have no clue whether the issue is with dependencies such as leveldb or something else entirely.
flowjob
Member
**
Offline Offline

Activity: 130
Merit: 11


View Profile
December 16, 2017, 04:33:42 PM
 #414

I would not use ubuntu on servers, use debian instead, you will have much less trouble with it. python3.6 is available in debian https://packages.debian.org/buster/python3.6, so you can install electrumx directly with "sudo python3.6 setup.py install"

◈▣ KOMODO ● Set Your Ideas Free ▣◈
.......AN ECOSYSTEM FOR NATIVE BLOCKCHAINS.......
Blockchain Generator | Decentralized Crowdfunding | Decentralized Exchange | Bitcoin Security | Zero-Knowledge Proofs | Blockchain Interoperability | Scalable Infrastructure
aetherist
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
December 16, 2017, 09:46:32 PM
 #415

In my last iteration of reinstalling, I had commented the following and and replaced it with the sudo installation.
#ExecStart=/home/electrum/electrumx/electrumx_server.py
ExecStart=/usr/local/bin/electrumx_server.py

As a rough postmortem, I got so used to appending the instructions with tweaks such as "pip3" instead of "pip" and "sudo apt-get install" instead of "apt-get install" I lost sight of the fact the in order to contain the privileges of user electrum you want to make sure electrum only starts files/processes which are not owned by root.  I am actually still a little fuzzy how the user electrum could even access a file in /usr (?inherentence from systemctl?).  Therefore, "python3.6 setup.py install" should work for anyone else attempting to install on Ubuntu, but you will probably need the symbolic link from my last post.  I don't know what the error was that caused my to comment the line above was, but my guess is that I would not of seen it on debian (if python3.6 baked in).
wandyer
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 02, 2018, 08:59:44 PM
 #416

I need some help understanding the whole concept of Bitcoin Core + Electrumx.

I have a full node running and electrumx installed, but still don't quite get how I'm going to access it and what are the API calls available to me.

If someone could take their time and contact me privately so it doesn't fill up this thread.

Thanks in advance.
aetherist
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
January 03, 2018, 05:11:45 PM
 #417

I'm going to reply on the thread, so that the next person that sees your question knows that it has been answered.  Also, someone else might have the same question.

Firstly, I like to break up a large problem into smaller ones.  So, in script kiddie fashion, I copy and paste one of these scripts https://en.bitcoin.it/wiki/API_reference_(JSON-RPC) in order to make sure that you can communicate between processes.  A few things can go wrong here.  I've seen a version update break the (inter-process communication) IPC  in both Zcash  and a Bitcoin Unlimited.  It may have been from the same pull which was not properly vetted or separate pulls.  Make sure your username and password match.  If you use Perl, it may have issues parsing some characters in the password, so omit or replace any suspect characters.

JM required
walletnotify=curl -sI --connect-timeout 1 http://localhost:62602/walletnotify?%s
alertnotify=curl -sI --connect-timeout 1 http://localhost:62602/alertnotify?%s
I'm not sure if JMCS does, but I use them.  I think that should get you in the right direction.
GalaxyCash
Member
**
Offline Offline

Activity: 195
Merit: 10


View Profile WWW
March 28, 2018, 06:05:29 PM
Last edit: March 29, 2018, 01:59:58 AM by GalaxyCash
 #418

Hi, i setup electrum server for my coin on Ubuntu 16.04, uses latest electrum from repository, not electrumx

wallet client stuck on synchronization
on server in log:

[29/03/2018-01:54:18] SSL      *.*.*.*:60424    2 3.1.2
[29/03/2018-01:54:19] SSL      *.*.*.*:60426    1 3.1.2
[29/03/2018-01:55:17] error: no processor for mempool
[29/03/2018-01:56:17] error: no processor for mempool
[29/03/2018-01:57:17] error: no processor for mempool
GalaxyCash
Member
**
Offline Offline

Activity: 195
Merit: 10


View Profile WWW
March 29, 2018, 08:39:06 PM
 #419

5000 GCH bounty for build Electrum server and client(windows & linux) with sources for GalaxyCash.
PM me in discord.

https://discord.gg/qCJtFua
aetherist
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
August 17, 2018, 10:18:52 PM
 #420

Aug 17 13:51:37 icarus electrumx_server[1984]: INFO:ElectrumX:[1202] SSL 92.156.243.66:56970, 2 total
Aug 17 13:52:28 icarus electrumx_server[1984]: INFO:ElectrumX:[1203] SSL 190.91.37.177:65412, 2 total
Aug 17 13:53:18 icarus electrumx_server[1984]: INFO:ElectrumX:[1204] SSL 190.91.37.177:49218, 2 total
Aug 17 13:54:14 icarus electrumx_server[1984]: INFO:ElectrumX:[1205] SSL 190.91.37.177:49350, 2 total
Aug 17 13:55:24 icarus electrumx_server[1984]: INFO:ElectrumX:[1206] SSL 190.91.37.177:49538, 2 total
Aug 17 13:56:28 icarus electrumx_server[1984]: INFO:ElectrumX:[1207] SSL 190.91.37.177:49654, 2 total
Aug 17 13:57:30 icarus electrumx_server[1984]: INFO:ElectrumX:[1208] SSL 190.91.37.177:49846, 2 total
Aug 17 13:58:15 icarus electrumx_server[1984]: INFO:ElectrumX:[1209] SSL 190.91.37.177:49966, 2 total
Aug 17 13:59:33 icarus electrumx_server[1984]: INFO:ElectrumX:[1210] SSL 190.91.37.177:50190, 2 total
Aug 17 14:00:08 icarus electrumx_server[1984]: INFO:ElectrumX:[1211] SSL 190.91.37.177:50260, 2 total
Aug 17 14:01:04 icarus electrumx_server[1984]: INFO:ElectrumX:[1212] SSL 217.182.138.142:41128, 2 total
Aug 17 14:01:51 icarus electrumx_server[1984]: INFO:ElectrumX:[1213] SSL 185.128.27.99:56548, 3 total
Aug 17 14:31:03 icarus electrumx_server[1984]: INFO:ElectrumX:[1214] SSL 217.182.138.142:34996, 2 total
Aug 17 14:36:58 icarus electrumx_server[1984]: INFO:ElectrumX:[1215] SSL 71.204.162.202:58830, 3 total
Aug 17 14:39:28 icarus electrumx_server[1984]: INFO:ElectrumX:[1216] SSL 73.32.220.70:57214, 3 total

I try to connect to my server but cannot.  From looking at the logs, it appeared as though my max connections somehow got lowered to 2 or 3, but then after looking at the logs more closely it looks like ElectrumX serves mostly 190.91.37.177 .  I did upgrade to LEDE from a small business router recently.  However, I would think if my IPtables config were the issue that I would have trouble SSHing into Icarus (my server).  Initially, I had trouble SSHing into Icarus but after reconfiguring IPtables I could SSH into Icarus.  About the same time that SSH started working, my AWS server notifications notified me that my server was up.  So, apparently Icarus serves watching only wallets.

 I have no clue why my SSL connections are not on 50002; I plan to tweak IPtables.  If that does not work then I'll upgrade to Ubuntu 18, so that I will be working with a fresh install.  If that doesn't fix it.  I will reset my router config.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!