instant confirmation
play

Instant Confirmation Rafael Pass and Elaine Shi Cornell Tech & - PowerPoint PPT Presentation

Thunderella: Blockchains with Optimistic Instant Confirmation Rafael Pass and Elaine Shi Cornell Tech & Cornell University State-machine replication ( a.k.a. linearly ordered log, consensus, blockchain) State-machine replication ( a.k.a.


  1. Thunderella: Blockchains with Optimistic Instant Confirmation Rafael Pass and Elaine Shi Cornell Tech & Cornell University

  2. State-machine replication ( a.k.a. linearly ordered log, consensus, blockchain)

  3. State-machine replication ( a.k.a. linearly ordered log, consensus, blockchain ) Consistency: honest nodes agree on log Liveness: TXs are incorporated soon

  4. Classical (e.g. PBFT, Paxos) Blockchains

  5. Classical (e.g. PBFT, Paxos) Fast (most of the time) Complex Asynch Blockchains

  6. Classical (e.g. PBFT, Paxos) Fast (most of the time) Complex Simple Asynch Robust Slow Sync Blockchains (PoW and non-PoW)

  7. Thunderella As simple and robust as a blockchain Confirm in 2 actual network rounds in the “ optimistic case ” Fall back to blockchain when things “go bad”

  8. Classical (e.g. PBFT, Paxos) Let’s start with this Roadmap Blockchains (PoW and non-PoW)

  9. Classical (e.g. PBFT, Paxos) Roadmap Blockchains (PoW and non-PoW)

  10. Leader proposes transaction (Seq, )

  11. Everyone “ack’s”

  12. Confirm on upon “ enough ” acks

  13. Ex: Assume ⅔ n+1 honest; wait for ⅔ n+1 acks

  14. Must intersect at an honest node ⅔ n+1 ⅔ n+1 “Y” Assume ⅔ n+1 honest

  15. Must intersect at an honest node ⅔ n+1 ⅔ n+1 “Y” Assume 1/3n malicious

  16. Must intersect at an honest node ⅔ n+1 ⅔ n+1 “Y” Thus X = Y

  17. Assume ⅔ honest and online

  18. Assume ⅔ honest and online Consistency Liveness

  19. Assume ⅔ honest and online Consistency Consistency Liveness No liveness

  20. How do we achieve liveness?

  21. How do we achieve liveness? You don’t want to know … [PBFT, Paxos...]

  22. Anatomy of classical consensus Simple normal path Complicated recovery path

  23. Classical Roadmap (e.g. PBFT, Paxos) Blockchains (PoW and non-PoW)

  24. Thunderella blockchain

  25. Thunderella Thunderella for for permissionless permissioned

  26. For concreteness, Thunderella we’ ll focus on this for permissionless

  27. Leader/ ”accelerator” Committee (recent miners/ blockchain miners stakeholders)

  28. “ Optimistic ” mode: Instant confirmation honest and online 3/4 fraction honest and online majority honest

  29. But, still SECURE as long as: Arbitrary deviation! majority majority honest (but need not be online) majority honest

  30. Must intersect at an honest node ¾n+1 ¾n+1 “X” “Y” Assume ½n+1 honest

  31. Propose (seq, ) Ack

  32. Propose (seq, ) Ack ¾ acks: notarized

  33. ¾ voted: notarized Confirm maximal “ lucky ” sequence

  34. No liveness when ¾ voted: notarized Confirm maximal “ lucky ” sequence

  35. blockchain collects evidence of

  36. blockchain collects evidence of Now enter slow mode

  37. What evidence do we collect? Need: faulty nodes cannot implicate honest leader

  38. Miners “ tell blockchain ” everything they know

  39. What evidence do we collect? k blocks

  40. What evidence do we collect? has not appeared in a lucky sequence k blocks

  41. blockchain collects evidence of Now enter slow mode

  42. Nodes have different logs when entering slow mode Now enter slow mode

  43. Need: agree on log before entering slow mode Now enter slow mode

  44. ● Stop optimistic output Stop “ acking ” new transactions ● Share knowledge Tell others what you know ● All knowledge → blockchain Miners tell blockchain what they know Grace period: k blocks

  45. Summary has not appeared in a lucky sequence k blocks Grace Slow period mode

  46. “ Optimistic ” mode: Instant confirmation honest and online 3/4 fraction honest and online majority honest

  47. But, still SECURE as long as: Arbitrary deviation! majority majority honest (but need not be online) majority honest

  48. Thank you.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend