Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Using masternodes for bootstraping

Discussion in 'Development Tech Discussion' started by crowning, Aug 13, 2014.

  1. crowning

    crowning Well-known Member

    Joined:
    May 29, 2014
    Messages:
    1,428
    Likes Received:
    2,005
    Trophy Points:
    183
    As mentioned here https://darkcointalk.org/threads/rc4-testing.1830/page-96#post-15961
    Bitcoin uses in some cases some external sites to find out its client's public IP.

    Those external sites may or may not be available in the future, or even try to do nasty things.

    Theymos has explained several times that it's kinda okay but of course not optimal to get the public IP from some external service.

    What about using the masternodes for this? It's about one line of PHP to return the clients public IP.
     
    • Like Like x 1
  2. vertoe

    vertoe Three of Nine

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

    crowning Well-known Member

    Joined:
    May 29, 2014
    Messages:
    1,428
    Likes Received:
    2,005
    Trophy Points:
    183
  4. mbilker

    mbilker Member

    Joined:
    Aug 7, 2014
    Messages:
    55
    Likes Received:
    8
    Trophy Points:
    48
    How about C or C++ (what's already used in the client).
     
  5. crowning

    crowning Well-known Member

    Joined:
    May 29, 2014
    Messages:
    1,428
    Likes Received:
    2,005
    Trophy Points:
    183
    Both language proposals were meant to be jokes, of course you use what's already there :)
     
    • Like Like x 1
  6. vertoe

    vertoe Three of Nine

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

    crowning Well-known Member

    Joined:
    May 29, 2014
    Messages:
    1,428
    Likes Received:
    2,005
    Trophy Points:
    183
    Too easy!

    cat > a.out
     
    • Like Like x 1
  8. Propulsion

    Propulsion The buck stops here.

    Joined:
    Feb 26, 2014
    Messages:
    1,008
    Likes Received:
    467
    Trophy Points:
    183
    Dash Address:
    XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
    Java. (evil laugh)
     
    • Like Like x 1
  9. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    haha good one!
     
  10. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,287
    Likes Received:
    2,406
    Trophy Points:
    1,183
    But it does work :tongue: