Decred - An Overview

Discussion in 'Technical Development' started by OCNIOS, Dec 17, 2015.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. OCNIOS

    OCNIOS Jr. Member
    Designer

    Dec 17, 2015
    8
    27
    Male
    Decred is an open, progressive, and self-funding cryptocurrency with a system of community-based governance integrated into its blockchain. At its core is a hybridized proof-of-work proof-of-stake (PoW/PoS) consensus system that aims to strike a balance between PoW miners and PoS voters to create a more robust notion of consensus. The project is a result of the theoretical proposals brought by proof-of-activity (PoA) and MC2 in 2013. Decred development started in April, 2014 with a single developer and expanded to include developers from btcsuite shortly thereafter.

    Decred is built in the spirit of open participation and we have provided below a full disclosure of the technical features of the system, wallets and mining, initial funding and distribution, project governance and development, and a group contribution timeline. We hope to launch mainnet on January 18th, 2016, and will provide additional details in this thread. Everyone is welcome to participate, and you are certainly welcome to join the development and project groups if you have interest in contributing to our efforts!


    i. Technical Features

    The features below are implemented in Decred and will be available in full at launch. For a deeper description, please consult the Decred Technical Brief (DTB001).

    • Novel hybridized proof-of-work/proof-of-stake (PoW/PoS) consensus system - A decentralized lottery is used to select PoS miners to vote on PoW blocks. The PoW and PoS subsidies account for 60% and 30% of each total block subsidy, respectively. This system is based on that of MC2, which is very similar to, but developed independently from, Proof-of-Activity (PoA) by Iddo Bentov, Charles Lee, Alex Mizrahi and Meni Rosenfeld.
    • Cold staking and decentralized stake pooling - The ability to generate new coins without the risk of having your coins online when PoS mining. The PoS mining system has also been engineered with distributed, decentralized stake pooling in mind, so that even those with small amounts of stake can participate in network validation.
    • Internal voting system for the addition of new features and hard or soft fork selection - Both PoW and PoS miners can vote for features and issues through bit flags, providing a sensible mechanism for resolving disputes about the features of the blockchain.
    • Immutable transaction hashes ("transaction IDs") by separating transaction signatures from the rest of the transaction data - A permanent fix for transaction hash malleability has been implemented that prevents mutability of the transaction hash by separating it from its input signatures. This allows more efficient SPV validation. Fraud proofs have also been added.
    • Elliptic curve cryptography over secp256k1 with optional Curve25519 support - The Bitcoin scripting system has been modified to allow for simple, drop-in addition of new elliptical curve digital signature algorithms.
    • Schnorr signatures with threshold n-of-n support - In addition to supporting Schnorr signatures, groups of signers can now jointly sign transactions off-chain in constant size signatures, ensuring higher privacy and less blockchain bloat.
    • Script enhancements and new OP codes - New OP codes have been added to the existing Bitcoin scripting engine, and extensions for the plug-in use of future scripting engines have been added.
    • PoW mining using BLAKE256 hash algorithm - Inspired by Bernstein's Chacha stream cipher, SHA3 finalist BLAKE256 offers speed as well as high security.
    • Compatibility with Bitcoin transaction scripting system - Decred's scripting system has been derived from Bitcoin's with care in ensuring that all future updates to the Bitcoin transaction script will be easily extensible to Decred. Further, any newly created functionalities will also be devised with backwards compatibility with Bitcoin in mind.
    • Modularized, easy-to-use Golang btcsuite codebase - Thanks the to the codebase inherited from btcsuite, adding new features to the daemon or wallet will be facile. Decred will episodically sync updates from btcsuite, so that it benefits from the latest developments in Bitcoin.
    • Hierarchical deterministic (HD) wallets - Wallets use a seed to deterministically generate addresses, so your wallet can be restored from a single BIP0032 seed.
    • Transaction expiration - Transactions have a new expiration field to prevent inclusion into the blockchain after a certain height.
    • Patches for intrinsic Bitcoin bugs - Extra push for multisignature scripts has been removed, SIGHASH_SINGLE behavior has been corrected.
    • Approximately 21 million coins - Exponential decay in subsidy or the number of coins generated per year.
    • Self-funded development via block subsidy - In order to have an ongoing source of funding for development work, a consensus rule has been added to allocate 10% of each block subsidy to a development organization. This entity is transparent and responsible for funding development work performed by current and new developers so that the project remains sustainable without a funding dependence on outside forces in the future. Decred therefore improves with growth in a sustainable way and is accountable only to its users.


    ii. Wallets and Mining

    • Web wallet service - In order for users to have access to a GUI on all platforms, we have created a web wallet service forked from BitPay's Copay wallet and its dependencies. This wallet allows users to access all the basics with Decred: sending and receiving coins, multisig transactions.
    • Command-line wallet - For more advanced users, we have a command-line wallet, dcrwallet. dcrwallet allows users to mine PoS and collect rewards by participating in the PoW/PoS consensus system.
    • Simple GPU miner - A simple AMD GPU miner that connects to a local daemon will be available before launch. In the future, proper getblocktemplate functionality will be enabled and pool software will be made available.


    iii. Initial Funding and Airdrop

    Decred opted for a different funding model in an attempt to shift the risk carried by supporters to the developers of the project. Instead of asking interested parties to fund the development of the software, the developers decided to pool funds together and carry the project to completion before making it public. The consensus was that this is an ethical path given the realities of funding software development, due to the fact that the developers alone carry the risk of the project failing, whereas in the past potential users were expected to pay for coins before any code was written. We felt this was unjust.

    The development of Decred was funded by Company 0 and from the pockets of its developers individually. The cost of developing the project, in terms of developer pay, totals to approximately USD 250,000, which Company 0 paid to developers. An additional amount of approximately USD 165,000 has been allocated for unpaid work and individual purchases by developers. We felt that the most equitable way to handle compensation for these expenses was to perform a small premine as part of the project launch. The model is unusual in that no developer received any amount of coins for free - all coins owned by developers will either be purchased at a rate of USD 0.49 per coin from their own pockets or exchanged for work performed at the same rate.

    The premine consists of 8% of the total supply of 21 million coins, meaning the premine consists of 1.68 million coins. Rather than allocating the entire premine to the bring-up costs, we decided to split the premine equally between compensation for bring-up and an "airdrop", where we freely give an equal amount of coins to a number of airdrop participants. This means Company 0 and its developers will have put roughly USD 415,000 into the bring-up since April, 2014 and receive 4% of the total supply, 840,000 coins (at USD 0.49 per coin). The remaining 4% will be spread evenly across a list of airdrop participants as part of an effort to build the Decred network and decentralize its distribution. Coins held by Company 0 will be used to fund its ongoing work on open-source projects, such as Decred and btcsuite.

    Giving away these coins in an airdrop allows us to accomplish several things at once for the project: enlarge the Decred network, further help decentralize the distribution of coins, and allow us to get coins into the hands of people who are interested in participating in the project. Decred is fundamentally about technological progress, so the airdrop will target individuals that have made contributions to advance technology in its various forms. The maximum number of airdrop participants is capped at 5,000 individuals, so we recommend registering sooner rather than later. These coins will be given away unconditionally and there is zero expectation of Decred receiving anything from you in return for these coins.

    Sign up for the airdrop is currently open, but the airdrop registration will commence on January 4th, 2016. People who have been selected to participate in the airdrop will receive an email that contains a link to a web registration form. This form will require airdrop participants to enter an address to which their coins can be sent. Binaries and source code will be made available so that you can generate a wallet seed and an address for your airdrop coins. Once you have entered your receiving address into the airdrop webform and submitted it, you will receive your coins on the projected launch date of January, 18th, 2016.
     
  2. OCNIOS

    OCNIOS Jr. Member
    Designer

    Dec 17, 2015
    8
    27
    Male
    iv. Project Governance and Development

    In addition to the technical features that make up the technology, Decred as a project introduces several development and governance features and proposals to ensure and steer long-term growth. We encourage participants to discuss these topics earnestly, as we want to ensure the system of development and governance is built on a solid foundation.

    • A multi-stakeholder development ecosystem that welcomes and empowers participants who want to build new functionality and improve on existing features.
    • Any party can submit feature proposals and developers are paid for work to fulfill requirements. This is done in full view of the community in a system designed to fight against ingroup-outgroup dynamics.
    • The initial contributors are the developers responsible for btcsuite (est. early 2013 - present).
    • A proposal for a layered form of transparent meritocratic governance that extends beyond proof-of-work and proof-of-stake mechanisms to bring forward and represent insider and outsider voices in the community.
    • A proposal for bottom-up decision-making through the Decred Assembly, an evolving and inclusive list of community members who make non-financial contributions to the project through their work and effort.
    • The project is bound by the Decred Constitution on the core principles of finite issuance, privacy, security, fungibility, inclusivity, and progressive development of the technology that keeps these principles together.


    v. Group Contribution Timeline

    Below are key points of free and open-source contributions made by the Decred developers to the digital currency ecosystem since 2013. The largest of which is the btcsuite package, which comprises a suite of packages and tools for working with Bitcoin in Golang, and includes btcd, a full node, mining capable, Bitcoin implementation. To date, the total contribution across btcsuite represents 98,046 lines of code, 44,576 of which are test coverage.

    vi. Additional Information

    Website: https://decred.org
    Forum: https://forum.decred.org
    Wiki: https://wiki.decred.org
    Reddit: https://reddit.com/r/decred
    Twitter: https://twitter.com/decredproject
    IRC: #decred on irc.freenode.net
     
    Jim, Terminator, Nicklas and 3 others like this.
  3. sangwan

    sangwan New Member

    Dec 23, 2015
    1
    1
    Male
    Do you have any information about the launch of online wallet?
     
    Aatif Nawaz likes this.
  4. RobbieRoor

    RobbieRoor New Member

    Dec 17, 2015
    22
    9
    Male
    Im very excited for the launch, I truly think this is going to be BIG as time goes on! I look forward to learning as much as I can about Decred before the lauch, so keep the updates coming! Im also looking forward to mining Decred either on testnet or livenet! Thanks!
     
  5. Cerberus

    Cerberus New Member

    Dec 27, 2015
    1
    0
    Male
    Great information!
     
  6. hisenburg

    hisenburg New Member

    Dec 28, 2015
    10
    1
    Male
    software engineer
    Beijing, China
    This is really helpful.
     
  7. Nicklas

    Nicklas New Member

    Dec 28, 2015
    16
    13
    Male
    Student
    Denmark
  8. Costin

    Costin Member
    Advocate (Twitter)

    Dec 28, 2015
    243
    84
    Male
    JavaScript
    Liverpool
  9. Nicklas

    Nicklas New Member

    Dec 28, 2015
    16
    13
    Male
    Student
    Denmark
    You should always cite the source, out of respect to the author. People may believe that OCNIOS is the original author and providing the link to the blog, would actually make people able to read more regarding the project.
     
  10. adam

    adam New Member

    Dec 16, 2015
    40
    19
    Male
    Wisconsin
    This has some great information!
     
  11. 4site

    4site New Member

    Dec 29, 2015
    4
    1
    Looking forward to starting in this new currency. Looking to start this new trend and learn more and more each day.
     
  12. 4site

    4site New Member

    Dec 29, 2015
    4
    1
    I also had a question on the GPU mining. Bitcoin offers the GPU mining but the process and tedious with little compensation and high risk of losing the currency if the bitcoins are not properly protected. How will the process for miners be different and more safe compared to Bitcoin? I see the algorithms for transactions will be separated from the rest but what will be used in mining?
     
  13. Costin

    Costin Member
    Advocate (Twitter)

    Dec 28, 2015
    243
    84
    Male
    JavaScript
    Liverpool
    The algorithm, BLAKE256, didn't check tbh but they say it's way safer.
     
  14. 4site

    4site New Member

    Dec 29, 2015
    4
    1
    The algorithm is only half of the problem, the other side if the wallet being used to hold the currency. Also will this currency wallet have the ability to take it offline similar to what bitcoins were looking to do with the new wallet by TREZOR?
     
  15. Goldice

    Goldice New Member

    Dec 29, 2015
    3
    1
    Male
    Such good info on this forum
     
  16. Costin

    Costin Member
    Advocate (Twitter)

    Dec 28, 2015
    243
    84
    Male
    JavaScript
    Liverpool
    The devs are pretty good and they sure know about these issues. We have 19 more days untill we can check those ourselves but i`m sure we're expecting some big announcement in the upcoming days.
     
  17. Goldice

    Goldice New Member

    Dec 29, 2015
    3
    1
    Male
    how do i get involved more, I don't have online presence. I am willing to work hard no job bored.
     
  18. Costin

    Costin Member
    Advocate (Twitter)

    Dec 28, 2015
    243
    84
    Male
    JavaScript
    Liverpool
    Send a PM or post a message on this user profile.
    https://forum.decred.org/members/_ingsoc.2/
     
  19. Lee Sharp

    Lee Sharp Sr. Member

    Dec 28, 2015
    308
    217
    Male
    Independent Consultant
    Houston, Texas
    Y'all keep saying PM, but the forum software calls them "Conversations" so it is not totally intuitive... :) You may want to be more specific on that. (Unless there really is a PM function and I did not find it...)
     
    visred and ArtyD42 like this.
  20. Costin

    Costin Member
    Advocate (Twitter)

    Dec 28, 2015
    243
    84
    Male
    JavaScript
    Liverpool
    Are you trolling? Do you enjoy yourself? It's a private message, how hard can it be?
     
    elcaro likes this.

Share This Page