Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

dashmnb feature request

Discussion in 'Masternode Guides' started by camosoul, May 18, 2017.

  1. camosoul

    camosoul Well-known Member

    Joined:
    Sep 19, 2014
    Messages:
    1,634
    Likes Received:
    1,030
    Trophy Points:
    183
    It would be slick if this
    Code:
    # default address to send payout coins in hw wallet if reveiving_address in masternode.conf is blank.
    # this is not changing payment address of mn
    # command -m and -x will use
    default_receiving_address = 'XepfhD6a8sxzm59eVCbj9TaLX3hYCxZdnJ'
    
    Could use a BIP32 xpub instead, and chase every payout to a unique address in my trezor automatically.

    Would make association a little less obvious, and payouts still as secure as if they had stood still.
     
  2. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    721
    Likes Received:
    339
    Trophy Points:
    133
    Dash Address:
    XiDWe5fkVcrXBQApmCFQUxpue5iuWcbmcK
    I am not sure I understand your request fully.

    default_receiving_address and reveiving_address(last column at of each mn in masternode.conf) are used when transfering MN earnings.

    dashmnb uses 0.0001 as min_fee and calculate fee using 0.0001 / KB.

    If dashmnb uses an account_no/account_index(increased automatically to unnused) of a trezor as pay_to address( == default_receiving_address == reveiving_address) when transfering MN earnings, each tx(1 input tx) will have 0.0001 as min_fee.

    Current dashmnb can have 4 ~5 input txs with fee of 0.0001.
     
  3. camosoul

    camosoul Well-known Member

    Joined:
    Sep 19, 2014
    Messages:
    1,634
    Likes Received:
    1,030
    Trophy Points:
    183
    Not about the fee.

    Just automatically put each payout a unique address. Adds a little plausible deniability to the payments collecting and being associated as a "known owner of X MNs."
     
  4. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    721
    Likes Received:
    339
    Trophy Points:
    133
    Dash Address:
    XiDWe5fkVcrXBQApmCFQUxpue5iuWcbmcK
    here coin movement
    current : mn payout ---> collateral address ---> on excution of dashmnb -x ---> default_receiving_address or reveiving_address
    BIP32 xpub : mn payout ---> collateral address ---> on excution of dashmnb -x ---> uniq address

    collateral address is not changed.
     
  5. camosoul

    camosoul Well-known Member

    Joined:
    Sep 19, 2014
    Messages:
    1,634
    Likes Received:
    1,030
    Trophy Points:
    183
    Yes, but when they all keep collecting in the same place, it allows one to presume that a certain group of MNs are all owned by the same person. The way a wallet combines sends and the denomination process...
     
    #5 camosoul, May 19, 2017
    Last edited: May 19, 2017
  6. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    721
    Likes Received:
    339
    Trophy Points:
    133
    Dash Address:
    XiDWe5fkVcrXBQApmCFQUxpue5iuWcbmcK
    each mn can have different reveiving_address.

    Code:
    # Masternode config file
    # Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index [address_to_send]
    # address_to_send --> address to send mn earnings in hw wallet. this is not changing payment address of mn.
    # use diffrent address for each mn for privacy, leave blank to use default address in config.py
    # Example: mn1 127.0.0.2:19999 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0 yb8ogpTftZrKfYDtv6ZhprGF3cMvuSipf7
    
     
  7. camosoul

    camosoul Well-known Member

    Joined:
    Sep 19, 2014
    Messages:
    1,634
    Likes Received:
    1,030
    Trophy Points:
    183
    Nice, but it would be better if it could send to a unique address every time based on an HD seed.
     
  8. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    721
    Likes Received:
    339
    Trophy Points:
    133
    Dash Address:
    XiDWe5fkVcrXBQApmCFQUxpue5iuWcbmcK

    transfering mn earnings is not automatic.

    When you send coins in a wallet, those txs(sent to a unique addresses) are collected and used as inputs of a single tx.
    So I can't see any advantage with unique addresses.
     
  9. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    721
    Likes Received:
    339
    Trophy Points:
    133
    Dash Address:
    XiDWe5fkVcrXBQApmCFQUxpue5iuWcbmcK
    I have asked using bip32_path(xpub/tpub) when transfering mn earnings on dashnation slack.
    And I am working on bip32 version dashmnb.

    edit: done

    @camosoul feature added.


    Ref:


     
    #9 chaeplin, May 23, 2017
    Last edited: May 23, 2017
    • Like Like x 1
    • Winner Winner x 1

Share This Page