我在理解为什么Hyperledger Fabric(HLF)使用区块链结构时遇到问题。
我知道在比特币中,由于PoW算法和最长的链规则,区块链结构可确保较高的安全性,但是在HLF中使用区块链结构的优势是什么?
在我看来,在Hyperledger Fabric中,可能不是一个区块链结构,而是一个交易历史日志,并且网络可以以相同的方式工作-我敢打赌,我错了,但是我还无法找到一种解释。 。
对此问题我将不胜感激。
我认为您想到的很多问题都来自DLT和区块链的重叠定义。
DLT:
DLT只是由各个参与者管理的去中心化数据库。没有中央机构可以充当仲裁者或监督者。作为分布式的记录日志,透明度更高-使得欺诈和操纵更加困难-破解系统也更加复杂。
所有这些都可能很熟悉,因为它也是关于区块链的功能而写的。
Blockchain:
区块链不过是具有一组特定功能的DLT。它也是一个共享数据库-记录日志-但在这种情况下,是通过块(如名称所示)形成链来共享的。这些块通过一种称为“哈希”的加密签名关闭;下一个块以相同的“哈希”(一种蜡封)开头。这样便可以验证加密信息尚未被操纵并且无法被操纵。
并非区块链的DLT平台也提供不变性,但这正是Hyperledger Fabric提供此特性的方式,从而使其成为了区块链框架。
每个以太坊,比特币等区块链框架都将交易信息存储在区块中,其中每个区块通过哈希值链接到其前身并提供不变性。
Corda is very much similar to Hyperledger Fabric, but it is said to be both a blockchain and not a blockchain. Architecturally, it's very much similar to Hyperleder Fabric, but with only a key difference which makes Hyperledger Fabric a blockchain framework, and Corda a DLT.
I'll try to answer your question by emphasizing on the point that why Corda is not a blockchain.
Why is Corda a blockchain, and not a blockchain?
A Transaction in Corda is cryptographically linked (chained) to the transactions it depends on. Just like Bitcoin, but the range of concepts that can be expressed is far wider.
Transactions in Corda are processed by having each participant in the transaction execute the same code deterministically to verify the proposed updates to the ledger. Just like Ethereum, but the languages you can use are high-level and productive, like Java, rather than obscure ones like Solidity.
Transactions in Corda are shared only with those who have a need to know. Just like channels in Fabric but designed in from day one and fully integrated into the programming model.
Transactions in Corda are confirmed through a process of consensus forming using one of a range of algorithms, including Byzantine Fault Tolerant algorithms. Just like any other blockchain, but with the unique features that a Corda network can support multiple different consensus pools using different algorithms.
So, for all intents and purposes, Corda is a blockchain. And yet… there’s also an utterly critical difference.
Unlike the platforms mentioned above, Corda does not periodically batch up transactions needing confirmation — into a block — and confirm them in one go. Instead, Corda confirms each transaction in real-time. No need to wait for a bunch of other transactions to come along. No need to wait for a “block interval”. Each transaction is confirmed as we go.
Now coming onto your question why Hyperledger Fabric (HLF) uses blockchain structure? The answer is simply because they chose to.
References:
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句