Decred 백서

Decred

원문

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

vernance page. There is a fee for submitting a proposal (0.1 DCR) to limit the potential for proposal spamming. There is also a fee for registering a Politeia account (0.1 DCR) to limit comment spam and up/down voting sock-puppetry. Fees may be altered if a) they aren’t serving as a sufficient spam-deterrent, or b) the price of DCR changes considerably. Transparent Censorship When proposals are submitted, they are checked by Politeia administrators. Proposals that are deemed spam or invalid will be censored. Politeia is built around the concept of transparent censorship , using dcrtime . Users cannot be silently censored; they can prove that censorship has occurred. When a user registers, a cryptographic identity (pub/priv key pair) is created. This cryptographic identity is then used to create a “censorship token” for each user submission (proposal, comment, comment upvote/downvote). If a user is censored, these tokens can be used to prove that a specific submission was submitted, the time it was submitted, and the exact form of the submission. This cryptographic identity is stored in the user’s browser by default, but can be exported and re-imported at any time. Proposal Lifecycle Below is the basic process for submitting and evaluating proposals: A proposal is submitted. The proposal is reviewed by Politeia admins. Spam is censored. Valid proposals appear publicly on Politeia. They are open for discussion, but voting does not begin immediately, and the proposal can be edited by its owner in response to community feedback. If a proposal becomes clearly inactive (proposal owner stops commenting on the proposal, does not authorize the start of voting), an admin may mark the proposal as ‘Abandoned’. Abandoned proposals appear in the ‘Abandoned’ tab on Politeia. They are publicly viewable, but cannot be edited, commented on, or be authorized to vote. An admin can mark a proposal as abandoned at any time before the proposal owner authorizes voting. Once the proposal owner authorizes voting on a proposal, it cannot be abandoned unless the proposal owner revokes voting on the proposal. The proposal owner authorizes voting to start. An admin then triggers the start of voting. The ticket-voting interval of 2,016 blocks (~1 week) begins. A snapshot of the live ticket pool is taken at 256 blocks prior to the start of voting. Every ticket in the pool when this snapshot was taken can vote ‘Yes’ or ‘No’ on the proposal. Tickets bought after the snapshot cannot vote on the proposal. If a ticket is called to vote on-chain during the ticket-voting interval (to validate blocks or vote on consensus rule changes), it still has until the end of the ticket-voting interval to vote on the proposal. When the ticket-voting period ends, the proposal is formally approved or rejected. There is a quorum requirement for a vote to be considered valid: 20% of the eligible tickets must vote ‘Yes’ or ‘No’. The threshold for a proposal to be approved is 60% ‘Yes’ votes. When a proposal with a budget and deliverables is approved, work can begin. The proposal owner can submit claims against the budget as deliverables are completed. Payment claims will be handled manually by Decred Holdings Group (DHG) until such times as this process can be handled by the Decred Decentralized Autonomous Organization (DAO) . For guidance on creating a good proposal, see the Proposal Guidelines and Example Proposals pages. Decentralized Autonomous Organization (DAO) Politeia’s aim is to serve as the decision-making force behind the Decred DAO. Because Politeia and its accompanying processes are still in an experimental stage, Politeia will serve initially as a robust signaling mechanism from Decred shareholders to the community members controlling the Decred Treasury wallet. Over time, this will be iterated towards a DAO that decentralizes the functions currently performed by trusted humans, and the DAO will control the project fund wallet directly. Politeia Data All proposals, comments, and votes are anchored on the Decred blockchain using dcrtime and stored in a public git repository . See the Navigating Politeia Data page for instructions on accessing and interpreting Politeia data. ## /governance/politeia/proposal-guidelines Proposal Guidelines The page provides proposal requirements, a basic proposal template and tips for creating a successful proposal . See the Example Proposals page for example proposals that use this template. Requirements If your proposal seeks funds from the Treasury, in addition to answering all the questions in the proposal template , your proposal should provide the following information (if applicable). Total budget: If your proposal draws down on its budget when milestones are achieved, include a draw schedule (how much is paid for each milestone achieved). To account for variance in the price of DCR, amounts must be specified in USD. The amount of DCR distributed will then be adjusted at payout according to the exchange rate. Duration of contract: If your proposal provides an ongoing service, your proposal must provide an end date. Restrictions on deliverables: Specify any license or other restrictions on deliverables. For example, if delivering software, specify whether it will be open-source, closed-source, and what (if any) license will be used. Reporting commitment: Specify how you plan to report on the progress of your project. If reporting on an ongoing basis, specify what is being reported, who is responsible for the reporting, and a reporting schedule. Proposal Template All proposals should answer the following questions: What In the What section, provide a short description of the problem that will be addressed. Why In the Why section, answer why the proposal is needed and why it is a good idea. How In the How section, describe the steps you will perform to accomplish your goals. Who In the Who section, describe the entity that will complete the work and draw down on the proposal’s budget. When In the When section, describe the project’s milestones, expected completion dates, and the draw schedule (how much is paid for each milestone achieved). Tips for Creating a Successful Proposal Following the below tips will greatly increase your proposal’s chance of success. Engage the community Engaging with the community first, before submitting a proposal, will allow you to gauge interest in your idea, gather feedback, and better understand your proposal’s chance of success before investing time in a proposal. Demonstrate clearly how your proposal will benefit Decred Do not submit personal ventures, business ideas or experimentation, unless it clearly benefits the project. Explain how your proposal will directly further the project’s aims, and provide clear deliverables and milestones. Check the hype Many Decred stakeholders are highly technical veterans in the blockchain space. Over-hyped, buzzword-filled proposals without substance will likely be ignored. Be precise in your use of technical terms, realistic in your projections, and bring your A game in the comments. Speak to a broad audience Some proposals will necessarily contain complex concepts and jargon. This is fine. Be aware however that not all stakeholders will be experts in your domain. You’ll need their votes too. Take part of your proposal to explain any complex ideas in simple, easy-to-understand language all stakeholders can understand. In the case of a proposal covering an unfamiliar topic that has not previously been introduced to the community, consider running educational and Q&A campaigns before putting the proposal to a vote. Build Credibility The bigger the proposal, the more you will need to convince stakeholders you are capable of doing what you propose. If you are unknown to the community, showcase past contributions to other projects (bonus points for verifiable open-source contributions). If your plan requires working with current Decred contractors, be sure to communicate with them beforehand and secure their support. If you’re looking to build credibility within the community before submitting a proposal (a good strategy), you will find the Decred project very welcoming to contributors of all levels. Start small, deliver, and your chances of submitting a successful proposal will increase along with your credibility. Further Information The decredcommunity/guidelines repo on GitHub has a very thorough set of guidelines and best practices for writing proposals. Writing Proposals on Politeia by The Decred Drive. Politeia Digest provides a summary of activity on Politeia. ## /governance/politeia/example-proposals Example Politeia Proposals Below are two example Politeia proposals that utilize the template provided in the Politeia Proposal Guidelines . The first example proposes the development of a new software feature. The second a marketing initiative. Software Feature Proposal Marketing Proposal Software Feature Proposal What In the What section, provide a short description of the problem that will be addressed. Example Develop a set of JavaScript libraries to enable JavaScript developers to easily add support for Decred into their applications. Why In the Why section, answer why the proposal is needed and why it is a good idea. Example According to stats collected by GitHub.com, JavaScript has been the most popular programming language for the last 6 years in a row. The number of developers and companies building with JavaScript is enormous, and providing a toolkit for them to easily integrate with the Decred blockchain will expose the project to a massive pool of talent and innovation. How In the How section, describe the steps you will perform to accomplish your goals. Example The basic framework for the JavaScript toolkit is already built and is available on GitHub. So far I have implemented: secp256k1 elliptical curve for generation of keypairs, signature creation and verification. BIP-0044 keys and PGP mnemonic seeds. I will be continuing to develop this project and plan to add: Clients for the dcrdata block explorer. Serializable and de-serializable JavaScript versions of important types from the dcrd/wire package. Network parameters for mainnet, testnet3, and simnet. A light wallet which will include sending and receiving DCR, staking, SPV and LN. DEX integration All of this code is open source, published under the ISC license . In the case that this proposal is approved, the ownership of the existing GitHub repository will be transferred to the Decred organization. Who In the Who section, describe the entity making the proposal, who will complete the work, and who will draw down on the proposal’s budget. Example This proposal is submitted by @allstake (on Matrix, /u/Satoshi2000 on reddit). You may remember me from a discussion in #proposals, where I solicited feedback on this idea (Matrix link). I have been active in the blockchain space for two years, with a particular interest and passion for blockchain governance. See my GitHub (github.com/satoshi200) for examples of my work, including an event-driven lambo address creation module. When In the When section, describe the project’s milestones, expected completion dates, and the draw schedule (how much is paid for each milestone delivered). Example Feature Estimate Cost secp256k1 curve, BIP-0044, mnemonic seeds 40 hours of work (already complete) $1,600 Block explorer clients 6 hours of work $240 dcrd/wire types 10 hours of work $400 Network parameters 3 hours of work $120 Wallet send/receive 45 hours of work $1,800 Wallet staking 40 hours of work $1,600 Wallet SPV 100 hours of work $4,000 Wallet LN 120 hours of work $4,800 DEX integration 120 hours of work $4,800 This will bring the grand total to 484 hours at a rate of 40 USD/hr. This proposal will therefore be capped $19,360 . The proposed schedule is to do this work over 16 weeks, breaking this period into three milestones. Milestone 1 Block explorer clients, wire types, parameters, wallet send/receive and staking. 104 hours, to be completed by week 4. Milestone 2 Wallet SPV and LN. 220 hours, to be completed by week 11. Milestone 3 DEX integration. 120 hours, to be completed by week 16. Marketing Proposal What In the What section, provide a short description of the problem that will be addressed. Example This proposal would fund a Decred presence at Real Blockchain Conference, in Dublin, Ireland, July 11-13. It would cover costs for a booth, swag, and people to staff the booth. Why In the Why section, answer why the proposal is needed and why it is a good idea. Example Real Blockchain Conference is a top cryptocurrency conference and totally not made up. Last year’s conference had 5,000 attendees and they seemed cool, good solid Decred stakeholder material. With epic swag and a physical embodiment of Stakey in attendance, a presence at this conference would raise awareness of Decred. How In the How section, describe the steps you will perform to accomplish your goals. Example I will organize Decred’s presence at this event, it will take about 20 hours of my time at 40$/hour: $800 Conference registration/booth fees: $3,000 Booth decorations: $1,000 Decred swag to give away: $2,000 3 staff on the booth for 3 (10 hour) days each at $30/hr: (3 x 3 x 10 x 30) $2,700 Stakey costume: $500 Stakey costume occupant: 3 (10 hour) days at $40/hr (that suit is warm!): $1,200 Travel expenses for booth staff: Up to $2,000 Accommodation for booth staff. We will stay at the conference hotel costing $200/night, it is unlikely that all booth staff need accommodation, but the maximum would be 200 x 3 nights x 4 staff = $2,400 Maximum total budget: $15,600 Who In the Who section, describe the entity making the proposal, who will complete the work, and who will draw down on the proposal’s budget. Example This proposal is submitted by @AllYourStake (on Matrix, /u/StakeGovernor2000 on reddit). You may remember me as the organizer of Decred’s presence at such blockchain events as Real Blockchain Conference 2017 and Buckets of Blockchain 2018. I don’t know exactly who the 3 booth staff and 1 Stakey suit wearer will be, I will be one of the staff and @Contributor1 is also interested. When In the When section, describe the project’s milestones, expected completion dates, and the draw schedule (how much is paid for each milestone delivered). Example Registration fees are due by September 30th, I will pay these up-front and request full reimbursement immediately. I will front the cost of the swag and Stakey suit, and claim this along with my travel/accommodation expenses and payment for my work, after the event. Booth staff who are already Decred contributors will bill for their hours and expenses directly, I will serve as intermediary for any staff costs not associated with established contributors. ## /governance/politeia/politeia-censorship Politeia Censorship This page details the Politeia censorship model, its motivations, and provides instructions for proving censorship of submissions to Politeia (proposals, proposal comments, comment upvotes/downvotes). Why censorship is required Censorship is a necessary tool for administrators for several reasons. For one, Politeia cannot host illegal content. For another, because the fee to submit a proposal is relatively low (0.1 DCR), there is a risk the system could be flooded with spam proposals that waste the time and attention of stakeholders. Transparent censorship Politeia is based on the concept of transparent censorship . A limitation observed with other platforms such as Reddit, is that moderators can censor silently. This can lead to situations where content is censored because it goes against the preferred narrative of the moderators. In these cases, it is often the users’ word against that of the moderators’. In Politeia, admins can censor content, but can only do so transparently. If a user’s submission is censored, they can cryptographically prove that the censorship occurred. If admins censor a proposal, they must also provide a reason, which is viewable to the user. Proving censorship When a user registers, a cryptographic identity (pub/priv key pair) is created. This cryptographic identity is then used to create a “censorship token” for each user submission (proposal, comment, comment upvote/downvote). If a user’s submission is censored, they can use this token to cryptographically prove their submission was censored, the time it was submitted, and the exact form of the submission. If a user’s proposal is censored, it will not appear publicly on Politeia, but will still be visible to the user and admins. The censored proposal will still appear on the user’s Your Proposals page, along with the reason the proposal was censored. Below is an example proposal that was censored as spam. Recourse If a user feels they have been unjustly censored, they are free to show their provably censored proposal to the community at large and build support for their proposal. Proposals can be resubmitted at any time. Users are responsible for hosting any censored content if they wish to share it externally. Don’t trust, verify Clicking on the Download Proposal Bundle link on the proposal page will download a JSON file to the user’s computer containing information about the proposal, including the proposal’s censorship record. The censorship record contains all the information needed to prove a proposal was submitted, including the time it was submitted, its exact form at the time of submission, and if it was censored. Politeia provides a verification tool, politeia_verify, that can be used verify a proposal submission using its censorship record. Source code and instructions for using politeia_verify can be found here . ## /governance/consensus-rule-voting/overview Consensus Rule Voting This page is intended to give a brief introduction to how consensus rule voting works and details the process for setting your tickets to cast your preferred vote for any agenda. Introduction The consensus rules are a set of rules which every full node participating in the Decred network must enforce when considering the validity of blocks and transactions. Examples of consensus rules include: Blocks must not be larger than the maximum permitted size. Decred must not be double-spent . Blocks must meet the current difficulty requirement. It is essential that every node on the network uses exactly the same set of consensus rules. Nodes attempting to use consensus rules that differ from the majority of the network will not be able to properly validate blocks, and will eventually end up operating on their own separate network. Decred has a built-in upgrade mechanism which allows consensus rules to be changed across the entire network in a coordinated fashion. This enables the rules to be changed predictably and without fracturing the network, and allows proof-of-stake voters to exercise sovereignty over whether or not to accept the proposed changes. The process to change the consensus rules is detailed below. Step 1: Decred Change Proposal (DCP) A Decred Change Proposal (DCP) is a design document which describes potential protocol or consensus changes to Decred. A well-written DCP will include a detailed description of the proposed change, explain the motivation for making the change and provide a reference implementation. Detailed documentation on the format of DCPs, as well as all past DCPs, can be found in the GitHub repository decred/dcps . Step 2: New node software New node software which implements the proposed consensus rule changes must be developed and released. This software must include all code necessary to enforce existing consensus rules, as well as the new co
프로젝트로 돌아가기