简体   繁体   English

探索和分析Hyperledger Fabric区块链

[英]Exploring and analyzing Hyperledger Fabric Blockchain

I am studying the Hyperledger Fabric Blockchain and I would like to understand if and how it is possible to explore and analyze the data inside a Hyperledger Fabric Blockchain network . 我正在研究Hyperledger Fabric区块链,我想了解是否以及如何探索分析 Hyperledger Fabric区块链网络中数据

Is there a non-interactive way to analyze all the transactions of the blockchain locally? 是否存在一种非交互方式来本地分析区块链的所有交易? or even demanding the analysis to someone else? 甚至要求别人分析? It would be great, as Ethereum allows us to do, to explore the ledger and its transactions to then focus on some specific of them. 正如以太坊(Ethereum)允许我们做的那样,探索分类账及其交易,然后专注于其中的一些特定交易,那将是很棒的。

Thanks in advance guys! 在此先感谢大家!

depends on your use case. 取决于您的用例。 In Hyperledger Composer, you have a Historian registry (all the transactions recorded for a business network). 在Hyperledger Composer中,您有一个Historian注册表(为业务网络记录的所有事务)。 You can have multiple business networks to query (each BN being a view into the ledger because you've modeled the business networks and smart contract logic between those parties etc). 您可以查询多个业务网络(每个BN都是分类帐视图,因为您已经建模了业务网络和这些参与方之间的智能合约逻辑等)。 You can use queries, REST APIs and filters to do your analysis. 您可以使用查询,REST API和过滤器进行分析。 You could also have a 'regulator' type participant, who sees 'everything' that went on in the business network on the ledger. 您也可以有一个“监管者”类型的参与者,他可以看到分类帐中业务网络中发生的“一切”。 In Hyperledger Fabric, you can inquire of the Fabric blockchain direct, using a combination of routes: you have the Node js REST APIs https://github.com/hyperledger/fabric-sdk-rest (these are a work in progress as it states) or you can use the Fabric SDK for example -> https://fabric-sdk-node.github.io/ 在Hyperledger Fabric中,您可以使用以下路线的组合直接查询Fabric区块链:您拥有Node js REST API https://github.com/hyperledger/fabric-sdk-rest (这些正在进行中状态),也可以使用Fabric SDK例如-> https://fabric-sdk-node.github.io/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM