bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 12쪽 중 4쪽
de implementing the change specified in the DCP. The new code will lie dormant until the change has been voted upon and accepted by the proof-of-stake voters.
Step 3: Network upgrade
Proof-of-work miners and proof-of-stake voters must upgrade their software to the new version before voting on activation of the new rules can begin. Each has a different threshold to meet before the upgrade is considered complete:
The
proof-of-work
upgrade is considered complete once 95% of the latest 1,000 blocks are mined with the latest version.
The
proof-of-stake
upgrade is considered complete once 75% of the votes in a complete
stake version interval
are cast using the latest version.
Once both of these thresholds have been met, the vote is scheduled to begin on the first block of the next
rule change interval
.
Step 4: Voting
Voting takes place across the duration of a full
rule change interval
.
Each proof-of-stake ticket which is called to vote during this interval will include votebits which indicate whether the ticket holder wishes to accept or reject the new rules, or if they wish to abstain from voting.
If ticket holders do not explicitly set their voting preference, the default setting is to abstain.
This is to prevent any option having an unfair advantage in the cases where ticket holders are apathetic or unaware that a vote is taking place.
Given that each block can contain a maximum of five votes, and the rule change interval on mainnet is 8,064 blocks, the maximum number of votes is 40,320.
This number is deliberately very close to the target size of the ticket pool, 40,960.
Allowing almost a full ticket pool to vote ensures a good sampling of votes, and that the vote result is truly representative of the stakeholders preferences.
Every vote has a quorum requirement of 10%.
This means that at least 10% of all votes cast must be non-abstain for the result to be considered valid.
There are a few possible outcomes of a vote:
If quorum is not met (more than 90% of all votes are “Abstain”), the agenda vote remains active for the next RCI.
If all non-abstaining votes within the RCI fail to meet the 75% Yes or No majority threshold, the agenda vote remains active for next RCI.
If 75% of all non-abstaining votes within the RCI are in support of the agenda (“Yes”), the agenda is considered locked in and the consensus changes will activate 8,064 blocks after the vote passed.
If 75% of all non-abstaining votes within the RCI are in opposition of the agenda (“No”), the agenda fails and the consensus changes will never activate.
If an agenda reaches its expiration before ever reaching a 75% majority vote, the agenda expires and the consensus changes will never activate.
Step 5. Rule activation
If the quorum requirement is met, and more than 75% of the votes are in favour of activating the new consensus rules, then a “lock-in” period begins.
This is a fixed period of 8,064 blocks (~4 weeks).
During this period, all participants in the Decred network
must
upgrade their software to the latest version.
All full nodes participating in the network will automatically activate the new rules on the first block after this period, so any nodes still running the old software will no longer be able to participate.
Below is a diagram of the entire cycle for a single agenda with consensus upgrades.
Voting Preparation
To participate in voting, you’ll first need a wallet. If you don’t have one already, visit the
Beginner Guide
, choose a wallet, and follow the installation and setup guides.
Next, you’ll need to
buy tickets
to vote with using your application of choice. Be sure to familiarize yourself with the basics of
Proof-of-Stake
before purchasing tickets.
Finally, you’ll need to learn how to set the
votechoice
for your tickets in order to cast a “Yes”, “No”, or “Abstain” vote for an agenda. By default, your tickets will cast “Abstain” votes. To set your vote choice, see our quick
How To Vote
.
Tracking Vote Progress
An official website,
voting.decred.org
, has been set up to track the progress of upgrading and voting.
Further Information
Blog post announcing Consensus Rules Voting:
https://blog.decred.org/2016/11/16/Upgrading-Consensus/
## /governance/consensus-rule-voting/how-to-vote
How to Vote
This guide assumes you already have an active wallet and have purchased tickets. If not, please follow the
Voting Preparation
guide.
The choice a ticket votes with depends on your vote preference at the time the ticket is chosen, not when it is bought. So you can set your choice at any time within the voting window and all future tickets will vote accordingly.
Voting with a Voting Service Provider (VSP)
If your Voting Service Provider (VSP) has updated to the latest VSP software, you will find a ‘Voting’ page in the navigation menu with dropdown options for each agenda. After you’ve chosen how you want your tickets to vote, simply press the ‘Update Voting Preferences’ button to save your vote choices.
You can also update your voting preferences via Decrediton.
Under the ‘Governance’ section, ‘Consensus Changes’ tab, you’ll find the option
to set your vote.
Solo Voting
Through the command line, you’ll want to familiarize yourself with the following commands:
dcrctl --wallet getvotechoices
dcrctl --wallet setvotechoice "agendaid" "choiceid"
The
getvotechoices
command returns a JSON payload describing the agendas which
are currently up for vote.
The
choiceid
field indicates your selected voting preference, and is set to
abstain
by default.
The
setvotechoice
let’s you set your voting preference.
You can get the
agendaid
for votes using the above
getvotechoices
command.
The
choiceid
field can be set to
yes
,
no
, or
abstain
.
## /governance/consensus-rule-voting/verifying-votes
Verifying Votes
When a proof-of-stake ticket is called to vote on-chain, the voting preference of that ticket is permanently recorded on the Decred blockchain.
It is possible to verify the voting preference of a ticket using either the Decred block explorer or the Command Line Interface (CLI).
Step one: Find the vote transaction ID
Every proof-of-stake vote creates an on-chain transaction which includes the details of how the ticket is voting on the available agendas.
Finding the ID of this transaction is the first step towards verifying how the ticket voted.
Decrediton
Vote transactions can be found in Decrediton by opening the History section of the Transactions tab.
This will display a list of all transactions involving the current wallet, but it is possible to filter the list to show only vote transactions.
Clicking on a vote transaction in this list will display detailed information about the transaction, including the transaction ID.
Command Line Interface (CLI)
dcrctl
can be used to list all of the transactions of a wallet:
dcrctl --wallet listtransactions
This will return a JSON formatted list of all transactions.
The vote transactions can be identified by looking at the
txtype
field.
Here is an example of a vote transaction on testnet.
{
"account"
:
""
,
"amount"
:
-0
,
"blockhash"
:
"0000000004e29b89d74cccc02188f9d1b5951da1d3e9808cfc69722820bac0d9"
,
"blocktime"
:
1550273859
,
"category"
:
"send"
,
"confirmations"
:
30204
,
"fee"
:
0
,
"time"
:
1553855722
,
"timereceived"
:
1553855722
,
"txid"
:
"a20e541bdd08badab829510e3563875ef9929a16dcb0e8c38a32cf0fe9cadbcd"
,
"txtype"
:
"vote"
,
"vout"
:
0
,
"walletconflicts"
:
[]
}
txid
is transaction ID, the value required to check voting preferences in the next section.
Step two: Verifying the Vote
Once the transaction ID of the ticket vote has been found, the voting preferences of the ticket can be found using either the block explorer or the CLI.
Block Explorer
To find the voting preferences of a ticket on
the block explorer
, simply enter the transaction ID obtained above into the search feature at the top of the homepage.
The search result should show the detailed information about the transaction, including the voting preferences.
Command Line Interface (CLI)
To verify how a ticket voted using the CLI, the transaction hex must be retreived using
gettransaction
.
dcrctl --wallet gettransaction <transaction_ID>
The JSON object returned by this command will have a field
hex
. This needs to be copied into the
decoderawtransaction
command.
dcrctl decoderawtransaction <transaction_hex>
This will return a JSON representation of the transaction.
The vote bits of the transaction can be found in the
vout
with the field
n
set to
1
.
To determine how this transaction has voted on a particular agenda, the vote bits must be decoded using the mask which is provided in that agenda’s
DCP
.
## /governance/consensus-rule-voting/consensus-vote-archive
Consensus Vote Archive
This section provides an archive for previous votes along with their outcomes.
Vote version 10
The upgrade to vote version 10 was included in dcrd 1.8.0 released on 13 June 2023.
Voting Start
Voting End
Activated
778,240
786,303
794,368
Change PoW to BLAKE3 and ASERT
Agenda ID:
blake3pow
Change proof of work hashing algorithm to BLAKE3 as defined in in
DCP-0011
Stakeholders voted
to change
the Proof-of-Work hash function to BLAKE3. This consensus change will also
update the difficulty algorithm to ASERT (Absolutely Scheduled Exponentially
weighted Rising Targets).
Voting Results
Choice
Percentage
Abstain
35.52%
No
0.34%
Yes
64.13%
Change PoW/PoS Subsidy Split To 1/89
Agenda ID:
changesubsidysplitr2
Change block reward subsidy split to 1/89/10 as defined in
DCP-0012
Modify the block reward subsidy split such that 1% goes to Proof-of-Work
(PoW) and 89% goes to Proof-of-Stake (PoS). The Treasury subsidy remains at 10%.
Voting Results
Choice
Percentage
Abstain
36.59%
No
0.45%
Yes
62.95%
Vote version 9
The upgrade to vote version 9 was included in dcrd 1.7.0 released on 20 January 2022.
Voting Start
Voting End
Activated
641,152
649,215
657,280
Revert Treasury Expenditure Policy
Agenda ID:
reverttreasurypolicy
Change maximum treasury expenditure policy as defined in
DCP-0007
Change the algorithm used to calculate Treasury spending limits such that it
enforces the policy originally approved by stakeholders in the
Decentralized Treasury proposal
.
Voting Results
Choice
Percentage
Abstain
41.30%
No
0.03%
Yes
58.66%
Explicit Version Upgrades
Agenda ID:
explicitverupgrades
Enable explicit version upgrades as defined in
DCP-0008
Modifications to Decred transaction and scripting language version enforcement
which will simplify deployment and integration of future consensus changes
across the Decred ecosystem.
Voting Results
Choice
Percentage
Abstain
41.68%
No
0.03%
Yes
58.28%
Automatic Ticket Revocations
Agenda ID:
autorevocations
Enable automatic ticket revocations as defined in
DCP-0009
Changes to ticket revocation transactions and block acceptance criteria in order
to enable
automatic ticket revocations
,
significantly improving the user experience for stakeholders.
Voting Results
Choice
Percentage
Abstain
41.69%
No
0.03%
Yes
58.27%
Change PoW/PoS Subsidy Split
Agenda ID:
changesubsidysplit
Change block reward subsidy split to 10/80/10 as defined in
DCP-0010
Proposal
to modify to the block
reward subsidy split such that 10% goes to Proof-of-Work and 80% goes to
Proof-of-Stake.
Voting Results
Choice
Percentage
Abstain
39.79%
No
0.15%
Yes
60.14%
Vote version 8
The upgrade to vote version 8 was included in dcrd 1.6.0 released on 21 January 2021.
Voting Start
Voting End
Activated
536,320
544,383
552,448
Enable Decentralized Treasury
Agenda ID:
treasury
Enable Decentralized Treasury as defined in
DCP-0006
In May 2019, Decred stakeholders approved the development of a
proposed solution
to further
decentralize the process of spending from the Decred treasury.
Voting Results
Choice
Percentage
Abstain
16.72%
No
0.08%
Yes
83.18%
Vote version 7
The upgrade to vote version 7 was included in dcrd 1.5.0 released on 29 January 2020.
Voting Start
Voting End
Activated
415,360
423,423
431,488
Enable Block Header Commitments
Agenda ID:
headercommitments
Enable header commitments as defined in
DCP-0005
Proposed modifications to the Decred block header to increase the security and
efficiency of lightweight clients, as well as adding infrastructure to enable
future scalability enhancements.
Voting Results
Choice
Percentage
Abstain
38.74%
No
0.03%
Yes
61.21%
Vote version 6
The upgrade to vote version 6 was included in dcrd 1.4.0 released on 5 February 2019.
Voting Start
Voting End
Activated
326,656
334,720
342,784
Update Sequence Lock Rules
Agenda ID:
fixlnseqlocks
Modify sequence lock handling as defined in
DCP-0004
In order to fully support the Lightning Network, the current sequence lock consensus rules need to be modified.
Voting Results
Choice
Percentage
Abstain
45.52%
No
0.00%
Yes
54.46%
Vote version 5
The upgrade to vote version 5 was included in dcrd 1.1.0 released on 22 September 2017.
Voting Start
Voting End
Activated
173,440
181,504
189,568
Activation of new opcodes for Lightning Network Support
Agenda ID:
lnfeatures
Enable features defined in
DCP-0002
and
DCP-0003
necessary to support Lightning Network (LN)
The Lightning Network is the most directly useful application of smart contracts to date since it allows for off-chain transactions that optionally settle on-chain. This infrastructure has clear benefits for both scaling and privacy. Decred is optimally positioned for this integration.
Block 205189 is the first block which contains the new opcode which was voted in via the lnfeatures vote and thus all old nodes must upgrade.
Voting Results
Choice
Percentage
Abstain
37.70%
No
0.30%
Yes
61.98%
Vote version 4
The upgrade to vote version 4 was included in dcrd 1.0.0 released on 26 April 2017.
Voting Start
Voting End
Activated
133,120
141,184
149,248
Change PoS Staking Algorithm
Agenda ID:
sdiffalgorithm
Change stake difficulty algorithm as defined in DCP-0001
Specifies a proposed replacement algorithm for determining the stake difficulty (commonly called the ticket price). This proposal resolves all issues with a new algorithm that adheres to the referenced ideals.
Voting Results
Choice
Percentage
Abstain
12.23%
No
1.81%
Yes
85.94%
Start Lightning Network Support
Agenda ID:
lnsupport
Request developers begin work on Lightning Network (LN) integration
The Lightning Network is the most directly useful application of smart contracts to date since it allows for off-chain transactions that optionally settle on-chain. This infrastructure has clear benefits for both scaling and privacy. Decred is optimally positioned for this integration.
Voting Results
Choice
Percentage
Abstain
22.58%
No
1.07%
Yes
76.34%
## /governance/decred-constitution
Decred Constitution
Decred (/ˈdi:ˈkred/, /dɪˈkred/, dee-cred) is a secure, adaptable and self-funding cryptocurrency with a system of community-based governance integrated into its blockchain. The project mission is to develop technology for the public benefit, with a primary focus on cryptocurrency technology. This constitution defines a set of principles which guide the decision-making of the project’s stakeholders, and describes the processes through which the blockchain and Treasury are governed. This document is meant to manage the expectations of prospective and actual Decred users, so that they more clearly understand the social contract between themselves and the project. This document is not intended to take precedence over the Decred network’s consensus rules, should any conflict arise.
Principles
Free and Open-Source Software
- All software developed as part of Decred shall be free and open source-software.
Free Speech and Consideration
- Everyone has the right to communicate opinions and ideas without fear of censorship. Consideration shall be given to all constructive speech that is based in fact and reason.
Multi-Stakeholder Inclusivity
- Inclusivity represents a multi-stakeholder system and an active effort shall be maintained to include a diverse set of views and users.
Incremental Privacy and Security
- Privacy and security are priorities and shall be balanced with the complexity of their implementations. Additional privacy and security technology shall be implemented on a continuing and incremental basis, both proactively and on-demand in response to attacks.
Fixed Finite Supply
- Issuance is finite and the total issuance shall not exceed 20,999,999.98387408 DCR, with a per-block subsidy that adjusts every 6,144 blocks (approximately 21.33 days) by reducing by a factor of 100/101. The genesis block subsidy starts at 31.19582664 DCR.
Universal Fungibility
- Universal fungibility is fundamental to Decred being a store of value and attacks against it shall be actively monitored and countermeasures pursued as necessary.
Blockchain Governance
Governance
of the network occurs directly through the blockchain via hybridization of a block’s proof-of-work (“PoW”) with its proof-of-stake (“PoS”). PoS voters, also known as stakeholders, can effectively override PoW contributors, known as miners, if 50% or more of the stakeholders vote against a particular block created by a miner.
Stakeholders are people who purchase one or more tickets, which entails locking a specific amount of DCR. The amount of DCR that must be locked, also known as the ticket price, fluctuates as the system targets 40,960 tickets in the live pool.
In each block, 5 tickets are called to vote, determined by a lottery
system
. When a ticket is called, a nominated wallet must actively respond with a vote. For a block to be accepted by the network, it must include votes from at least 3 of the 5 tickets called. The blockchain cannot be extended without the active participation of stakeholders.
Stakeholders must wait an average of 28 days (8,192 blocks) to vote their tickets, and during this time the DCR used to purchase the ticket remain locked. The wait may be much longer or shorter than the average of 28 days because the ticket selection process is pseudorandom. Tickets expire after 40,960 blocks (~142 days) if they have not been called to vote.
Stakeholder votes recorded in the blockchain are rewarded with 17.8% of each block subsidy, and each block can have up to 5 votes for a total of 89% of each block subsidy.
PoW receives 1% of each block subsidy, subject to the constraint that their subsidy scales linearly with the number of PoS votes included, e.g. including 3 of 5 votes reduces PoW subsidy to 60% of the maximum.
The votes themselves decide by majority decision whether the regular transaction tree of the previous block, including the PoW subsidy, is valid. Thus, if PoS voters vote against a particular PoW block, it invalidates the PoW reward (and Treasury reward) and invalidates any regular transactions within that block.
Decred’s process for
amending the consensus rules
is also driven by stakeholder voting. The process begins when at least 95% of PoW miners and 75% of PoS voters have upgraded their software to a new version with latent changes to the rules. Once these conditions are met, a voting period of 8,064 blocks (~4 weeks) begins, to decide whether the latent rule changes should be activated.
For a rule change proposal to be approved, at least 75% of the tickets not set to Abstain must vote Yes. If this requirement is met, and a quorum of 10% tickets voting Yes or No is achieved, then the rule change will be activated 8,064 blocks (~4 weeks) later.
Project Governance and Funding
Sustainability and longevity require that 10% of all block rewards be given to a project Treasury fund, administered by a development organization.
The initial development organization is
D프로젝트로 돌아가기