streamlet
play

Streamlet: A Textbook Blockchain Protocol Elaine Shi Joint work - PowerPoint PPT Presentation

Streamlet: A Textbook Blockchain Protocol Elaine Shi Joint work with Benjamin Chan Blockchain (a.k.a. state machine replication, consensus) Blockchain (a.k.a. state machine replication, consensus) Consistency: Honest nodes agree on log


  1. Streamlet: A Textbook Blockchain Protocol Elaine Shi Joint work with Benjamin Chan

  2. Blockchain (a.k.a. state machine replication, consensus)

  3. Blockchain (a.k.a. state machine replication, consensus) Consistency: Honest nodes agree on log Liveness: TXs are incorporated soon

  4. Blockchain: A 30-year-old Problem Apache Zookeeper

  5. Cryptocurrencies brought consensus to a large scale

  6. Proof of work

  7. Enabled permissionless consensus Proof of work

  8. Proof of work Proof of stake

  9. Rely on permissioned consensus Proof of work Proof of stake

  10. Consensus landscape 10 years ago “Paxos Made Moderately Complex” [ACM Computing Surveys’15] PBFT “Paxos Made Simple” Paxos “The ABCDs of Paxos” [PODC’01] and variants “RAFT: In search of an understandable Complex consensus algorithm” [Usenix ATC’14] Difficult to understand … … Error-prone to implement c.f. Theoretical approach: sequential/parallel composition of Byzantine Agreement

  11. Streamlet Simple Natural Unified, for pedagogy & implementation

  12. Block Format and Epoch ● Hash of parent ● epoch # ● TXs epoch epoch epoch epoch 7 8 10 12

  13. Streamlet Assume: all msgs signed ★ Notarized block : voted by 2/3 processes ★ Notarized chain : all blocks notarized ★ In every epoch e ● leader(e) : Proposes a new block b extending longest notarized chain seen so far ● everyone : Votes for the first proposal b from leader(e) iff b extends a longest notarized chain seen so far

  14. Streamlet Finalization Rule Notarized chain ending with 3 adjacent blocks with consecutive epochs : all but the last are final epoch epoch epoch epoch 2 8 9 10

  15. Streamlet achieves consensus for < ⅓ corruptions Propose-vote, propose-vote… Thank you! No recovery path Coming soon: new textbook “Foundations of Blockchains and Other related work: Distributed Consensus” Casper, Hotstuff, Pili,Pala, Dfinity...

Recommend


More recommend