Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Electrum Dark

Discussion in 'Projects' started by darkzero, Jun 29, 2014.

  1. oblox

    oblox Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,032
    Likes Received:
    537
    Trophy Points:
    183
    What are the bandwidth requirements on a monthly bases for running an electrum server?
     
  2. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    For Darkcoin - at the moment almost nil. You need to run a darkcoind (daemon), to keep track of all darkcoin transactions, and then an Electrum-DRK server, which listens to Electrum clients (1 so far).
     
  3. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    The current blockchain headers file for DRK is 18 MB - that is the file that has to be downloaded from any Electrum-DRK-Servers to a new Electrum-DRK client when they join in.

    If you want to be an Electrum-DRK-Server, the UTXOs use up about 300 MB of local disk space. Very small compared to Bitcoin...
     
    #213 ELM4ever, Feb 24, 2015
    Last edited by a moderator: Feb 24, 2015
  4. thelazier

    thelazier Active Member

    Joined:
    Jan 5, 2015
    Messages:
    240
    Likes Received:
    184
    Trophy Points:
    103
    Dash Address:
    Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
    my server : 103.13.228.168
     
    • Like Like x 1
  5. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    Please provide a FQDN for this IP address, or do a pull request to Encompass to add your server to lib/chains/darkcoin.py

    Please also ensure that you insert your FQDN in your server config file:

    report_host = xxx.xxxx.com <--- insert your FQDN here - in order to be reached from outside.
     
  6. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    Encompass 0.4.2 client just released! With Darkcoin support.

    Available on Github here.
     
    #216 ELM4ever, Feb 24, 2015
    Last edited by a moderator: Feb 24, 2015
    • Like Like x 4
  7. pbleak

    pbleak Active Member

    Joined:
    May 15, 2014
    Messages:
    399
    Likes Received:
    172
    Trophy Points:
    113
    Would be great to see. Is DRK the only major coin without an electrum client?
     
  8. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    • Like Like x 2
  9. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    • Like Like x 2
  10. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,961
    Likes Received:
    6,735
    Trophy Points:
    1,283
    Fire under Electrum
    very cool !
     
    • Like Like x 1
  11. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    maybe flare (electrum.darkcoin.qa) or DCT (electrum.darkcointalk.org) could contribute a running electrum server too? I could add them to the PR.

    ELM4ever is FQDN required?

    edit, or coingun is could run one too? :)
     
  12. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    749
    Likes Received:
    376
    Trophy Points:
    133
    I will start one under drk.khavr.com as soon as I'll get some time.
     
    • Like Like x 3
  13. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Same.
     
    • Like Like x 1
  14. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,261
    Likes Received:
    1,837
    Trophy Points:
    1,183
    Propulsion, on my screen I can't see akhavr's post because most of it is covered by a sticky google ad.

    EDIT: Now that ad was removed. Thanks! :)
     
    #224 moli, Mar 2, 2015
    Last edited by a moderator: Mar 2, 2015
    • Like Like x 2
  15. DCT

    DCT Four of Ten

    Joined:
    Jan 30, 2015
    Messages:
    5,011
    Likes Received:
    32
    Trophy Points:
    118
    Really do need a picture to see. Also please use the forum feedback forum.

    I'll try to get a FQDM electrum darkcoin server running before the end of today. (my time)

    Note: there is neither a daemon/wallet or an electrum client running on this server itself.
     
  16. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    So we are using Encompass as the client and which repository as the electrum-drk-server itself?

    Also, I was under the impression Encompass didn't support Trezor.
     
  17. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    "not yet" - ELM4ever said it needs more testing. but if it does we should stick to encompass, as it seems actively maintained.
     
  18. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    volunteers wanted!!!
    https://github.com/mazaclub/encompass/issues/27
     
  19. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    FQDN is always better, but not mandatory.

    However, it is mandatory that people running a server to use IRC in their server config file (irc = yes), and that they also define the report_host variable to match their FQDN or external IP address. Otherwise, your server will not get listed in the clients. "103.13.228.168" is currently is this situation, he (she) is running a server, it is up, but it is not listed in the encompass clients because not in IRC.
     
    #229 ELM4ever, Mar 4, 2015
    Last edited by a moderator: Mar 4, 2015
  20. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Which repository are we going to use for the server? The one under my github account or another?

    I'll knock this out right now.
     
  21. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    My server currently running is based on yours.

    EDIT: I have been running on the main net for the last two weeks. The official Darkcoin daemon is the one that interfaces with the blockchain, not the electrum server... No need to use Testnet.
     
    #231 ELM4ever, Mar 4, 2015
    Last edited by a moderator: Mar 4, 2015
    • Like Like x 1
  22. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Making a FQDN for a MN and setting it up right now.
     
  23. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    Propulsion : Hello D_dct! You went for 1000 pruning with FQDN electrum.darkcointalk.org? You wimp! Why not go all the way to 10k? There is only 1MB difference in the UTXOs!
     
  24. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    electrum.darkcointalk.org
    (haven't opened any ports specifically for Electrum yet though)

    I guess next would be to test the client?
     
  25. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    I was able to connect to your server - it works well! Both TCP and SSL
     
    • Like Like x 1
  26. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    Propulsion : Check you log file for the server, you should be able to see a DRK transaction I sent through your electrum server. "cache: invalidating X...."
     
  27. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    ELM4ever

    [04/03/2015-02:34:35] SSL 104.173.171.107:60509 1 0.4.4
    [04/03/2015-02:34:53] TCP 104.173.171.107:55022 34 0.4.4
    [04/03/2015-02:34:53] TCP 104.173.171.107:55023 1 0.4.4
    [04/03/2015-02:34:57] TCP 104.173.171.107:55031 1 0.4.4
    [04/03/2015-02:34:57] TCP 104.173.171.107:55032 1 0.4.4
    [04/03/2015-02:35:07] blockchain: 229639 (0.114s)
    [04/03/2015-02:35:48] blockchain: 229640 (0.026s)
    [04/03/2015-02:37:28] blockchain: 229641 (0.062s)
    [04/03/2015-02:38:58] blockchain: 229642 (0.316s)
    [04/03/2015-02:41:58] TCP 104.173.171.107:55249 1 0.4.4
    [04/03/2015-02:42:19] blockchain: 229643 (0.237s)
    [04/03/2015-02:46:57] sent tx: 5a233ed0f7063f25836cbdc349e58287f65e4d34b10ddee9$
    [04/03/2015-02:46:59] cache: invalidating Xppn8RSZ4ffYMXu1rL5EZucBaHNDeis2u3
    [04/03/2015-02:46:59] cache: invalidating XouAQGK2GGeiSE6Xa2sgPhmTRsPLyxZAyw
    [04/03/2015-02:47:19] blockchain: 229644 (0.229s)
    [04/03/2015-02:47:29] cache: invalidating XouAQGK2GGeiSE6Xa2sgPhmTRsPLyxZAyw
    [04/03/2015-02:47:29] cache: invalidating Xppn8RSZ4ffYMXu1rL5EZucBaHNDeis2u3
    [04/03/2015-02:47:29] blockchain: 229645 (0.071s)

    It's all there; looks good.
     
    • Like Like x 1
  28. ELM4ever

    ELM4ever Member

    Joined:
    Feb 9, 2015
    Messages:
    64
    Likes Received:
    66
    Trophy Points:
    58
    That's the one! Congratulations! You are an official Electrum-DRK server! And you show up in the client list of available servers.

    Now the next step is for you to upgrade to 10k pruning... instead of 1k.

    Also try Encompass 0.4.4 for your client.
     
    • Like Like x 1
  29. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Heh, I doubt that server can handle 10k, I'll give it a go though. It'll be back in the list once it's finished the database.
     
  30. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    My server stops working after pruning.

    Code:
    [04/03/2015-08:36:14] Starting Electrum-DRK server on localhost
    [04/03/2015-08:36:16] Database version 3
    [04/03/2015-08:36:16] Blockchain height 209517
    [04/03/2015-08:36:16] UTXO tree root hash: 6b96a0cb2565e13d82a28ae56411bad910a1d2922d40e068f7c3e5d7fd346176
    [04/03/2015-08:36:16] Coins in database: 507314432375985
    [04/03/2015-08:36:16] catching up missing headers: 209510 209517
    [04/03/2015-08:36:16] TCP server started on 127.0.0.1:50001
    [04/03/2015-08:36:16] SSL server started on 127.0.0.1:50002
    [04/03/2015-08:36:16] HTTP server started.
    [04/03/2015-08:36:16] HTTPS server started.
    [04/03/2015-08:36:16] Stopping Stratum
    [04/03/2015-08:36:16] Error: make sure you run darkcoind with txindex=1; use -reindex if needed.
    [04/03/2015-08:36:16] blockchain reorg 209517 00000000000ac9c11b397217f305237975a0a8b68a8b2b7373b2b2ed6ef4f208 000000000001d1a5a8bac1691b7b5c442dabf3bc18f83363f42ab4a212618024
    [04/03/2015-08:36:16] no undo info for  209517
    [04/03/2015-08:36:17] Closing database...
    [04/03/2015-08:36:17] Database is closed
    [04/03/2015-08:36:17] Electrum-DRK Server stopped
    Any idea why? txindex=1 is set. Reindexing again and see if it helps.