Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Development Update - June 2, 2015

Discussion in 'Official Announcements' started by eduffield, Jun 2, 2015.

  1. eduffield

    eduffield Core Developer

    Joined:
    Mar 9, 2014
    Messages:
    1,084
    Likes Received:
    5,319
    Trophy Points:
    183
    Hello Everyone!

    We’re just starting to wind down active development of version 12, which is gearing up to be the largest release we’ve ever done. At this point it includes:
    • The removal of the reference node
    • A new quorum based masternode payment consensus system. This means masternodes will be elected each block to “vote” on who gets paid.
    • New budgeting protocol and a whole new list of commands for interacting with the budgeting system
    • There’s a hard fork and sporks that will activate and reduce the blockchain by 10%, after that superblocks will become available for a maximum value of 10% of the monthly reward.
    • Updated to Bitcoin v10 with headers first blocks
    • New improved masternode broadcast/ping architecture
    • New wallet repair buttons
    • New website for submitting proposals
    • Improvements to DS
    At this point active development is going to slow down and we’re going to open private testing of the new functionality for the core team. This should last less than 2 weeks, then we’ll open public testing and development soon after. The public phase should be between 2 weeks and a month then we’ll do a full release.

    At this point we’re looking for public comment and evaluation of the new source code for any issues that might be present.

    Are you a skilled developer?

    Feel free to checkout all of the new code and give us feedback via [email protected] or jump on slack chat and join the #development channel.

    Full v12 source code:
    https://github.com/dashpay/dash/tree/v0.12.0.x

    Budgeting Code:
    https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-budget.cpp
    https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-budget.h

    New Payment Code:
    https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.cpp
    https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.h

    Description of Budgeting and Payment process:

    In the new model, each block a random selection of 10 masternodes are elected to tell the network who should get paid. This is computed using the masternode input hashes for the first payment, then after a last payment is known a valid masternode with the longest wait time is selected.

    Selection Algorithm:
    https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternodeman.cpp#L368

    Masternode Selection and Broadcast:
    https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.cpp#L460

    Block Validation:
    https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.cpp#L280

    Consensus disagreements are handled by the block validation code. After a period of time, the network should form complete consensus about who is suppose to get paid on which blocks. If there’s a disagreement, multiple payees per block can be valid. After the whole masternode network has been paid, only 1 payee should be valid each block. This gives us a pretty robust system that’s quorum based instead of blockchain based, so we don’t have to keep a complete history, but yet it’s just as secure.

    Budget System Implementation

    We now have a complete implementation of the budget system now in v12. Described Here and Here:

    To submit a budget all one has to do is execute the following command:

    Any masternode can submit a budget directly through the API. The proposal managing website will simply have access to a masternode ,so it will have the capability of drafting then submitting new budgets to the network. This system is designed to be 100% decentralized and is built around the idea of storing all important budget information on the network itself, so that the proposal websites can run independently of the network, but still interact with it.

    After a budget has been submitting to the network, other masternodes can calculate the hash of the budget in order to vote on it. By changing any piece of data associated with the proposal, the hash will be changed. Because of this once a proposal is in the system and being voted on, it can’t be changed without making a completely new proposal and requesting the masternodes vote on that one instead.

    Finalized Budget

    Once each month, a finalized budget will be suggested by the network. This is simply calculated by taking the list of budgets, sorted by “Yes Count”, then adding them to the final budget until 10% of the monthly reward is reached.

    Masternodes will automatically vote on the finalized budget, which is then read by the network to authorize a super blocks at the end of the month.

    https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.cpp#L22
    https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.cpp#L50

     
    #1 eduffield, Jun 2, 2015
    Last edited by a moderator: Jun 2, 2015
    • Like Like x 26
  2. darkwing

    darkwing Active Member

    Joined:
    Apr 8, 2014
    Messages:
    149
    Likes Received:
    110
    Trophy Points:
    103
    As always that looks like a massive amount of work accomplished. Thank you and well done team.

    No mention of blinding though?
     
    • Like Like x 1
  3. MangledBlue

    MangledBlue Well-known Member

    Joined:
    Jun 28, 2014
    Messages:
    1,249
    Likes Received:
    678
    Trophy Points:
    183
    OMG - MAN CRUSH!!!!

    LOL
     
  4. tungfa

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

    Joined:
    Apr 9, 2014
    Messages:
    8,794
    Likes Received:
    6,675
    Trophy Points:
    1,283
    Whow !
    (I have to read this a couple of times :D)
     
    • Like Like x 4
  5. Minotaur

    Minotaur Well-known Member
    Foundation Member

    Joined:
    Apr 7, 2014
    Messages:
    452
    Likes Received:
    1,079
    Trophy Points:
    263
    Great work as always, thank you Evan. This is massive is really the missing link in crypto and will make this project truly decentralized and self sufficient.
     
    • Like Like x 2
  6. jimbit

    jimbit Well-known Member
    Foundation Member

    Joined:
    May 23, 2014
    Messages:
    226
    Likes Received:
    103
    Trophy Points:
    203
    Holy updated code Batman!! I look forward to the public testing as always.
     
  7. alex-ru

    alex-ru Grizzled Member
    Dash Support Group

    Joined:
    Jul 14, 2014
    Messages:
    2,362
    Likes Received:
    3,236
    Trophy Points:
    1,183
    :) My English-tech doesn't afford to understand everything even after 5 perusals :D.
    Guys like me need a simplified version. :D
     
    • Like Like x 4
  8. Raico

    Raico Well-known Member
    Foundation Member Dash Support Group

    Joined:
    May 28, 2014
    Messages:
    139
    Likes Received:
    143
    Trophy Points:
    193
    What a great job you all have done~!
    Bravo~!
    That's a very exciting annoucement and i'm looking for the testing

    INNOVATION~!
     
  9. raganius

    raganius cryptoPag.com
    Foundation Member Masternode Owner/Operator

    Joined:
    Jun 11, 2014
    Messages:
    719
    Likes Received:
    1,162
    Trophy Points:
    263
    Beautiful!

    i'm lovin' it™
     
  10. MangledBlue

    MangledBlue Well-known Member

    Joined:
    Jun 28, 2014
    Messages:
    1,249
    Likes Received:
    678
    Trophy Points:
    183
    @Evan - When you say: Masternodes will automatically vote on the finalized budget, which is then read by the network to authorize a super blocks at the end of the month.

    Do you mean that we'll be adding NEW DASH to the count, inflating the total ever created? or Am I understanding that wrong?
     
  11. Minotaur

    Minotaur Well-known Member
    Foundation Member

    Joined:
    Apr 7, 2014
    Messages:
    452
    Likes Received:
    1,079
    Trophy Points:
    263
    Yes, you are understanding that wrong, emission and inflation remain exactly the same.

    In order to eliminate having a multisig account sitting there with a balance of coins waiting to be executed (what people were calling a pork barrel) Evan came up with a solution where the emission slows down while a set of projects is being approved and then it catches up once those projects are approved. So the coins are not minted until they are needed that is what he means by super blocks, instead of continually minting the 10% that is destined to development and promotion, the network just does not create those coins until the community has approved initiatives and only then the network mints the required coins for those initiatives always within the range of the 10% that has been dedicated to that purpose. I hope this is more clear.
     
    • Like Like x 6
  12. Sub-Ether

    Sub-Ether Well-known Member

    Joined:
    Mar 31, 2014
    Messages:
    1,516
    Likes Received:
    1,254
    Trophy Points:
    183
    Absolutely superb :D
    When bitcoin upgraded to header first on v0.10.0 , the Tao update ratio increased sizeably,
    am looking forward to calculating it's effect on the speed of Dash, breaking one's own Tao ratio world record yet again is predicted :cool:
     
    • Like Like x 2
  13. crowning

    crowning Well-known Member

    Joined:
    May 29, 2014
    Messages:
    1,428
    Likes Received:
    2,004
    Trophy Points:
    183
    Since it's not mentioned on https://www.dashpay.io/community/: would be nice to have a hint where to find and join it.

    "Dash" isn't exactly search engine friendly...the other name[] was much better in this regard :D
     
    • Like Like x 1
  14. Darkuopm

    Darkuopm Member

    Joined:
    Jun 18, 2014
    Messages:
    48
    Likes Received:
    17
    Trophy Points:
    48
    OK, so I just had a thought/question. What happens when the supper block is mined as far as minners payment and masternode payment. Is it like winning the lottery? supperblock = supper payments?
     
    • Like Like x 1
  15. MangledBlue

    MangledBlue Well-known Member

    Joined:
    Jun 28, 2014
    Messages:
    1,249
    Likes Received:
    678
    Trophy Points:
    183
    lol - to the above Darkuopm
    I was thinking the same - lol
     
  16. coingun

    coingun Active Member
    Masternode Owner/Operator

    Joined:
    Jul 8, 2014
    Messages:
    490
    Likes Received:
    405
    Trophy Points:
    133
    Once I get a chance today I'll try and sit down and TL;DR it for you. Biggest take away is shit just got really damn decentralized in a very democratic way. Holy watchout for the price.
     
  17. MangledBlue

    MangledBlue Well-known Member

    Joined:
    Jun 28, 2014
    Messages:
    1,249
    Likes Received:
    678
    Trophy Points:
    183
    Can't wait to see what the trolls have to say - lol
    (but I will not reply to them :)
     
  18. Sub-Ether

    Sub-Ether Well-known Member

    Joined:
    Mar 31, 2014
    Messages:
    1,516
    Likes Received:
    1,254
    Trophy Points:
    183
    I have no idea what you're talking about :tongue:
     
    • Like Like x 1
  19. kot

    kot Well-known Member
    Dash Core Team Foundation Member

    Joined:
    Mar 17, 2015
    Messages:
    678
    Likes Received:
    1,818
    Trophy Points:
    263
    Considering these 2 points:
    this might be not only the largest release ever done by the Dash Team but also the largest improvement ever done since the Bitcoin invention. This opens so many opportunities...
    I am REALLY excited about the future of the Dash project!
     
    • Like Like x 6
  20. crowning

    crowning Well-known Member

    Joined:
    May 29, 2014
    Messages:
    1,428
    Likes Received:
    2,004
    Trophy Points:
    183
    How do we communicate?

    I found already some minor issues in the coding.
     
    • Like Like x 1
  21. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,262
    Likes Received:
    1,837
    Trophy Points:
    1,183
    crowning get on slack, haven't you got an invite to join slack?
     
  22. crowning

    crowning Well-known Member

    Joined:
    May 29, 2014
    Messages:
    1,428
    Likes Received:
    2,004
    Trophy Points:
    183
    Nope, can't find an invitation...even checked my SPAM folders.
     
  23. UdjinM6

    UdjinM6 Official Dash Dev
    Dash Core Team Moderator

    Joined:
    May 20, 2014
    Messages:
    3,631
    Likes Received:
    3,532
    Trophy Points:
    1,183
    • Like Like x 2
  24. coingun

    coingun Active Member
    Masternode Owner/Operator

    Joined:
    Jul 8, 2014
    Messages:
    490
    Likes Received:
    405
    Trophy Points:
    133
    • Like Like x 5
  25. stan.distortion

    stan.distortion Active Member

    Joined:
    Oct 30, 2014
    Messages:
    837
    Likes Received:
    491
    Trophy Points:
    133
    Great stuff, thanks.
     
  26. alex-ru

    alex-ru Grizzled Member
    Dash Support Group

    Joined:
    Jul 14, 2014
    Messages:
    2,362
    Likes Received:
    3,236
    Trophy Points:
    1,183
  27. coingun

    coingun Active Member
    Masternode Owner/Operator

    Joined:
    Jul 8, 2014
    Messages:
    490
    Likes Received:
    405
    Trophy Points:
    133
    Please let me know before we do that cause I will move it out of alpha. I was just playing with layouts. Should have known better then to give out the link. HAHA.

    Anything else need more explaination? How'd I did alex-ru ?
     
  28. alex-ru

    alex-ru Grizzled Member
    Dash Support Group

    Joined:
    Jul 14, 2014
    Messages:
    2,362
    Likes Received:
    3,236
    Trophy Points:
    1,183
    • Like Like x 1
  29. TanteStefana

    TanteStefana Moderator
    Linguistic Foundation Member

    Joined:
    Mar 9, 2014
    Messages:
    2,859
    Likes Received:
    1,854
    Trophy Points:
    1,283
    Wow, my head is spinning! You know, though I'm sure everyone sits around waiting for news as to what is up, and it seems slow, but really, the work you guys do is unbelievably fast! And always exciting! Can't wait for testing!!!

    FYI I won't be able to get on slack for a while as my monitor broke and all I have ATM is my ubuntu laptop. Hope to replace it soon, before anything happens!
     
    #29 TanteStefana, Jun 2, 2015
    Last edited by a moderator: Jun 2, 2015
  30. coingun

    coingun Active Member
    Masternode Owner/Operator

    Joined:
    Jul 8, 2014
    Messages:
    490
    Likes Received:
    405
    Trophy Points:
    133

Share This Page