blockchain - BigChainDB - 那到底是什么?

标签 blockchain hyperledger-fabric ethereum bigdata

据我了解,BigChainDB本质上是一个分布式数据库。 它声称这解决了区 block 链世界的可扩展性问题。我不明白的是它如何融入整个区 block 链架构。

  1. In the typical Block Chain world, each node has the full copy of the data and validates any new transactions? How does this work in the BigChain DB when the data is distributed? Each node validates only the blocks that it holds? Even if thats the case, it needs the entire chain? Not clear on the processing scalability here.

  2. Can i build a block chain network just with the BigChainDB or do i need something like Ethereum or Hyperledger to build the block chain network itself?

  3. If i can build the blockchain network with BigChainDB, then what is the equivalent of smart contract in BigChainDB?

最佳答案

我试图解释你的问题

1- BigChainDB是一个分布式数据库,旨在解决传统区 block 链技术的可扩展性问题。大家知道,在区 block 链网络中,每个节点都拥有整个区 block 链的副本。 然后,链通过引用链上之前的交易来验证新交易,但 bigChainDB 将数据的存储和处理分布在节点网络上,每个节点都包含一部分数据。当新交易提交到网络时,包含相关数据的节点会验证该交易。然后,节点子集将事务添加到共享数据库中。这是一个更具可扩展性和效率的网络,因为每个节点不必处理和验证每笔交易。

2- BigChainDB 可以用作区 block 链网络的中央数据库层,但它不是像以太坊或 Hyperledger 这样成熟的区 block 链平台。以太坊和 super 账本具有数据存储功能,例如智能合约功能、共识机制和用于构建去中心化应用程序的API。

3- BigChainDB 没有直接的智能合约,但它确实提供了 Ruffian 脚本语言。这样您就可以定义自定义交易类型并强制执行有关如何创建和处理这些交易的规则。您可以在 BigChainDB 数据库层上构建复杂的应用程序。

关于blockchain - BigChainDB - 那到底是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41096538/

相关文章:

ethereum - Web3.js API 调用有限制吗?

blockchain - 在 Hyperledger Fabric V1.0 中实现同一 channel 内节点之间的 channel 间安全

kotlin - 动态显示状态信息到参与者列表

hyperledger-fabric - 如何为 super 账本结构配置证书颁发机构?

ethereum - 跟踪 ERC721 智能合约上所有类型转换的代币

ethereum - enode地址中discport=0和[::]的作用是什么?

java - 如何在android中使用bitcoinj(walletappkit)从助记词创建比特币钱包

kubernetes - 错误解码 JSON : while decoding JSON: json: unknown field "hostAliases"

hyperledger-fabric - 无法运行对等点,因为无法初始化加密

Java SDK HyperLedger Fabric