Solving the NPoS problem with Phragmen | Substrate Seminar | Archives

Channel:
Subscribers:
5,190
Published on ● Video Link: https://www.youtube.com/watch?v=MjOvVhc1oXw



Duration: 1:33:24
962 views
21


Today we're joined by Kian Paimani to discuss Substrate's use of Phragmen's algorithm and it various on- and off-chain implementations.

0:00 Introductions
1:59 Overview - Three varieties of Phragmen
3:04 Sequential Phragmen
10:55 The NPos Problem
15:28 Question: How did we choose the criteria for a "good" NPoS solution
Criticism: The criteria incentivizes validators splitting stake
24:10 Example: Comparing two NPoS solutions
27:23 Question: When is Phragmen run?
30:30 Offline Phragmen
34:55 Offchain Phragmen
41:57 Encoding NPoS Solutions
1:01:37 Validating and Scoring Solutions
1:26:29 Wrap-up

Web3 research article on phragmen: https://research.web3.foundation/en/latest/polkadot/NPoS/index.html
PR where Kian implements this logic he's describing https://github.com/paritytech/substrate/pull/4947
Offline Phragmen Tool: https://github.com/kianenigma/offline-phragmen



⎼⎼⎼⎼⎼⎼⎼

→ For more videos on blockchain development and building Web 3.0,
subscribe to the channel: https://www.youtube.com/channel/UCSs5vZi0U7qHLkUjF3QnaWg?sub_confirmation=1

→ Website: https://www.parity.io/

→ To stay informed about Parity updates and events,
subscribe to the newsletter: https://www.parity.io/newsletter/

→ Follow us on Twitter (@ParityTech): https://twitter.com/ParityTech

→ Check our code on GitHub: https://github.com/paritytech/

→ Drop in the Riot chat to ask technical questions: https://riot.im/app/#/room/#watercooler:matrix.parity.io




Other Videos By Parity Tech


2020-04-22Customize your Substrate chain CLI using StructOpt | Substrate Seminar
2020-04-16Substrate Social Recovery Pallet Code Walkthrough with Joe Petrowski and Shawn Tabrizi
2020-04-07Implement an uncollateralized stablecoin and storage adapters | Substrate Seminar
2020-04-07Manual seal and instant seal | Substrate Seminar
2020-03-27The EVM Pallet and Purestake's Moonbeam | Substrate Seminar | Archives
2020-03-25Intro to Substrate Off-Chain Workers with Joe Petrowski and Tomasz Drwięga
2020-03-20[TUTORIAL] Build a proof of existence blockchain in 30 minutes
2020-03-11PolkaHub and Totem Live | Substrate Seminar | Archives
2020-03-11Polkadot validator node setup with Joe Petrowski and Will Pankiewicz
2020-03-09VuePolkadot, CLE Coin, Staking Demo | Substrate Seminar | Archives
2020-03-01Solving the NPoS problem with Phragmen | Substrate Seminar | Archives
2020-02-28Built with Substrate: What it's like building on Substrate blockchain framework
2020-02-11Substrate Recovery Pallet - Shawn Tabrizi
2020-02-11Substrate Off-chain Workers - Tomasz Drwięga
2020-02-06Sub0.1: Gavin Wood presents Polkadot's cross-chain messaging (XCMP) scheme
2020-02-06Sub0.1: SubSocial, a social network on Substrate - Alex Siman, Polkadot Ambassador
2020-02-06Sub0.1: Solang Solidity Compiler - Sean Young
2020-02-05Sub0.1: Radicle - Thomas Scholtes, software engineer at Monadic
2020-02-05Sub0.1: Substrate Builders Program - Fabian Gompf, VP of business development at Parity Technologies
2020-02-05Sub0.1: Web3 Foundation (W3F) Grants & Hackusama
2020-02-05Sub0.1: Laminar - Ruitao Su, co-founder & CEO of Laminar



Tags:
Substrate
Phragmen
NPoS
Proof of Stake
Governance
Blockchain