日韩性视频-久久久蜜桃-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)的全部內容,希望文章能夠幫你解決所遇到的問題。

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

    主站蜘蛛池模板: 日韩成人精品在线 | 欧美日韩精品区别 | 理论片亚洲 | 激情文学8888 | 波多野结衣三区 | 日本不卡一区二区三区 | 91看片在线观看 | 色老板最新地址 | 日韩精选在线观看 | 四虎影院黄色 | 亚洲奶水xxxx哺乳期 | 先锋资源av在线 | 精品国产乱码久久久久 | 超碰人人国产 | 欧美成网 | 美女又黄又免费 | 91tv国产成人福利 | 免费麻豆| 波多野结衣免费看 | 99在线精品视频免费观看软件 | 午夜污 | 欧美成人毛片 | 疯狂撞击丝袜人妻 | 亚洲啊啊 | 丁香色欲久久久久久综合网 | 国产精品av一区 | 欧美a视频 | 日中文字幕 | 成人资源站 | 炕上如狼似虎的呻吟声 | 国产成人精品亚洲日本在线观看 | 日韩一区不卡视频 | 国产又粗又猛又爽又 | 日本中文在线观看 | 人妻久久一区二区 | 国产18禁黄网站免费观看 | 清纯唯美亚洲综合 | 亚洲成人av电影在线 | 超碰在线最新 | 久操视频免费 | 少妇乱淫36部 | 国产裸体舞一区二区三区 | 欧美大尺度做爰啪啪床戏明星 | 日本三级午夜理伦三级三 | 国产中文字字幕乱码无限 | 欧美色图激情小说 | 久久久亚洲一区二区三区 | 午夜香蕉网 | 九九热在线精品视频 | 色婷婷小说 | 亚洲午夜视频在线观看 | 午夜精品久久久久久久久 | 骚鸭av | 亚洲第一页中文字幕 | 亚洲视频手机在线观看 | 精品人妻少妇嫩草av无码专区 | 亚洲精品日韩欧美 | 九九av在线 | 毛片基地在线观看 | 成人aaaaa| 黄色片xxx| 国产人人草 | 拔擦8x成人一区二区三区 | 大片视频免费观看视频 | 国产精品一区不卡 | 4438亚洲最大| 成人av在线影院 | 丝袜诱惑一区二区 | 久久婷婷五月国产色综合激情 | 久久网中文字幕 | 巨乳免费观看 | 黄色一级黄色片 | 久久精品国产亚洲av嫖农村妇女 | 美日韩一区 | 国产日本在线播放 | 亚洲一区二区三区久久久成人动漫 | 老色批影院| 99er在线| 天天插天天干天天操 | 国产精品免费入口 | se日韩| 一级片美女| 一级黄色片在线 | 污网站在线免费看 | 国产精品无码网站 | 色欲亚洲Av无码精品天堂 | 中文字幕免费观看 | 久久精品一区二区在线观看 | 欧美操女人 | 四虎新网站 | 波多野结衣丝袜 | 爱情岛亚洲品质自拍极速福利网站 | 亚洲精品尤物 | 给我看高清的视频在线观看 | 黄色片网站国产 | 久久久久久久久精 | 国产一区二区视频在线观看 | 小泽玛利亚一区二区三区视频 | 亚洲图片在线观看 |