Editing
Block producer DAO
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Workflow === The first stage, given by the first sequence diagram and pseudocode illustrates basic [[DAO Governance Framework#DGF workflow|DGF flow]] applied to block production. This is PoR, i.e., Proof of REP. [[File:BPSeqDiag.png|center|thumb|890x890px]] <syntaxhighlight lang="text" style="font-size:100%" line="1"> Block Production Algorithm Pseudo-code Inputs: dynamic set of desired transactions from customers Output: a blockchain of settled transactions __________ Definitions REP := reputation token $ := currency token wallet := program for holding tokens for an individual participant Tx := transaction sending a currency token from one wallet to another customer := has * unique identifying address * wallet for holding $ and sending Txs block producer := has * unique identifying address * wallet for receiving $ and REP * ability to give inputs to ASC, WSC, & VPSC ASC := Availability Smart Contract WSC := Work Smart Contract VPSC := Validation Pool Smart Contract Forum := database holding history of blocks & Validation Pool results gossip network := set of all active Tx held by block producers Validation Pool := dynamically changing set of block producers who are currently policing a proposed block __________ Algorithm For i = 1 to infinity Produce block i := { WSC function:= { * listens to active ASCs * pseudorandomly selects 1 block producer based on weights of encumbered REP in ASCs * announces current block producer * takes current block producer's REP from ASC * waits for a set of Txs from current block producer * produces a block * publishes proposed block to Forum * sends 4 things to the VPSC: 1. $ from Txs 2. new $ minted in block 3. block producer's REP from ASC 4. address of proposed block } VPSC function: := { * mints REP tokens in proportion to $ tokens * announces new validation pool and proposed block address to block producers * collects votes from block producers * tallies votes to determine distribution of new REP tokens * distributes new REP * distributes REP salary * publishes vote results to Forum [Forum signals to Tx status to customer] * signals WSC to produce next block } } </syntaxhighlight>
Summary:
Please note that all contributions to DAO Governance Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
DAO Governance Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information