为什么在Hyperledger Fabric中使用区块链结构?

米哈尔

我在理解为什么Hyperledger Fabric(HLF)使用区块链结构时遇到问题。

我知道在比特币中,由于PoW算法和最长的链规则,区块链结构可确保较高的安全性,但是在HLF中使用区块链结构的优势是什么?

在我看来,在Hyperledger Fabric中,可能不是一个区块链结构,而是一个交易历史日志,并且网络可以以相同的方式工作-我敢打赌,我错了,但是我还无法找到一种解释。 。

对此问题我将不胜感激。

Kartik Chauhan

我认为您想到的很多问题都来自DLT和区块链的重叠定义。

DLT

DLT只是由各个参与者管理的去中心化数据库。没有中央机构可以充当仲裁者或监督者。作为分布式的记录日志,透明度更高-使得欺诈和操纵更加困难-破解系统也更加复杂。

所有这些都可能很熟悉,因为它也是关于区块链的功能而写的。

Blockchain

区块链不过是具有一组特定功能的DLT。它也是一个共享数据库-记录日志-但在这种情况下,是通过块(如名称所示)形成链来共享的。这些块通过一种称为“哈希”的加密签名关闭;下一个块以相同的“哈希”(一种蜡封)开头。这样便可以验证加密信息尚未被操纵并且无法被操纵。

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] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Hyperledger Fabric和Sawtooth有什么区别?

在生产中使用Hyperledger Fabric

如何从Hyperledger Fabric区块链外部的api读取链码

什么是Hyperledger Fabric的configtx yaml文件中的“功能”

为什么Hyperledger作曲家仅支持Hyperledger Fabric?

为什么Hyperledger-fabric需要多个订购者?

Hyperledger-Composer:为什么使用Node.js而不是Angular?

Hyperledger Fabric中的锚点事务文件的目的是什么?

Hyperledger Fabric中共识与认可之间有什么区别?

Hyperledger Fabric区块链信息

从零开始的Hyperledger Fabric区块链网络

在Hyperledger Fabric中更新证书后会发生什么?

为什么Hyperledger Fabric中的连接配置文件具有gRPC URL?

查看Hyperledger Fabric中的区块链块

为什么对等方必须使用创世封锁才能加入Hyperledger架构中的渠道?

为什么Hyperledger Fabric中没有Merkle树来跟踪世界状态

为什么要在结构中使用malloc?

为什么 Hyperledger Fabric 不支持 Node 版本 7?

在 Hyperledger Fabric 中的多个组织中使用单个用户

在 Hyperledger Fabric 中,什么是组织和对等?

在 Hyperledger Fabric 中重放创世区块中的所有交易

如果我们在超级账本结构中使用 PKI,为什么需要 Fabric TLSCA?

为什么应该在 hyperledger-fabric 上共享私有数据的哈希?

为什么在文件或结构中使用多个互斥锁?

为什么 Hyperledger Fabric 首先使用 kafka

在 Hyperledger Fabric 中使用基于自定义关联的策略

为什么 Hyperledger Fabric 需要单独的数据库?

为什么我们不在公共区块链中使用伊斯坦布尔拜占庭容错(IBFT)?

Hyperledger Fabric 1.4 中不同节点的区块链之间的差异