日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Proof-of-Stake (POS) outperforms Bitcoin’s Proof-of-Work (POW)

發布時間:2025/3/15 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Proof-of-Stake (POS) outperforms Bitcoin’s Proof-of-Work (POW) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Proof-of-Stake (POS) models are becoming highly desirable in Blockchain consensus designs, especially with the “Casper” upgrade underway for Ethereum, the second largest cryptocurrency by market cap. Yes, the immediate reason is that it is more energy efficient (reduces computational costs) as opposed to Proof-of-work (POW) which is highly resource intensive, but there’s more.

POS, in general, takes individual Digital Signature to prove ownership of the stake selected by the network, based on their proportional stake, in order to validate messages and transactions submitted to the database. If we look deeper, there are 2 main models that come under this category:

  • Chain based; which offers ‘availability’ as a validator is selected at random during a set time slot to create a block, which points to a previous block so that over time the blocks converge into one growing chain. This type is favoured for a more “permisionless” approach. Notable blockchain projects that implemented this model are Nxt, Peercoin, Ardor.
  • Consortium consensus- Byzantine Fault Tolerance (BFT) protocol: which offers ‘consistency’ as the validators randomly chosen for each round end up agreeing on whether or not the block becomes part of the chain. This type could be favoured for a more “permissioned” approach. Used by Neo, Tendermint, Polkadot, Hyperledge Fabric.
  • Last week, the BFT consensus algorithm was a heated topic in the industry as the NEO blockchain came to a halt in the face of a disconnected node in the network, leaving other nodes waiting for a reply. The issue was solved with a “forced changeview”, i.e restarting all the nodes, posing a question of centralisation, as power is still with NEO. This issue has subsequently caused increased block generation time in the network, where transactions are taking much longer, due to node synchronization issues. This problem has been interesting to watch, and a valuable learning curve for all other projects testing variations of this consensus model. The idea of the design is to have numerous nodes (lets say a hundred) in the network, so as to keep the “decentralised” notion and not have a single point of failure in order to ensure a problem like this does not occur. NEO, only having around 10 “bookkeeping nodes” have more of a “centralised” design. This fact is totally expected as NEO is a Chinese Blockchain economy, endorsed by the Chinese Govenrment itself, so it makes total sense. This is arguably the very most reason it is appealing to so many companies.

    So what is?BFT?

    BFT is a popular protocol in distributed computing and has been studied since 1978 (when it was first introduced by Leslie Lamport). It has got over 700 protocols to date, as well as open source implementations. This has been a very popular model used for consensus in big “centralised” companies like Google, yet it is now also a popular choice in Blockchain projects as it aims to solve the Scalability issue. Popular projects using BFT protocols include Hyperledger Fabric, Tendermint, Polkadot, NEO, amongst others.

    When it comes to consensus, the key is how to guarantee fault tolerance when it comes to non-honest and defective nodes on the network, as attacks and software error are common, causing nodes to display arbitrary behaviour (Byzantine Faults), best described as the analogy of “The General’s Problem”. The “Practical Byzantine Fault Tolerance” (PBFT) algorithm introduced by Miguel Castro and Barbra Liskov provides high-performance Byzantine state machine replication, processing thousands of requests per second with submillisecond increases in latency. This offers advantages like “consistency”, mentioned above, as the there should be agreement by the validator nodes before a block is generated. Another advantage is that it ensures settlement ‘finality’, speeds up settlement time to under 1 second from the current tens of seconds to tens of minutes, and at the same time reduces energy consumption dramatically. A BFT style consensus model is best suited for consortium blockchains that most financial institutions are favouring.

    With Decentralisation, comes a performance tradeoff as seen with Bitcoin. BFT offers a more efficient consensus protocol, achieving better latency and throughput with less computation, bandwidth, and storage. Specifically, using a standard BFT protocol with a small number of pre-designated trusted entities/ nodes. “Even with dozens of nodes, PBFT greatly outperforms Bitcoin in both transaction latency and throughput. For example, 64 nodes processing batches of 8192 transactions can achieve a throughput of 4.5K tx/sec., average transaction latency of 1.79 sec., and an estimated resource cost per transaction of just $3.95 × 10–7 ” (1). This model involves a designated set of homogenous validator nodes that tolerate f-out-of-n faulty nodes. In this model, transactions are sent to consensus nodes for validation. The nodes validate the transaction and decide, then spread the results. The Data is deleted from the nodes after each validation round, so as not to clog the system. This Protocol can be customised to have a “controlled membership” model, where there can often be a central entity controlling membership (beneficial in the case of Financial Institutions/ Governments and some Private companies). It can also have a more “dynamic membership” which varies in the protocol itself, where membership is decided.

    BFT & Blockchain

    BFT protocols generally assume a synchronous or weakly synchronous nature, i.e they rely on a-priori nodes and network timing assumptions and only ensure liveness when the network behaves as expected. Therefore, in the case of decentralised blockchain implementations, there is an argument that these protocols come with faults and rather should demonstrate more of an Asynchronous nature in order to guarantee liveness without relying on node and timing assumptions. This is argued to significantly increase transaction throughput for scalability. The image below shows how different types of BFT protocols were able to achieve scalability and to what extent, showing that Parallel BFT achieved a high performance, getting closer to 100,000 tx/s throughput.

    Scalability/ Performance Tradeoff (M. Vukolic: The Quest for Scalable Blockchain Fabric: Proof-of-Work vs. BFT Replication)

    Parallel Consensus

    Parellel BFT works through processing requests in parallel, through appointing multi-leaders, rather than a single leader in a basic BFT protocol. This allows for achieving high throughput and scalability. “Sarek” is a parallel ordering framework that partitions the service state to exploit parallelism during both agreement and execution. A Sarek implementation for Blockchain would be interesting. Instead of having one leader at a time for the entire system, it uses one leader per partition and only establishes an order on requests accessing the same partition. Sarek also supports operations that span multiple partitions and provides a deterministic mechanism to atomically process them. This ensures an increase in throughput performance by a factor of 2, at half the latency compared to a singleleader implementation, according to Sarek (2). Through Sarek, concurrent rounds of consensus can be run.

    Asynchronous BFT

    In an asynchronous setting, messages are delivered to different nodes under no timing assumptions. These settings are argued to be impractical as they limit throughput in a network. Attempts to solve this issue have been through attempting to solve redundant work through introducing ‘fairness’ (3) i.e. censorship resilience, which still allows for targeted censorship attacks. However new studies by A. Miller et al, (4) indicate that through the use of Threshold public-key encryption, these attack risks can be prevented.

    Asynchronous BFT is specifically suited for blockchain implementations as in this field, bandwidth is a scarce resource and computation is ample, meaning that cryptographic elements like Threshold public-key encryption can be used, which otherwise are expensive (in classical fault-tolerance database settings) and therefore attacks diminished. In this case, rather than aiming for minimizing response time, even under disagreement (in standard BFT settings), messages are eventually delivered, while no timing assumption is made. Regardless of how network conditions fluctuate, throughput always tracks the network’s available bandwidth. With experimentation, this setting has demonstrated better throughput than PBFT protocols and has proved security and liveness (4). The Solution involves the process of ‘batching’ i.e creating a multi-party pool of nodes, to provide better efficiency and reduce cost, whilst using threshold encryption to preserve censorship resilience.

    Conclusion

    When it comes to comparing POS models with the first blockchain consensus model, Bitcoin’s Proof-of-Work (POW), based on Adam Back’s Hashcah POW function (1997), it is worth firstly remembering that there are so many POS variations including those of a BFT style, so it won’t be a like for like comparison, and a general comparison won’t suffice.

    One of the most common arguments against POS is the issue of “stake grinding”, i.e turn manipulation (for creating the block and winning the reward). This can be solved through using a Threshold Signature Scheme that generates the key value for the next block creator. Also there is the “Nothing-at-Stake” problem that happens when dis-honest or arbitrary nodes create blocks on multiple chains?, which can be solved with penalty measures, like loosing deposits.

    Perhaps, the main question could be which model is best for future-proofing a chain, for scalability? In this case, a POS, BFT based model requires the least storage space, as less work, i.e (signatures) are needed, due to strong finality guarantees as the nodes involved in reaching consensus have to come to an agreement before actually generating the block. This means that transactions won’t put as much load on the blockchain. In addition, what was mentioned above about a basic BFT protocol outperforming Bitcoin in both transaction throughput and latency, not to mention resource costs. Let’s end with a comparison of resource costs of a transaction through a pBFT protocol ($39.4) and through POW Bitcoin mining (an average of $5,000 in the US, can reach up to $26,000 in South Korea).

    1. Croman, Kyle et al, “On Scaling Decentralized Blockchains?—?(A Position Paper)”, Financial Cryptography Workshops (2016). 2. Li, Bijun et al, “SAREK: Optimistic Parallel Ordering in Byzantine Fault Tolerance”, 2016 12th European Dependable Computing Conference (EDCC) (2016). 3. Koblitz, Neal et al, “The State of Elliptic Curve Cryptography”, Des. Codes Cryptography 19 (2000). 4. Miller, Andrew et al. “The Honey Badger of BFT Protocols.” IACR Cryptology ePrint Archive (2016).


    https://hackernoon.com/is-bft-consensus-effective-for-proof-of-stake-blockchain-implementations-dc01f429d225

    與50位技術專家面對面20年技術見證,附贈技術全景圖

    總結

    以上是生活随笔為你收集整理的Proof-of-Stake (POS) outperforms Bitcoin’s Proof-of-Work (POW)的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

    主站蜘蛛池模板: 国产精品久久网站 | 人妻巨大乳hd免费看 | 奇米精品一区二区三区在线观看一 | 精品自拍视频 | 成人动漫在线观看免费 | 人人草在线 | 69视频网站 | 国产精品一区在线免费观看 | 国产精品剧情 | 亚洲国产精彩中文乱码av | 国产午夜精品免费一区二区三区视频 | 日韩精品亚洲精品 | 91干干干 | 婷婷五月小说 | 午夜试看120秒 | 四虎影院在线免费播放 | av黄色网| 麻豆影视大全 | 91精品区 | 午夜成年人视频 | 天天干夜夜操视频 | 欧美激情在线免费观看 | 久久亚洲精精品中文字幕早川悠里 | 在线涩涩| 男人天堂av在线播放 | 亚洲欧美强伦一区二区 | 免费看aaaaa级少淫片 | 成人h动漫精品一区二区 | 污在线观看 | 日韩欧美高清视频 | 李宗瑞91在线正在播放 | 一级免费看| 91丨porny丨在线中文 | 欧美精品一区二区在线观看 | 一本一道精品欧美中文字幕 | 亚洲精品免费观看 | 亚洲高清久久久 | 久久精品h | 黑人黄色录像 | 亚洲精品999 | 久久色中文字幕 | 国产亚洲精品av | 成人免费毛片片v | 美女被男人桶出白浆喷水 | 国产人伦精品一区二区三区 | 亚洲第一色视频 | 国产视频www | 国产一区在线观看视频 | 91嫩草欧美久久久九九九 | 一级黄色片毛片 | 欧美久久久久久久久中文字幕 | www.brazzers.com| 96在线观看 | 国产男女猛烈无遮挡a片漫画 | 播放一级黄色片 | 香蕉福利视频 | 久久精品国产一区 | 免费无遮挡在线观看视频网站 | 丁香花高清在线 | 久久婷婷一区二区 | 老司机午夜精品视频 | 对白超刺激精彩粗话av | 国产亚洲精久久久久久无码77777 | 初尝情欲h名器av | 色片免费看 | 国产精品伦子伦免费视频 | 日韩久久一区二区三区 | 极品少妇一区二区 | 国产伦精品一区二区三区高清版 | 天海翼一区 | 搞黄网站在线观看 | 91日本视频| 亚洲视频在线观看免费 | 国产综合精品久久久久成人影 | 欧美激情一区二区在线 | 久久字幕| 黄页在线观看 | 美女光屁屁露胸胸 | 最新久久 | 大片av| 国产精品无码一区二区三区 | 国产精品大全 | 糖心视频在线 | www.天天操.com | 91一区二区三区在线 | 成人在线免费观看网站 | 久久在线免费视频 | 亚洲熟女乱色一区二区三区久久久 | 日韩精品一区二区在线 | 成人在线视频观看 | 无遮挡的裸体按摩的视频 | 激情久久免费视频 | 久久久久久91香蕉国产 | 日韩视频在线观看二区 | 第一次破处视频 | 91丨porny丨中文 | 日精品| 波多野结衣中文在线 | 亚洲精品粉嫩小泬 |