Skip to content

Instantly share code, notes, and snippets.

@RichardRed0x
Last active June 15, 2019 00:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichardRed0x/a60a092fe6ff8e82705164a222e9a4c0 to your computer and use it in GitHub Desktop.
Save RichardRed0x/a60a092fe6ff8e82705164a222e9a4c0 to your computer and use it in GitHub Desktop.

Decred holders can time-lock DCR in exchange for tickets that allow them to participate in consensus and governance, giving them sovreignty over the network.

Each block produced by Proof of Work miners calls 5 random tickets to vote, these tickets vote to approve or reject the regular transaction tree of the previous block and determine if that miner receives their reward. This gives ticket voters power to regulate the behavior of PoW miners. Blocks are not valid unless they include at least 3 votes, and the reward is reduced if less than 5 are included. This enhances the security of the network and makes it more difficult to attack.

Whenever a change to the network's consensus rules is proposed this triggers an on chain vote. When tickets vote to approve the previous block they can also vote yes or no to any open consensus rules change proposal. If proposals are approved by 75% of tickets over a one month period, they will automatically activate one month later.

Politeia voting happens off chain and steers the course of the project's development, approving policies and deciding how Decred's Treasury funds should be spent. Politeia takes a snapshot of live tickets when proposals open for voting and those tickets are eligible to vote yes or no on the proposal.

@Dustorf
Copy link

Dustorf commented Jun 14, 2019

I think an animation explaining tickets would be extremely valuable.

In the first sentence, we might want to add how tickets are the mechanism by which stakers hold ultimate sovereignty over the project.

I think this would benefit from an explanation of the ticket pool after the first sentence-new paragraph. This would explain the 40,960 target with the price determined by demand, average 28 day pseduorandom call with a max period of 142 days.

On the first paragraph, we should be more explicit on how the security level is increased (layered security, requires a combination of hash power and stake for 51% attack).

Pi paragraph-I'd suggest adjusting the second sentence so it's active. Turn it around and say "Pi takes a snapshot of tickets when proposals open for voting and those tickets are eligible to approve or disapprove of proposals."

@RichardRed0x
Copy link
Author

I did the first and last suggestion, the other 2 are in my view too detailed to go into a 60 second intro to the different forms of voting.

Maybe we should be discussing extending the scope and duration of the video? Or more in depth videos about some of these aspects? This script was requested by @MotionFactory to do a kind of demo video that would go along with a proposal, so we can be thinking about what that proposal should involve as much as what the script for this short demo should include.

@Dustorf
Copy link

Dustorf commented Jun 15, 2019

I like the way you have it scoped. It's not too burdensome, and it provides a good overview of the important concept of tickets. If the stakeholders receive it well, we can dream up a list of useful videos like this. I agree my language on security was overkill, but I think it can be tweaked to say more in about the same number of words.

This enhances the security of the network and makes it more difficult to attack.
This layers the security of the network, making it 20X more difficult to attack.

A thought.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment