hypersign-protocol / whitepaper

2 stars 0 forks source link

Delegated POS #15

Open Vishwas1 opened 2 years ago

Vishwas1 commented 2 years ago

Under DPOS, the stakeholders can elect any number of witnesses to generate blocks Each account is allowed one vote per share per witness, a process known asapproval voting (On an approval ballot, the voter can select any number of candidates.). The top N witnesses by total approval are selected. The number (N) of witnesses is defined such that at least 50% of voting stakeholders believe there is sufficient decentralization. When stakeholders expresses their desired number of witnesses, they must also vote for at least that many witnesses. A stakeholder cannot vote for more decentralization than witnesses for which they actually cast votes.

Each time witnesses produce a block, they are paid for their services. The slate of active witnesses is updated once every maintenance interval (1 day) when the votes are tallied. The witnesses are then shuffled, and each witness is given a turn to produce a block at a fixed schedule of one block every 2 seconds. After all witnesses have had a turn, they are shuffled again.

POS:

Proof of stake is a consensus mechanism that requires a user to put something at stake (cryptocurrency) to be able to verify transactions. The users are chosen pseudo-randomly to verify the transaction based on their total wealth and stake. Those who get the chance to validate the transaction create new blocks in the system.

In DPoS, users vote to select witnesses whom they trust to validate transactions in the blockchain. Users who get the most votes become top tier witnesses and earn the right to validate transactions. Users can also delegate their voting rights to other blockchain members to enable them to vote on their behalf. User votes are weighed on the basis of the size of the user’s stake. A user need not to have a large stake to be a top-tier witness.

Witness: For a witness in the top tier, the threat of being replaced by users with more votes makes the system more competitive. Users can also vote to remove a witness from the list of top-tier witnesses who have lost their trust.

Delegates: Users in DPoS system also vote for a group of people, called ‘delegates’ to govern and check the performance of the entire blockchain protocol. The delegates can propose changes in the blockchain in favor of the users. The changes are implemented after the voting process. However, they have no right to validate transactions or create new blocks like normal users.

https://akeo.tech/blog/blockchain-and-dlt/dpos-vs-pos-difference-between-traditional-and-delegated-proof-of-stake/

PoS DPoS
Block creation & validation Users who have more coins at stake get a chance to validate transactions users vote to elect the witnesses who would be chosen to validate transactions
Governance The rules and regulations in the proof of stake blockchain are hardcoded in the genesis block. Any change in the block means a fork in the protocol. users in DPoS elect delegates who actively manage and govern the blockchain. They can propose changes to the protocol and implement them after getting approved by the users.

Questions on DPoS - Justin Sun case study , how we can avoid that