Broadcast and Reliable Broadcast in Blockchains

blockchains n.w
1 / 24
Embed
Share

Explore the concepts of broadcast, best-effort broadcast, unreliable broadcast, and reliable broadcast in blockchains. Learn about guarantees, examples, and strengthening reliability in broadcasting messages across multiple nodes.

  • Blockchains
  • Broadcast
  • Reliable Broadcast
  • Guarantees
  • Examples

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Blockchains Lecture 7

  2. Broadcast Best-effort broadcast or simply broadcast (BEB) Unreliable Reliable broadcast (RB) Reliable We are interested

  3. Unreliable Broadcast broadcast(m) p1 deliver(p1,m) p2 p3 deliver(p1,m) p3 3

  4. Reliable Broadcast Abstractions Best-effort broadcast Guarantees reliability only if sender is correct Reliable broadcast Guarantees reliability independent of whether sender is correct

  5. BEB Example No Is this allowed? broadcast(m) p1 deliver(p1,m) p2 p3 deliver(p1,m) p3 4/4/2025 Ali Ghodsi, alig(at)cs.berkeley.edu 5

  6. BEB Example (2) Yes Is this allowed? broadcast(m) p1 deliver(p1,m) p2 p3 deliver(p1,m) p3 4/4/2025 Ali Ghodsi, alig(at)cs.berkeley.edu 6

  7. Reliable Broadcast BEB gives no guarantees if sender crashes Strengthen to give guarantees if sender crashes 4/4/2025 Ali Ghodsi, alig(at)cs.berkeley.edu 7

  8. Reliable Broadcast A designated replica (the broadcaster) broadcasts a message to all replicas, with the following guarantees: (Validity) If the broadcaster is correct, then every correct replica delivers the broadcaster s message. (Consistency) If two correct servers deliver two messages B and B then B = B . (Totality) If any correct replica delivers a broadcast message B, then all correct replicas deliver B.

  9. RB Example Yes Is this allowed? broadcast(m) p1 p2 p3 p3 4/4/2025 Ali Ghodsi, alig(at)cs.berkeley.edu 9

  10. RB Example Yes Is this allowed? broadcast(m) p1 p2 p3 deliver(p1,m) p3 4/4/2025 Ali Ghodsi, alig(at)cs.berkeley.edu 10

  11. RB Example No Is this allowed? broadcast(m) p1 p2 p3 deliver(p1,m) p3 4/4/2025 Ali Ghodsi, alig(at)cs.berkeley.edu 11

  12. RB Example No Is this allowed? broadcast(m) p1 deliver(p1,m) p2 p3 p3 4/4/2025 Ali Ghodsi, alig(at)cs.berkeley.edu 12

  13. How to achieve Byzantine Reliable Broadcast

  14. Reliable Broadcast [Bracha, Information and Computation 2018] Bracha s protocol tolerates f faulty replicas out of n = 3f+1.

  15. Brachas Reliable Broadcast [Bracha, Information and Computation 2018] B p0 p1 p2 p3 Initiate

  16. Brachas Reliable Broadcast [Bracha, Information and Computation 2018] B p0 p1 p2 p3 Initiate Echo

  17. Brachas Reliable Broadcast [Bracha, Information and Computation 2018] B p0 p1 p2 p3 Initiate Echo

  18. Brachas Reliable Broadcast [Bracha, Information and Computation 2018] Communication complexity is O(n2|B|) B p0 p1 p2 p3 Initiate Ready Echo

  19. Brachas Reliable Broadcast [Bracha, Information and Computation 2018] The algorithm implements Byzantine reliable broadcast if n > 3t.

  20. Brachas Reliable Broadcast [Bracha, Information and Computation 2018] The algorithm implements Byzantine reliable broadcast if n > 3t.

  21. Proof? (Discussion Time!) B p0 p1 p2 p3 Initiate Ready Echo (Validity) If the broadcaster is correct, then every correct replica delivers the broadcaster s message. (Easy!) (Consistency) If two correct servers deliver two messages B and B then B = B . (Note that n > 3t) (Totality) If any correct replica delivers a broadcast message B, then all correct replicas deliver B. (Hint: Use Amplification!)

  22. Applications?

  23. Reliable Broadcast One building primitive for one particular BFT (aka atomic broadcast, permissioned blockchain) Weaker than BFT BFT implies reliable broadcast

  24. Acknowledgement Some slides from Dr. Ali Ghodsi with some adaptations.

Related


More Related Content