正在加载图片...
Consensus with crash failures ·A set of n nodes each holding an input value vi∈{0,l, all correct nodes need to output an identical out value that is some vi. Does the algorithm still work if there is one crash failure? Execute at each node i: 0ut←i. Send out to all nodes. Wait until receive all messages sent in this round. 0 out -min of received values,and current out. Output out as final decision. This algorithm is NOT crash tolerant!Consensus with crash failures • A set of 𝑛 nodes each holding an input value 𝑣𝑖 ∈ 0,1 , all correct nodes need to output an identical 𝑜𝑢𝑡 value that is some 𝑣𝑖 . • Does the algorithm still work if there is one crash failure? 0 1 1 Execute at each node 𝒊: 𝑜𝑢𝑡 ← 𝑣𝑖 . Send 𝑜𝑢𝑡 to all nodes. Wait until receive all messages sent in this round. 𝑜𝑢𝑡 ← min of received values, and current 𝑜𝑢𝑡. Output 𝑜𝑢𝑡 as final decision. 0 1 1 This algorithm is NOT crash tolerant!
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有