Decred 백서

Decred

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 12쪽 중 1쪽

Introduction to Decred What is Decred? Decred (/ˈdi:ˈkred/, /dɪˈkred/, dee-cred) is a blockchain-based cryptocurrency with a strong focus on community input, open governance, and sustainable funding for development. It utilizes a hybrid Proof-of-Work (PoW) and Proof-of-Stake (PoS) mining system to ensure that a small group cannot dominate the flow of transactions or make changes to Decred without the input of the community. A unit of the currency is called a decred (DCR). How Does it Work? Stakeholders make and enforce the blockchain’s consensus rules, set a course for future development, and decide how the project’s treasury is used to fund it. Decred’s blockchain is similar to Bitcoin’s, but with major aspects of governance baked into the protocol. To align incentives, block rewards are split between Proof-of-Work (PoW) miners, stakeholders and the Decred Treasury, which funds the project. Subsidy Party 1% PoW Miners 89% PoS Voters 10% Decred Treasury Proof of Work miners play a similar role for Decred as they do for Bitcoin, but with Decred they only receive 1% of the block reward. Proof of Stake voting is central to Decred’s governance. Decred holders can time-lock (or “stake”) DCR to obtain voting tickets. Tickets are randomly called to vote on-chain; this involves both approving the work of PoW miners and voting Yes/No on any open rule change proposals . 89% of the block reward goes to the holders of the tickets that voted in that block. The remaining 10% of the block reward goes into the Decred Treasury . Holders of live tickets decide how that treasury is used through Politeia proposals and voting . The Decred Constitution sets out some guiding principles for the project; the constitution is subject to amendment through Politeia proposals. ## /getting-started/beginner-guide Beginner’s Guide Welcome To Decred This guide offers signposts to some useful resources, including how to set up your Decred wallet, buy DCR, participate in Decred’s governance, connect with the community and contribute to the project (contributors welcome!). Wallets Decrediton is Decred’s GUI wallet for Windows, MacOS and Linux. It supports voting through Voting Service Providers and offers the easiest way to start buying tickets and participating in governance. There is also a Command Line Interface (CLI) for Windows, MacOS and Linux. The CLI exposes more advanced functionality, including the ability to run a personal voting wallet. Decred is supported by Trezor and Ledger , two popular hardware wallet implementations. Mobile wallets for Android and iOS are also available. To minimize data plan, processing power and storage requirements, the mobile wallets make use of SPV mode . General Guides The following guides go into depth on key aspects of the Decred experience: Obtaining DCR Developer documentation Using the Block Explorer Governance Ticket buying guide Politeia Voting on consensus rules changes Using Testnet Information Block Explorers dcrdata.decred.org mainnet.decred.org News/Articles Decred Journal - Comprehensive monthly newsletter maintained by some community members Decred.org blog Decred Medium - Curated content from community members Press coverage/releases The Decred Digest - Community blog Video Decred Youtube channel Community In addition to the Politeia proposals site , the Decred community can be found on a variety of platforms . Chat The following chat platforms are bridged, such that one’s messages are relayed to users on the other platforms: Matrix Discord Telegram is partially bridged. Messages from Telegram are relayed to the DCR 101 channel on Matrix. Note that DMs and private channels cannot be bridged. In order to DM another user you must both be using the same chat platform. Social Media Reddit Twitter - Account operated by small group of contributors Facebook Weibo LinkedIn - Account operated by small group of contributors Code Code for a variety of software projects lives on GitHub . Issues can be used to report bugs or suggest features. Pull Requests can be issued to merge work into the main repository branch. See the developer documentation for more information on various projects, technical documentation and developer-specific contribution guidelines. Contributing Decred is always looking for new contributors. A basic outline of how this works is: Show up, Find something useful to do, Do it, Get Paid. Do a small bit at first and see if other contributors in that domain appreciate it. For details, see contributing to Decred . ## /getting-started/project-history Project History Decred is based on a proposal for the Memcoin2 cryptocurrency from April 2013 on the Bitcointalk forum. The user, tacotime, proposed the new cryptocurrency and worked with _ingsoc, another Bitcointalk user, and Jake Yocom-Piatt to implement the hybrid Proof-of-Work (“PoW”) / Proof-of-Stake (“PoS”) consensus system from Memcoin2 as a new project, called Decred. The major innovation of this hybrid consensus system was that it created a PoS governance mechanism, where users opt-in to temporarily lock their coins in exchange for participation in a lottery. These users are called stakeholders. Several winners of this lottery are selected each block to participate in the consensus system by voting, which puts sovereignty over decisions about Decred directly in the hands of its stakeholders. In contrast, every pure PoW cryptocurrency must rely primarily on its miners for governance decisions since they alone enforce the consensus system and provide its security. However, Decred relies on both its stakeholders and miners for consensus and its security. The end result is that Decred’s hybrid PoW/PoS consensus system is both substantially fairer and more secure than pure PoW systems. Decred’s code was built on the btcsuite codebase, an alternative full node Bitcoin implementation in Go, written by Company 0, LLC. Despite Decred being based on Bitcoin’s code, it is a standalone cryptocurrency, not a “Bitcoin fork”. This work began in February 2014 and continued with the assistance of Company 0, LLC until its mainnet launch in February 2016. Airdrop & Premine During the launch in February 2016, Decred used an innovative airdrop and small premine to bootstrap the PoS component of the Decred network, establish a wide network of potential project contributors, and compensate the early developers for their work prior to launch. Given the necessity of distribution, this process was determined to be fair, transparent, and yielded significant decentralization from the outset. On Chain Governance Since Block 4,096 was mined on February 21 2016, every Decred block has incorporated the votes of at least 3 tickets, approving the contents of the previous block. On July 9 2017, the first consensus vote of tickets was concluded, with the approval of changes which would allow for Lightning Network features to be deployed on the Decred network. Politeia Politeia was launched as Decred’s off chain proposal discussion and voting site on October 15 2018, with the first proposal votes concluding on November 9 2018. A Contractor Management System (CMS) was built using Politeia, and since April 2019 contractors working on the Decred project have been submitting their invoices using this system. This creates a robust record of interactions between contractors and admins which cannot be falsified or tampered with. A second type of proposal, a Request For Proposals (RFP) was added in 2020, allowing for a two stage process where a general plan is first approved before interested parties submit proposals which meet its criteria. The first RFP proposal was completed on September 25, 2020, with all candidate proposals being rejected. Politeia was launched with a git-based backend with censorship tokens for ensuring transparency of censorship, and in March 2021 this was upgraded to use a Trillian log for improved scalability and flexibility. Decred Timeline Date Milestone December 15, 2015 Decred announced on bitcointalk January 1, 2016 Airdrop vetting finalized February 8, 2016 Decred mainnet launched February 12, 2016 Initial stake pool release February 21, 2016 First PoS votes are included in block 4096 December 26, 2016 First release of Decrediton GUI wallet for Linux/OSX June 14, 2017 Initial dcrtime release July 9, 2017 First consensus vote in the history of cryptocurrency to change Decred's stake difficulty algorithm October 19, 2017 Atomic swap tools released with Decred, Bitcoin and Litecoin support October 25, 2017 Politeia is announced June 9, 2018 DEX proposal is published September 21, 2018 Initial SPV release for dcrwallet October 15, 2018 Politeia goes live on mainnet May 9, 2019 Lightning Network support activated on mainnet August 28, 2019 First CoinShuffle++ mixes live on mainnet September 25, 2019 Initial release of dcrpool mining pool software December 16, 2019 Release of Decred software v1.5.0 February 14, 2020 DCP0005 approved, enabling block header commitments which allow for more secure Simplified Payment Verification (SPV) wallets January 25, 2021 Release of Decred software v1.6.0, incorporating first DCRDEX release April 9, 2021 DCP0006 approved, to enable the decentralized treasury December 28, 2021 First payment to contractors from the decentralized treasury (tspend) January 24, 2022 Release of Decred software v1.7.0 April 10, 2022 Approval of DCP0007 (fix treasury bug), DCP0008 (explicit version upgrades), DCP0009 (automatic ticket revocations) & DCP0010 (Change PoW/PoS Subsidy Split) May 8, 2022 PoS vote reward increased to 80%, PoW reward decreased to 10% December 15, 2022 Bison Relay launched June 13, 2023 Release of Decred software v1.8.0 August 1, 2023 Approval of DCP00011 (Change PoW to BLAKE3 and ASERT) and DCP0012 (Change PoW/PoS Subsidy Split To 1/89) August 29, 2023 PoS vote reward increased to 89%, PoW reward decreased to 1%. PoW algorithm changed to BLAKE3 (CPU mining only) September 6, 2023 GPU mining for BLAKE3 started ## /getting-started/obtaining-dcr Obtaining DCR Overview This article discusses some of the ways a user can acquire Decred. The five basic ways are: Purchase Decred using BTC or fiat currency PoW mine for Decred Participate in proof-of-stake voting Contribute to Decred Sell or trade goods or services with someone who already has Decred Purchasing Decred There is a variety of ways to purchase Decred listed on the Decred website . Cryptocurrency exchanges enable swapping another cryptocurrency for Decred Direct exchanges allow Decred to be purchased with fiat currency OTC (Over The Counter) traders allows large purchases of Decred at a fixed price Mine for Decred (PoW) Proof-of-Work (PoW) is a measure of using computational power to create and verify the cryptographically secure blockchain. This is similar to traditional Bitcoin mining. PoW mining is described in more detail here . Participate in Proof-of-Stake Voting Proof-of-Stake (PoS) voting is performed by stakeholders who lock a certain amount of their DCR in return for voting rights and a monetary reward. PoS voting is described in more detail here . Contribute to Decred Decred is currently recruiting contractors - members of the community who are paid in Decred for their contributions. Check out Contributing section for details and how to get involved. Sell/Trade Goods or Services for Decred If you are an online merchant, there are some payment processors listed on the Decred website which can help you accept Decred payments. Some of these payment processors can also provide integration with major e-commerce platforms. An alternative way to obtain Decred is to use your skills, knowledge, or experience by exchanging services for Decred as payment. Services can be anything that you are skilled at which are in need or requested by other members of the Decred community. ## /getting-started/using-the-block-explorer Using the Block Explorer Overview All blocks and transactions on the Decred blockchain are visible through the use of the block explorer, dcrdata . Public instances of dcrdata are available for the following networks: mainnet testnet Blocks Blocks can be found by searching for their block height number, clicking on a Height value from the home page, or from their BlockHash value. Older blocks will have lower block numbers. Each block is packed with information. There are two main sections inside a block: The Block Header This shows summary information about this specific block, as well as a link to the previous block in the chain. Transactions Consisting of: The Proof-of-Work reward The Treasury reward Proof-of-Stake votes and rewards Proof-of-Stake ticket purchases All other regular transactions which transmit DCR across the network Block Headers The following table should help explain what you’ll see in the top section of dcrdata . This is generally all information that’s also found inside a block header, although it adds some additional context. For a more advanced description of block headers, see the Dev Docs on Block Header Specifications . Value Explanation Block Hash The unique hash of this specific block, which was found by the miner. Confirmations The number of new blocks which follow this block in the chain. Size The size of the block (in kB). Height The height of the blockchain in which this block resides. Version The version of the block header. Merkle Root A hash value of all the transaction hashes and stake hashes (ticket purchases, votes, and revocations) included in this block. Stake Root Originally, this was a hash value of all the stake related transaction hashes in this block. However, as of DCP-0005 , the stake hashes were moved into the Merkle Root, and the Stake Root was repurposed to house header commitments. These includes additional proofs and compact filters, which enable a more secure SPV mode for lightweight clients. Number of Transactions The number of regular transactions (DCR sent from one user to another). Block Reward The amount of new DCR minted in this block. Time The time this block was created by a miner and was included in the blockchain. Nonce The value used by a miner to find a valid solution for this block. VoteBits Used to signify the voting result on the previous block. This will either be 0 or 1. If 1, the previous block was approved by proof-of-stake voters. If 0, the previous block was disapproved by proof-of-stake voters and all non-stake transactions in the block were invalidated, including the newly generated block reward for the proof-of-work miner and the Decred Treasury. Final State The hash value of the final state of the lottery used to determine which tickets were eligible to vote on the previous block, and thus be included in this block. It consists of the five winning ticket hashes, as well as the state of the pseudorandom number generator that was used to select those winning tickets from the live tickets pool. Voters The number of successful proof-of-stake votes cast in this block. The maximum value is 5. Tickets can fail to vote when called upon, but a minimum of 3 votes are required. Fresh Stake The number of stake ticket purchases in this block, which will be added to the ticket pool. Revocations The number of tickets that failed to vote and were revoked. PoolSize The total number of active proof-of-stake tickets. Bits A compact version of the network difficulty at the time the block was mined. SBits The price of one proof-of-stake ticket. Stake Version The stake version used for voting on the created block. Difficulty The proof-of-work network difficulty. Transactions This section lists all the transactions that were mined into this block. Transactions are chosen from the network mempool in order of highest fee first. All transactions in the block overview follow this order: Standard transactions (peer-to-peer transfer), proof-of-stake votes, proof-of-stake ticket purchases. The following sections will review each type of transaction. Standard transactions Here’s the information included in standard Decred transactions. Value Explanation Size The size of the transaction in bytes. Fee rate The rate of fees collected by the network (per kB). Received Time The time the network confirmed the transaction. Mined Time The time a miner included the transaction in a block. Included in Block The block number that the transaction became a part of. Note Received Time , Mined Time , and Included in Block will not have a value until a miner validates the transaction and includes it in a Decred block. After being confirmed in a block, the transaction is considered complete. Ticket purchases For a ticket purchase (stake submission) there are a few differences from a standard transaction shown. Note the difference under details: The word Ticket appears above the sender’s wallet address on the left, and the words Subsidy Commitment appear on the right. This particular user purchased a stake ticket for 8.75411638 DCR and received change in the amount of 7.15994209 DCR. The address listed on the left under Ticket is the address that contains the funds used to purchase this ticket. The first output on the right is the address that retains voting rights for this specific ticket. The second output, Subsidy Commitment , is the address where the reward will go. This is not yet shown by the block explorer at this time. The third and final output is the address where change for this transaction will be sent. Proof-of-stake votes Note the identifying terms in the details section: Vote , Stake Base , Block Commitment , and Vote Bits : These keywords indicate that this transaction is a vote that was cast from a proof-of-stake ticket holder. In this particular example, the user had previously purchased a ticket for 8.99472311 DCR and was sent 10.82959184 DCR after the vote was cast in this transaction. ## /getting-started/joining-matrix-channels Joining the Decred community on Matrix What is Matrix? Matrix is a secure, open messaging platform popular with Decred contractors. With the help of bridge software Matrix users can communicate with users on other Decred platforms such as Discord. Matrix offers first party registration; no identifying information or third party service is required to sign up. Users should be aware however that some features, such as password reset, do require an email address. For more on Matrix’s security features and available clients, see the Matrix project homepage . To join Matrix, you’ll need to choose a client and a homeserver. Matrix supports numerous clients and homeservers, but for first-time users, we recommend the most well-supported Matrix client, Element (formerly Riot), and Decred’s homeserver. Using the Decred homeserver makes it easier to find Decred chat rooms, puts decred.org in your ID, and allows you to continue messaging should Decred’s homeserver become disconnected with other homeservers. Creating your account Access Decred’s channels using Element , an open-source Matrix client. Element supports multiple platforms: Desktop iOS Android Google Play F-Droid Web Browser chat.decred.org Element’s web app When creating your account, select “Advanced” to choose to use a custom homeserver and enter https://matrix.decred.org . If you filled the email field, check your in-box to verify your account. Once in, you can begin exploring the different channels using the “Explore” feature. Most Decred projects have their own channel, joining areas you would like to contribute to is encouraged. Anyone can create new channels. Feel free to make one for your Decred related project or friend group. Decred is a community of builders
프로젝트로 돌아가기