Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Feature-request: Add tx index by default, allow ElectrumX RPC

Discussion in 'Development Tech Discussion' started by Technologov, Dec 10, 2018.

  1. Technologov

    Technologov Member

    Joined:
    Mar 5, 2017
    Messages:
    160
    Likes Received:
    36
    Trophy Points:
    88
    Hello,

    Today a server guy needs to install Linux, then Dash Core node, then configure txindex=1 , then Install ElectrumX to allow any light wallet Electrum users to connect.

    I would recommend to save the last 2 steps:

    *. Ship Dash Core software with tx index enabled by default. This is required for SPV wallets, so that they can quickly get account balance by address.

    *. Add the necessary RPC calls, so that Electrum software (and other SPV wallets) could connect to any Dash node directly by default (bypassing ElectrumX layer on top).

    *. This will slightly increase local disk usage, but will make the whole network more censorship resistant, even for (SPV) light wallet users.

    What do you think?

    -Technologov
     
  2. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    750
    Likes Received:
    376
    Trophy Points:
    133
    While dissing ElectrumX would make my life easier, I don't think this is a good move from architecture viewpoint. In this case, having an extra layer with the explicit goal to provide interface for Electrum wallet is good.

    For example, we can introduce changes in ElectrumX w/o core team efforts.
     
  3. Paine Waide

    Paine Waide New Member

    Joined:
    Feb 27, 2019
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    While it will be going to be the best part for the user to vulnerable manage the work perfectly so that can't load xpcom enhance the user while providing the solution.