若想搞懂區塊鏈就不能忽視的經典:PBFT

PBFT有什麼重要的特性?PBFT上能發行密碼貨幣嗎?

Juin Chiu
Juin Chiu
Jun 12, 2019 · 12 min read
Image for post
Image for post

前言

為什麼要發明PBFT?

什麼是狀態機?

為什麼需要共識?

為什麼共識這麼難?

正確的共識:安全性(Safety)與活躍性(Liveness)

共識一定可以達成嗎?

效能如何?

PBFT如何運作?

假設

第一階段:就位(Pre-prepare)

Image for post
Image for post
PBFT Pre-prepare Phase

第二階段:預備(Prepare)

Image for post
Image for post
PBFT Prepare Phase

第三階段:執行(Commit)

Image for post
Image for post
PBFT Commit Phase
Image for post
Image for post
PBFT Process

替換不適任的主導者:視域變換(View-change)

Image for post
Image for post
PBFT View-change
Image for post
Image for post
PBFT New-view

如何保證安全性與活躍性?

安全性

活躍性

PBFT的特性

PBFT上可以發行密碼貨幣嗎?

結語

Taipei Ethereum Meetup

台北以太坊社群專欄

Juin Chiu

Written by

Juin Chiu

Senior blockchain researcher at BSOS and co-organizer of Taipei Ethereum Meetup, focusing on consensus protocol, self-sovereign identity and anonymity network.

Taipei Ethereum Meetup

台北以太坊社群專欄

Juin Chiu

Written by

Juin Chiu

Senior blockchain researcher at BSOS and co-organizer of Taipei Ethereum Meetup, focusing on consensus protocol, self-sovereign identity and anonymity network.

Taipei Ethereum Meetup

台北以太坊社群專欄

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store