Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

DGW3

Discussion in 'Official Developer Thread' started by eduffield, May 15, 2014.

  1. eduffield

    eduffield Core Developer
    Dash Core Team Moderator

    Joined:
    Mar 9, 2014
    Messages:
    1,084
    Likes Received:
    5,315
    Trophy Points:
    183
    What is DGW3?

    I updated DGW to V3, but I never really said why. So here's the breakdown of why it's better.

    [​IMG]

    If you look at the image above, you'll see a tight fit between the difficulty and network hashrate. DGW3 actually reacts as quickly to large additions of hashing power, but in a much more fluid manner. To do this I removed the EMAs and replaced them with SMAs. The goal of this is to have very consistent confirmation times for the future of the coin (no large waves anymore).

    [​IMG]

    Here you can see from once block to the next the difficulty adjustments are pretty small, but yet still enough to react very quickly.

    Beyond this, I've fixed the long standing issues with V1 and V2 and some more rare architectures. The problem was that floating points are calculated differently on different architectures, so this I removed them entirely and am calculating the adjustment with large integers.

    DGW3 is definitely the best algorithm for difficulty adjustment in the space now. I'm really happy with it and it should serve us well.
     
    #1 eduffield, May 15, 2014
    Last edited by a moderator: May 15, 2014
    • Like Like x 6
  2. tifozi

    tifozi New Member

    Joined:
    Mar 23, 2014
    Messages:
    18
    Likes Received:
    8
    Trophy Points:
    3
  3. yidakee

    yidakee Well-known Member
    Foundation Member

    Joined:
    Apr 16, 2014
    Messages:
    1,812
    Likes Received:
    1,168
    Trophy Points:
    283
    Beautiful !
    The only downside is the competition will be able to calc DRK mining better now ;)
    But something I am VERY happy to live with.
     
    #3 yidakee, May 15, 2014
    Last edited by a moderator: May 15, 2014
  4. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    749
    Likes Received:
    355
    Trophy Points:
    133
    Dash Address:
    XiDWe5fkVcrXBQApmCFQUxpue5iuWcbmcK
    Block generation time is pretty stable. No more bumping 1000%.

    ;)
     
  5. mattmct

    mattmct Member

    Joined:
    Mar 13, 2014
    Messages:
    259
    Likes Received:
    92
    Trophy Points:
    88
    Thanks for this Evan, always interested in details :) Leading the way as always!
     
  6. noruka

    noruka New Member

    Joined:
    Apr 2, 2014
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3
    I was wondering why the difficulty jumped from 3k to 900k yesterday. I thought someone had figured out how to get an ASIC to do X11, but now its nice to know its just a different numerical rating system.
     
  7. chaeplin

    chaeplin Official Dash Dev
    Core Developer

    Joined:
    Mar 29, 2014
    Messages:
    749
    Likes Received:
    355
    Trophy Points:
    133
    Dash Address:
    XiDWe5fkVcrXBQApmCFQUxpue5iuWcbmcK
    • Like Like x 1
  8. noruka

    noruka New Member

    Joined:
    Apr 2, 2014
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    3

Share This Page