Почему в Hyperledger Fabri c используется структура блокчейна? - PullRequest
1 голос
/ 04 августа 2020

Мне сложно понять, почему Hyperledger Fabri c (HLF) использует структуру блокчейна.

Я знаю, что структура блокчейна Bitcoin обеспечивает большую безопасность благодаря алгоритму PoW и правилу самой длинной цепочки, но Каковы преимущества использования структуры блокчейна в HLF?

Мне кажется, что в Hyperledger Fabri c вместо структуры блокчейна может быть один журнал истории транзакций, и сеть может работать таким же образом - Готов поспорить, что ошибаюсь, но пока не смог найти объяснения.

Буду признателен за разъяснение этого вопроса.

Ответы [ 2 ]

1 голос
/ 05 августа 2020

Я думаю, что многие вопросы, которые у вас возникают, возникают из-за частично совпадающих определений DLT и блокчейна.

DLT :

DLT - это просто децентрализованная база данных, которой управляют различные участники. Нет никакого центрального органа, который действовал бы как арбитр или наблюдатель. Распределенный журнал записей обеспечивает большую прозрачность, что затрудняет мошенничество и манипуляции, и сложнее взломать систему.

Все это может быть вам знакомо, потому что написано об особенностях цепочки блоков. также.

Блокчейн :

Блокчейн - это не что иное, как DLT с определенным набором c функций. Это также общая база данных - журнал записей, но в данном случае совместно используемый посредством блоков, которые, как видно из названия, образуют цепочку. Блоки закрываются с помощью криптографической c подписи, называемой «хешем»; следующий блок начинается с того же «хеша», своего рода сургучной печати. Таким образом проверяется, что зашифрованная информация не подвергалась манипуляциям и не может быть изменена.

difference between DLT and blockchain

DLT platforms that are not blockchain provide immutability too, but it's just the way Hyperledger Fabric provides this characteristic which makes it a blockchain framework.

Every blockchain framework, be it the Ethereum, Bitcoin, etc all store the transaction information in blocks, where each block is linked to its predecessor by a hash and provides immutability.

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:

0 голосов
/ 05 августа 2020

Чтобы запись оставалась неизменной, Hyperledger Fabri c использует структуру блокчейна. Таким образом, используя Hyperledger Fabri c, вы можете получить неизменяемую запись всех транзакций, которую сложно сдержать мошенническими действиями.

Предположим, вы покупаете ценный актив и являетесь текущим владельцем этого актива. Теперь другим очень сложно изменить эту запись или изменить вашу собственность без вашего разрешения, поскольку Hyperledger Fabri c использует структуру блокчейна для сохранения неизменности записи.

...